orcid_bio function

Get biography data for a person

Get biography data for a person

orcid_bio(orcid, format = "application/json", ...)

Arguments

  • orcid: (character) Orcid identifier(s), of the form XXXX-XXXX-XXXX-XXXX. required.
  • format: (character) Name of the content-type format. One of "application/vnd.orcid+xml; qs=5", "application/orcid+xml; qs=3", "application/xml", "application/vnd.orcid+json; qs=4", "application/orcid+json; qs=2", "application/json" "application/vnd.citationstyles.csl+json". optional
  • ...: Curl options passed on to crul::HttpClient()

Returns

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

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.

Examples

## Not run: res <- orcid_bio(orcid = "0000-0002-1642-628X") res$`0000-0002-1642-628X` res$`0000-0002-1642-628X`$`created-date` res$`0000-0002-1642-628X`$`last-modified-date` res$`0000-0002-1642-628X`$`content` res$`0000-0002-1642-628X`$`visibility` res$`0000-0002-1642-628X`$path ## End(Not run)
  • Maintainer: Scott Chamberlain
  • License: MIT + file LICENSE
  • Last published: 2021-01-20