add_graduate_names: Add Graduate Names

Description Usage Arguments Format Value

View source: R/add_graduate_names.R

Description

This function takes as input a data frame which includes the raw text associated with each graduate. It returns that data frame along with four new columns: first.name, middle.name, last.name and full.name. We assume that the first/middle/last names consist of a single string. That is, even if someone's true last name is Gonz<c3><a1>lez del Riego, we record the last name as Riego.

Usage

1

Arguments

x

data frame with raw.text column

Format

first.name

Graduate's first name.

middle.name

Graduate's middle name. Defined as the second separate string in full.name, if there are more than two names total.

last.name

Graduate's last name.

full.name

Graduate's entire name.

Value

the input data frame along with three new columns.


karantibrewal/williams documentation built on May 3, 2019, 9:40 p.m.