README.md

You need to login into Slate via the browser and get the cookie. I store it in the file named slate.cookie and the code will look for it there. However, you can specify the cookie directly. You can also get it with the RBrowserCookies package.

con = getConnection()
z  = statMSApps(con = con)
z  = byProgramDegree("Statistics", "M.S.")

We'll focus on the fully submitted applications, ignoring "Admit" and Awaiting Materials":

submitted = z[z$"Current Workflow Bin" == "Faculty Members",]
dim(submitted)

Download Student Packets

We'll store them in a directory named PDFs

if(!file.exists("PDFs"))
    dir.create("PDFs")

We can do this directly with

files = mapply(function(u, out) try(getPDF(u, con, out)),  submitted$data.id, file.path("PDFs", paste0(trimws(submitted$Name), ".pdf")), SIMPLIFY = FALSE)

Get All Applicants

allApplicants() queries all applicants

Applicants by Program and Degree

byProgramDegree() allows us to query one or more programs and one or more degree objectives

tmp = byProgramDegree(c("Avian Sciences", "Statistics"), c("M.S.", "Ph.D."))

The names of the programs and degree objectives are available via

names(programIds)
names(degreeObjectives)


duncantl/RSlate documentation built on June 15, 2025, 7:35 a.m.