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.