Returns a reference to the (cached) grades table, with the most relevant columns selected.

mdl_grades(con = mdl_get_connection())

Arguments

con

a database connection object

Value

A dbplyr reference object

Examples

if (FALSE) { # Get the course grades for courseid 52 course_grades <- mdl_grades() %>% filter(courseid == 52, item_type == "course") %>% collect() # Get the other grades items: grades_items_grades <- mdl_grades() %>% filter(courseid == 52, item_type != "course") %>% collect() }