get_student_progress: Get the grades your students progress summary

Description Usage Arguments Value Examples

Description

Get the grades your students progress summary

Usage

1
2
get_student_progress(h = NULL, user = NULL, passwd = NULL, student_list,
  all_students = TRUE, active = FALSE, outfile = NULL, ...)

Arguments

h

A valid handle to a Mathable session (logged in and cookies in jar)

user

Your username, e.g. <netid>@netmath.illinois.edu

passwd

Your password Mathable password

student_list

A data.table (data.frame) of students with the structure LastName, FirstName, EndDate (in header) with the EndDate in the mm/dd/yyyy format

all_students

Boolean, should all of the grades be pulled, or just the logged in Mentor's?

active

Boolean, should only the active students be pulled?

outfile

A filename to write results to.

...

Arguments to 'merge' when combining the student list and the progress results

Value

A data frame with columns:

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## Not run: 
# Read in a student list from a google sheet
netmath_students_rss <- googlesheets::gs_url("https://docs.google.com/spreadsheets/...")

# Format to data.table from data.frame and format the student's end date to
# the R datatype \code{Date}
netmath_students <- as.data.table(gs_read(netmath_students_rss))
netmath_students$EndDate <- as.Date(netmath_students$EndDate, format = "%m/%d/%Y")

# Get a progress update on the students in the student list.
# The 'all.y = TRUE' is telling the function to keep all students in the
# student list -- helps detect any possible mis-spellings of names
prog <- get_student_progress(user = "mkemp6@netmath.illinois.edu",
                            passwd = "<passwd>",
                            student_list = netmath_students[, .(LastName, FirstName, EndDate)],
                            all.y = TRUE,
                            active = TRUE)

## End(Not run)

McClellandLegge/netmathtools documentation built on May 7, 2019, 4:55 p.m.