get_grades_csv: Get the grades your students for the courses you mentor

Description Usage Arguments Value Examples

Description

Get the grades your students for the courses you mentor

Usage

1
2
get_grades_csv(course_id, name, h = NULL, user = NULL, passwd = NULL,
  all_students = FALSE, active = FALSE)

Arguments

course_id

The fully qualified id for the course you'd like to pull grades for

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

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?

Value

A data frame with columns:

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
### login on the fly (does not preserve session for subsequent calls)
get_grades_csv(course_id = "deployedcourses/uiuc_netmath_math461_r2012_mm",
               name = "Mcclelland Kemp",
               user = "mkemp6@netmath.illinois.edu",
               passwd = "<passwd>")

### Use an existing session
session <- login("mkemp6@netmath.illinois.edu", "<passwd>")
get_grades_csv(course_id = "deployedcourses/uiuc_netmath_math461_r2012_mm",
               name = "Mcclelland Kemp",
               h = session$handle)

## End(Not run)

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