Learn R Programming

rcrossref (version 0.5.2)

cr_citation_count: Lookup article info via CrossRef with DOI and get a citation count.

Description

Lookup article info via CrossRef with DOI and get a citation count.

Usage

cr_citation_count(doi, url = "http://www.crossref.org/openurl/", key = "cboettig@ropensci.org", ...)

Arguments

doi
digital object identifier for an article in PLoS Journals
url
the PLoS API url for the function (should be left to default)
key
your PLoS API key, either enter, or loads from .Rprofile
...
Named parameters passed on to GET

Value

citation count

Details

See http://labs.crossref.org/openurl/ for more info on this Crossref API service.

See Also

cr_search, cr_r, cr_search_free

Examples

Run this code
## Not run: 
# cr_citation_count(doi="10.1371/journal.pone.0042793")
# cr_citation_count(doi="10.1016/j.fbr.2012.01.001")
# # DOI not found
# cr_citation_count(doi="10.1016/j.fbr.2012")
# ## End(Not run)

Run the code above in your browser using DataLab