RSlate-package: Query Slate for Admissions Data

RSlate-packageR Documentation

Query Slate for Admissions Data

Description

Get the table of applicants and the PDF packet for a given applicant.

Details

I use this package in 2 ways

  1. To get the students applying to a degree for which I am on the admission's committee and to download their PDF packet so I can review it locally.

  2. To query applicants as part of my Grad Studies roles, specifically when I need to look at more than one student at a time.

As with most other interfaces to Web systems, I need a cookie to make HTTP requests. I manually login into the Slate instance using my Web browser and then use the Developer Tools to extract the cookie. I then store this in ~/slate.cookie or in the current directory and the functions will read it, as needed. The cookie, however, will expire and I will repeat this.

I typically create a connection to the Slate instance using getConnection and then pass this in all calls to functions that will make an HTTP request. This avoids having to reestablish the connection each time. This is not a big issue as Slate is quite quick.

getConnection - make a reusable connection with the Slate HTTP server.

statMSApps - the applicants to the Stat MS getQueue - a data.frame of the applications in my queue getPDF - download the application PDF for a given id.

allApplicants - a data.frame of "all" the applicants, i.e., that I can see.

degreeObjectives byProgramDegree - this looks like it doesn't work !!

lookup - given a search query, e.g., the name of an applicant, get all the matches.

matchName - after we use lookup to match a name, we might get multiple answers. This helps to filter them by matching the initial of the first name.

slate - given an id, show in the user's Web browser

getTabs - get a data.frame describing each tab on the applicant's landing page.

submittedApplications - filter the tabs to only the submitted applications rows.

getDecisions - using the result of getTabs and submittedApplications, one can get the decisions on the submitted applications.

getPriorEd - given an id, get the prior institutions or all available elements including institution, major, GPA, location and the year(s)

programApplications - for a data.frame of application tasks and specifically its title column, get the program and degree.

pickByEnvision - very specific to the Envision program, determining whether the student's tabs include Envision. This does not check they attended Envision. See the timeline for that. (Not implemented yet.)

Low-level functions for building others

getPageById - get the HTML landing page for a given applicant's id

getProfile - given an id, get the profile HTML page, needed for getPriorEd

getField - get a specific field from all of the results returned by lookup for a given query.

programIds - a character vector of ids for each program. This may be old. Each is of the form id|program name.

Author(s)

Duncan Temple Lang

Maintainer: Duncan Temple Lang <dtemplelang@ucdavis.edu>


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