powered by
Fetches address/country information associated with an ORCID record.
orcid_address(orcid_id, token = NULL)
A data.table with the following columns:
ORCID identifier
Unique identifier for this address
Country code
Returns an empty data.table with the same structure if no address information is found.
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.
Character string or NULL. Optional API token for authenticated requests. If NULL (default), checks the ORCID_TOKEN environment variable.
This function queries the ORCID public API endpoint: https://pub.orcid.org/v3.0/{orcid-id}/address
https://pub.orcid.org/v3.0/{orcid-id}/address
ORCID API Documentation: https://info.orcid.org/documentation/api-tutorials/
orcid_person
if (FALSE) { # Fetch address information address <- orcid_address("0000-0002-1825-0097") print(address) }
Run the code above in your browser using DataLab