Function that Downloads Grad Cafe Results Data
getGradCafeData retrieves data from the Grad Cafe Results Search pages. This is
an internal helper function, so end-users should not need to interact with it
term indicates which term an applicant would begin graduate study. There
are only two acceptable values for this parameter: 'F' and 'S'. 'F' narrows the
search to fall matriculations only. 'S' narrows the search to include only the
spring term. Users may choose only one value. The default is 'F'.
years specifies which years of data to include in the dataset. The year
specifies the time at which an applicant would start school not when he or she
applied. So, if someone applied for fall 2014 and was accepted in December 2013
and that person was also thoughtful enough to post his or her metrics on the
Grad Cafe's Results Search page, then that record would appear if 2014 is
part of the years searched. The two digit year (e.g. "10", "12", "06", etc.)
is the only acceptable date format. Inputs may be a single value or a list such
degree determines whether results should be for masters or phd programs.
Users must specify exactly one and enclose the value in quotes. 'masters' or
'phd' are the only acceptable values for this field. The default is 'phd'.
focus specifies the program. Any term that returns results on the
Grad Cafe is acceptable, but brewdata was tuned using 'statistics' or
'biostatistics'. University name mappings could be quite poor for any value
other than these two. The default value is 'statistics'.
getGradCafeData returns a data frame of loosely parsed results that satisfy the
GRE Score Guide: https://www.ets.org/s/gre/pdf/gre_guide.pdf
#getGradCafeData( years=15, term="F", degree="phd", focus="Statistics" )