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

View source: R/name_parse.R

parse_nameR 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_name(name, hyphen = F)

Arguments

name

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

hyphen

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

Value

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

Examples

parse_name("JOHNSON SR, JAMES R.")


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