Get data from exercises or projects for one student
get_data(
collection,
query,
fields = "{}",
url = getOption("learnitr.lrs_url"),
count = FALSE
)
get_profile(email, login = NULL)
get_all_data(email, icourse, module = NULL)
get_github_data(email)
get_grid_data(email, icourse, module = NULL)
get_grade_data(email, icourse)
get_grade_dir(root_dir = "/data1/grades", acad_year = NULL)
The collection in the MongoDB database
The JSON query on the MongoDB database
The fields to return
The url to access the MongoDB database
Do we count items instead of getting them?
The email of the student
The GitHub login of the student as alternate way to get its
profile (when it is not NULL
)
The course identifier
The module, or NULL
for exercises in all modules
The root directory where the grades are stored.
The academic year to use, or NULL
to use the latest one.
A data frame or a list with the data