Create personnel element according to EML standards

create_person(role, first_name, last_name, email, organization, orcid = NULL)

Arguments

role

Use "creator" if you are one of the primary originators of the data. Other possible roles "Data Manager", "Field Technician", or "Assistant Researcher". There can be multiple personnel on a project with the same role.

first_name

Person's given name

last_name

Person's surname

email

Person's email address

organization

Person's employer or the entity they are associated with for this dataset or project

orcid

(Optional) ORCID iD is a persistent digital identifier for researchers, register at http://orcid.org/

Value

A person element that can be appended to a dataset or project list.

Examples

create_person(first_name = 'Katherine', 
              last_name = "Johnson", 
              email = 'kjohnson@nasa.gov', 
              role = 'creator', 
              organization = 'NASA',
              orcid = '12345')
#> $individualName
#> $individualName$givenName
#> [1] "Katherine"
#> 
#> $individualName$surName
#> [1] "Johnson"
#> 
#> 
#> $electronicMailAddress
#> [1] "kjohnson@nasa.gov"
#> 
#> $organizationName
#> [1] "NASA"
#> 
#> $`@id`
#> [1] "12345"
#> 

create_person(first_name = "Edith", 
              last_name = "Windsor", 
              email = 'ewindsor@ibm.com', 
              role = 'Data Manager', 
              organization = 'IBM')
#> $individualName
#> $individualName$givenName
#> [1] "Edith"
#> 
#> $individualName$surName
#> [1] "Windsor"
#> 
#> 
#> $electronicMailAddress
#> [1] "ewindsor@ibm.com"
#> 
#> $organizationName
#> [1] "IBM"
#> 
#> $role
#> [1] "Data Manager"
#>