parse_names: Retieve additional name data from the character vector...

View source: R/name_parse.R

parse_namesR Documentation

Retieve additional name data from the character vector containing the full name

Description

Retieve additional name data from the character vector containing the full name

Usage

parse_names(names, hyphen = F)

Arguments

hyphen

- logical: if TRUE, substitute hyphens for spaces in last name. Some applications prefer no spaces in last names.

name

- character: the full name of the person in Meditech name format (LASTNAME [SUFFIX],FIRSTNAME MIDDLENAME [SUFFIX])

Value

list : elements are: name, last_name, first_name, middle_name, Suffix

Examples

parse_names("JOHNSON SR, JAMES R.")


JahNorr/orrr documentation built on Jan. 29, 2025, 5:11 p.m.