Pulling Rubric Data from the Moodle Database

Pulling Rubric Data from the Moodle Database

Kenny Custer發表於
Number of replies: 2

Hello!

I've been tasked with pulling submitted rubric data from the Moodle Database, but I'm struggling to find all of the information that I need. I need to pull a table with...

  • the student's name
  • the rubric/assignment name
  • the course name
  • criteria description
  • remarks (found in mdl_gradingform_rubric_fillings)
  • timestamp of submission or modification

For testing purposes, I have a submitted rubric that I'm viewing through the UI so I know exactly what the output should look like for a working query. That rubric has a unique string that I was able to identify in the mdl_gradingform_rubric_fillings table, so I know the data is there. However, I haven't been able to comprehend the linkage necessary to pull in the rest of the required data.

Is it possible to tie in mdl_gradingform_rubric_fillings with the mdl_assign* tables? Or is there another method to querying student name, etc. alongside the remarks?

Any help/advice is greatly appreciated. Thank you.

評比平均分數: -
In reply to Kenny Custer

Re: Pulling Rubric Data from the Moodle Database

Karen Holland發表於
Core developers的相片 Plugin developers的相片 Testers的相片

Hi Kenny, I'd suggest that you can look at the SQL queries within some of the community plugins which report on advanced grading.

We at Brickfield have a rubric report here, and also Marcus Green has one here also.

Hope these are of help to you!

評比平均分數:Useful (3)