rcrossref-package: R Client for Various CrossRef APIs.
Description
R Client for Various CrossRef APIs.
Text mining
We provide the ability to do text mining in this package. See functions
cr_ft_links
and cr_ft_text
. However, another
package fulltext is designed solely for text mining, so try it for
serious text mining.High and Low Level APIs
For the Crossref search API (the functions cr_funders
,
cr_journals
, cr_licenses
,
cr_members
, cr_prefixes
, cr_types
,
cr_works
), there is a high level API and a low level. The
high level is accessible through those functions just listed (e.g.,
cr_works
), whereas the low level is accessible via the same
fxn name with an underscore (e.g., cr_works_
). The high level
API does data requests, and parses to data.frame's. Since the high level
API functions have been around a while, we didn't want to break their
behavior, so the low level API functions are separate, and only do the data
request, giving back json or a list, with no attempt to parse any further. The
low level API functions will be faster because there's much less parsing, and
therefore less prone to potential errors due to changes in the Crossref API
that could cause parsing errors. Note that cursor feature works with both
high and low level.RStudio Addin
On installation of rcrossref you get an RStudio Addin. To use the addin,
go to the top toolbar > Tools > Addins > Add Crossref Citations. You'll get a
window pop up that you can put in DOIs for. If the DOI is found, the bibtex
citations will be added to a file called crossref.bib
. New citations
will be appended to that file. Addin authored by Hao Zhu
https://github.com/haozhu233