author_name: Pull first name(s) and last name for a given list of orcid

View source: R/author_name.R

author_nameR Documentation

Pull first name(s) and last name for a given list of orcid

Description

Pull and format first name(s) and last name for a given list of orcid

Usage

author_name(
  data,
  first_name = "first_name",
  last_name = "last_name",
  initial = T,
  position = "right",
  initial_max = 3
)

Arguments

data

datafame containing a vectors of the author name (split into first_name and last_name)

first_name

Column name of vector containing the first and middle name(s) (default = "first_name")

last_name

Column name of vector containing the last or family name (default = "last_name")

initial

Should the first / middle name(s) be converted to initial (default = TRUE)

position

initial to "left" or "right" of last name (default = "right")

initial_max

Maximum number of digits (default = 3)

Value

Vector of the combined name composing the full author name in the requested format.


kamclean/collaborator documentation built on Nov. 17, 2023, 3:52 a.m.