Learn R Programming

orcidtr (version 0.1.0)

orcid_research_resources: Retrieve research resources from ORCID

Description

Fetches research resource records for an ORCID identifier, such as facilities, equipment, databases, collections, etc.

Usage

orcid_research_resources(orcid_id, token = NULL)

Value

A data.table with the following columns:

orcid

ORCID identifier

put_code

Unique identifier for this resource record

title

Resource title/name

hosts

Hosting organizations (comma-separated)

start_date

Resource start date (ISO format)

end_date

Resource end date (ISO format)

Returns an empty data.table with the same structure if no research resource records are found.

Arguments

orcid_id

Character string. A valid ORCID identifier in the format XXXX-XXXX-XXXX-XXXX. Can also handle URLs like https://orcid.org/XXXX-XXXX-XXXX-XXXX.

token

Character string or NULL. Optional API token for authenticated requests. If NULL (default), checks the ORCID_TOKEN environment variable.

Details

This function queries the ORCID public API endpoint: https://pub.orcid.org/v3.0/{orcid-id}/research-resources

Note: Research resources have a different structure than other affiliations, with a focus on the resource itself rather than organizational affiliations.

References

ORCID API Documentation: https://info.orcid.org/documentation/api-tutorials/

See Also

orcid_works, orcid_activities

Examples

Run this code
if (FALSE) {
# Fetch research resources
resources <- orcid_research_resources("0000-0002-1825-0097")
print(resources)
}

Run the code above in your browser using DataLab