pick_firstname: Pick First Name

pick_firstnameR Documentation

Pick First Name

Description

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

Usage

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 leo.lahti@iki.fi

References

See citation("bibliographica")

Examples

pick_firstname("Hobbes, Thomas")

rOpenGov/bibliographica documentation built on April 10, 2022, 8:51 p.m.