Description Usage Arguments Value Note Examples
extract_data
extracts the data that contains academic background of faculty
members from (1) a catalog chosen as the data source and (2) Williams' web directory.
1 | extract_data(names, data_source, useInternet = FALSE)
|
names |
character vector that contains the names of faculty members whose academic information is desired. |
data_source |
a plain text file that contains the desired information. |
useInternet |
logical. If TRUE missing data is extracted from Williams' website, otherwise it is left blank. |
The output is a named vector that contains the graduation year and the degree of faculty members.
Assigning the TRUE value to useInternet
may result in a code execution that takes a
while to finish.
1 2 3 4 5 | #academic_year <- "2015-16"
#flat_file <- parse_catalog(academic_year)
#names <- collect_names(flat_file, reformat = TRUE)
#data_source <- parse_catalog("2013-14")
#academic_data <- extract_data(names, data_source, useInternet = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.