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)
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)
allApplicants()
queries all applicants
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.