orcid_person: Get personal data for a person

View source: R/orcid_person.R

orcid_personR Documentation

Get personal data for a person

Description

Get personal data for a person

Usage

orcid_person(orcid, details = FALSE, ...)

Arguments

orcid

(character) Orcid identifier(s), of the form XXXX-XXXX-XXXX-XXXX. required.

details

(logical). also get details. Default: FALSE

...

Curl options passed on to crul::HttpClient()

Details

This function is vectorized, so you can pass in many ORCID's, and there's an element returned for each ORCID you put in.

Value

A list of results for each Orcid ID passed in, with each element named by the Orcid ID

Examples

## Not run: 
res <- orcid_person(orcid = "0000-0002-9341-7985")
res$`0000-0002-9341-7985`
names(res$`0000-0002-9341-7985`)
res$`0000-0002-9341-7985`$`last-modified`
res$`0000-0002-9341-7985`$`keywords`
res$`0000-0002-9341-7985`$`biography`

## End(Not run)

ropensci/rorcid documentation built on Sept. 12, 2022, 2:09 p.m.