author_unique: Create unique author ID

author_uniqueR Documentation

Create unique author ID

Description

Form unique author identifiers by combining name and life years

Usage

author_unique(df, format = "last, first", initialize.first = FALSE)

Arguments

df

data.frame with fields "author_name", "author_birth", "author_death"

format

name format ("last, first" or "first last")

initialize.first

Convert first names into initials. Useful for removing duplicates when the name list contains different versions with both full name and the initials. Use of the life year fields helps to avoid mixing identical abbreviated names.

Value

Character vector of unique author IDs

Author(s)

Leo Lahti leo.lahti@iki.fi

References

See citation("bibliographica")

Examples

## Not run: a <- author_unique(df)

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