if (FALSE) {
# Fetch complete record for a public ORCID
record <- orcid_fetch_record("0000-0002-1825-0097")
names(record)
record$works
record$employments
# Fetch only works and funding
record <- orcid_fetch_record(
"0000-0002-1825-0097",
sections = c("works", "funding")
)
# With authentication
Sys.setenv(ORCID_TOKEN = "your-token-here")
record <- orcid_fetch_record("0000-0002-1825-0097")
}
Run the code above in your browser using DataLab