Citation counts

counts.citation_count(doi, url='http://www.crossref.org/openurl/', key='cboettig@ropensci.org', **kwargs)

Get a citation count with a DOI

Parameters:
  • doi – [String] DOI, digital object identifier
  • url – [String] the API url for the function (should be left to default)
  • keyc – [String] your API key

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

Usage:

from habanero import counts
counts.citation_count(doi = "10.1371/journal.pone.0042793")
counts.citation_count(doi = "10.1016/j.fbr.2012.01.001")
# DOI not found
## FIXME
counts.citation_count(doi = "10.1016/j.fbr.2012")