Learn R Programming

rcrossref (version 0.5.2)

cr_search_free: Search the CrossRef Metatdata for DOIs using free form references.

Description

Search the CrossRef Metatdata for DOIs using free form references.

Usage

cr_search_free(query, url = "http://search.crossref.org/links")

Arguments

query
Reference query; a character vector of length 1 or greater, comma-separated of course.
url
Base url for the Crossref metadata API.

Details

Have to have at least three terms in each search query.

See Also

cr_search, cr_r, cr_citation

Examples

Run this code
## Not run: 
# # search with title, author, year, and journal
# cr_search_free(query = "Piwowar Sharing Detailed Research Data Is Associated with
# Increased Citation Rate PLOS one 2007")
# 
# cr_search_free(query="Renear 2012") # too few words, need at least 3
# 
# cr_search_free(query=c("Renear 2012","Piwowar sharing data PLOS one")) # multiple queries
# 
# # Get a DOI and get the citation using cr_search
# doi <- cr_search_free(query="Piwowar sharing data PLOS one")$doi
# cr_search(doi = doi)
# 
# # Queries can be quite complex too
# cr_search_free("M. Henrion, D. J. Mortlock, D. J. Hand, and A. Gandy, \"A Bayesian
# approach to star-galaxy classification,\" Monthly Notices of the Royal Astronomical Society,
# vol. 412, no. 4, pp. 2286-2302, Apr. 2011.")
# 
# # Lots of queries
# queries <- c("Piwowar sharing data PLOS one", "Priem Scientometrics 2.0 social web",
# "William Gunn A Crosstalk Between Myeloma Cells",
#  "karthik ram Metapopulation dynamics override local limits")
# cr_search_free(queries)
# ## End(Not run)

Run the code above in your browser using DataLab