collect_names: Collect names

Description Usage Arguments Value Examples

Description

collect_names identifies names of faculty members from a selected document and collects them

Usage

1
collect_names(flat_file, reformat = FALSE)

Arguments

flat_file

a plain text file that contains one record (i.e., faculty member) per line.

reformat

logical. If FALSE (the default) names are collected exactly they appear on the document, otherwise the first and last names are reordered.

Value

The output is a character vector that contains the names of faculty members without any special characters indicating whether the faculty member is visiting or on leave.

Examples

1
2
#names <- parse_catalog("2013-14") %>% collect_names(reformat = FALSE)
#names <- parse_catalog("2015-16") %>% collect_names(reformat = TRUE)

zcesur/ager documentation built on May 4, 2019, 9:12 p.m.