Learn R Programming

rorcid (version 0.3.0)

works: Get works data

Description

Get works data

Usage

works(x)

Arguments

x
Input from a call to orcid_id or as.orcid
...
Ignored.

Value

An S3 object of class works

Details

The goal of this function is to get a pretty printed quick sense of the works for 1 or more ORCID's. You can also access the complete data.frame of results. If an ORCID has works, this function prints the titles of the first 10.

Examples

Run this code
## Not run: 
# out <- works(orcid_id("0000-0002-9341-7985"))
# out
# out$data
# 
# #works( orcid_id("0000-0003-1620-1408") )
# works( orcid_id("0000-0002-1642-628X") )
# works( orcid_id("0000-0003-1444-9135") )
# works( orcid_id("0000-0003-1419-2405") )
# 
# out <- orcid(query="keyword:ecology")
# works(orcid_id(out$`orcid-identifier.path`[7]))
# works(orcid_id(out$`orcid-identifier.path`[8]))
# works(orcid_id(out$`orcid-identifier.path`[9]))
# works(orcid_id(out$`orcid-identifier.path`[10]))
# 
# works(as.orcid("0000-0002-1642-628X"))
# ## End(Not run)

Run the code above in your browser using DataLab