extract_data: Extract academic data

Description Usage Arguments Value Note Examples

Description

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.

Usage

1
extract_data(names, data_source, useInternet = FALSE)

Arguments

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.

Value

The output is a named vector that contains the graduation year and the degree of faculty members.

Note

Assigning the TRUE value to useInternet may result in a code execution that takes a while to finish.

Examples

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)

zcesur/williams-faculty-age documentation built on May 4, 2019, 9:13 p.m.