README.md

netmathtools2

Build Status

Installation:

Windows 7/8/10 only.

devtools::install_github("McClellandLegge/netmathtools2")

Additionally:

Example Workflow:

Must log into Nexus with Chrome! The package automatically uses these cookies.

library("data.table")

my_netid     <- "mkemp6"

# retrieve cookies from Chrome, decrpyt and compose a `curl` handle
handle       <- netmathtools2::composeNexusHandle(my_netid)

# retrieve my student list and any static information about the students
students     <- netmathtools2::getStudents(handle, my_netid)

# retrieve grade and schedule information, calculate the progress in the course
# NOTE: handle may have timed out at this point, so just compose a new one if so:
#   handle <- netmathtools2::composeNexusHandle(my_netid)
student_prog <- netmathtools2::getStudentsProgress(handle, students)

# customize the columns I'd like to see
customized_student_prog <- student_prog[, .(
  full
  , end_days
  , orientation_date
  , timeline
  , has_proctor
  , days_last_mentor_email
  , days_last_student_email
  , days_behind
  , tryits_behind
  , lessons_behind
  , current_pace_interp
  , needed_pace_interp
  , completed_assignments
  , exams
  )]

# run a shiny app displaying an interactive DataTableJS
netmathtools2::chartProgress(customized_student_prog)

example view of student progress table



McClellandLegge/netmathtools2 documentation built on May 21, 2019, 2:31 a.m.