pick_firstname: Pick First Name

Description Usage Arguments Value Author(s) References Examples

View source: R/pick_firstname.R

Description

Pick first name from full name, assuming the format is known

Usage

1
pick_firstname(x, format = "last, first", keep.single = FALSE)

Arguments

x

a vector of full names

format

name format

keep.single

If the name is without comma ('Shakespeare, William' versus 'William'), interpret the name as first name. Note that in this case also 'Shakespeare' will be interpreted as first name.

Value

a vector of first names

Author(s)

Leo Lahti [email protected]

References

See citation("bibliographica")

Examples

1
pick_firstname("Hobbes, Thomas")

rOpenGov/bibliographica documentation built on Nov. 13, 2018, 5:59 a.m.