Display Moodle quiz report metadata to R console.
Value
Information printed to R console, and a list that has elements corresponding to each information (invisibly).
Details
This function displays
Moodle Quiz Setting: a quiz setting in Moodle such as maximum grades possible of the quiz and maximum score possible of each question (if it is a Moodle Grades Report).
Data Frame Filtering: If Moodle Quiz was passed to
prep_
function family, this will show what filters have been applied to the data frame.
Examples
# Quiz Settings
quiz_meta(grades_df)
#>
#> ── Moodle Quiz Setting ──
#>
#> • Maximum grades of quiz: 9
#> • Maximum score of questions:
#>
#> Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9
#> 1 1 1 1 1 1 1 1 1
# Quiz Settings with Filtering
grades_df_preped <- prep_grades_report(grades_df)
quiz_meta(grades_df_preped)
#>
#> ── Moodle Quiz Setting ──
#>
#> • Maximum grades of quiz: 9
#> • Maximum score of questions:
#>
#> Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9
#> 1 1 1 1 1 1 1 1 1
#>
#> ── Data Frame Filtering ──
#>
#> Data frame was filtered by the following orders:
#> 1. Choose "Finished" responses by 'State' column.
#> 2. Choose max grades of each students.
#> 3. Choose first attempt(s) of each student by 'Started on' column.