split_full_name: Split name

Description Usage Arguments

View source: R/parse_names.R

Description

Split name into first and last name

Usage

1
split_full_name(x, reversed = TRUE, tolerance = 0.1)

Arguments

x

String containing full name

reversed

Logical indicating whether the full name is in reversed order (first name at the end)

tolerance

The first and last name are assigned by the probability counted as probability of a name being a first name = how many times is this name used as first name / (how many times is this name used as first name + how many times is this name used as last name) based on data from the Ministry of Interior. If tolerance is 0, only names that are used only as first names will be labeled as first names etc.


skvrnami/listr documentation built on June 21, 2020, 4:13 a.m.