pick_lastname: Pick Last Name

pick_lastnameR Documentation

Pick Last Name

Description

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

Usage

pick_lastname(x, format = "last, first", keep.single = TRUE)

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. In the current implementation keep.single is always TRUE.

Value

a vector of last names

Author(s)

Leo Lahti leo.lahti@iki.fi

References

See citation("bibliographica")

Examples

pick_lastname("Hobbes, Thomas")

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