getStudentResults: Returns student results

View source: R/getStudentResults.R

getStudentResultsR Documentation

Returns student results

Description

Returns student results

Usage

getStudentResults(
  daacs_conn,
  student_id,
  assessments = c("COLLEGE_SKILLS", "MATHEMATICS", "WRITING", "READING"),
  calc_overall = TRUE,
  domains = FALSE,
  ...
)

Arguments

daacs_conn

a connection to the mongolite database.

student_id

(optional) can be a character vector to limit the students data to return. Of omitted, return all student data.

assessments

list of assessments to include results from.

calc_overall

returns the overall numeric score which is the average of item responses.

domains

whether to include all of the domain scores within each assessment in the returned data.frame.

...

other parameters passed to mongolite.

Value

a data.frame with student results.

username username from DAACS \itemfirstName student's first name \itemlastName student's last name \itemassessmentCategory the domain (i.e. COLLEGE_SKILLS, MATHEMATICS, etc.) \itemassessmentLabel \itemtakenDate \itemstatus \itemtakenDate \itemoverallScore \itemSUBDOMAIN SCORES

Examples

## Not run: 
getStudentResults() # Returns all students
getStudentResults(c('jbryer@excelsior.edu', 'angela.lui@cuny.edu'))

## End(Not run)

DAACS/daacsR documentation built on Feb. 10, 2023, 9:49 p.m.