solriumfor under the hood Solr interaction instead of
verbose, and gain parameters
proxyfor changing how verbose error reporting is, and for setting proxy details, respectively.
httrfor HTTP requests (#110)
citationsfunction for PLOS rich citations is defunct as the service is gone (#113)
tmdropped from Enhances (#111)
plos_fulltext()function. XML can be either
citations()function as it’s no longer available in the API (#103)
full_text_urls()now gives back
NAwhen DOIs for annotations are given, which can be easily removed.
full_text_urls()function to create full text URLs for PLOS Clinical Trials correctly (#104)
ggplot2from Depends to Imports, and using
ggplot2functions, now all imports are using
httr::content()to parse manually, and use explicit encoding of
solrdependency to require version
v0.1.6or less (#94)
plos_fulltext()to avoid unicode problems (#93)
rploswhen length 0 list passed to
citations()for querying the PLOS Rich Citations API (http://api.richcitations.org/) (#88)
.Rbuildignoreas requested by CRAN admin (#87)
searchplos()now returns a list of length two,
metais a data.frame of metadata for the search.
stringr(#79) (#82) (#84)
jsonlitefrom Suggests to Imports. Replaces use of
crossref()now defunct. See package
solr::solr_highlight()to do highlight searches.
plosabstract(), and other functions that wrap
...to pass in curl options to
httr::GET(). You’ll now get an error on using
plot_throughtime()to have far less code, uses
httrnow instead of
RCurl, but to the user, everything should be the same.
rplosbehavior, and how to make them match, or match more closely (#76)
?rplosto go to help page.
searchplos()that are now not working for some unknown reason. (#81)
limit=0, we still gave back data, this is fixed, and now the
metaslot given back, and the
dataslot gives an
descincorrectly with the
sortparameter. See the
check_response()function https://github.com/ropensci/rplos/blob/master/tests/testthat/test-check_response.R for examples.
solrR wrapper to the Solr indexing engine. The PLOS API just exposes the Solr endpoints, so we can use the general Solr wrapper package
solrto allow more flexible Solr searching.
highbrow()to visualize highlighting results in a browser.
plos_fulltext()to get full text xml of PLOS articles. Helper function
full_text_urls()constructs the URL’s for full text xml.
check_response()to check responses from the PLOS API, deals with capturing server error messages, and checking for correct content type, etc.
crossref_r()as we are working on a package for the CrossRef API.
plostitle()were changed to match closer the Solr parameter names.
returndfparameter is gone from
plostitle(). You can easily get raw JSON, etc. data using the
plostitle, that search specifically within those sections of papers now wrap
searchplos, so they should behave the same way.
almdateupdated function has been deprecated - use
articlelength function has been deprecated - didn’t see the usefulness any longer.
In general simplified and prettified code.
Changed from using RCurl to httr in many functions, but not all.
Added more examples for many functions.
Added three internal functions:
Added Karthik Ram as a package author.
url arguments in functions put inside functions as they are not likely to change that often.
crossref function, and added more examples.
alm function (previously
almplosallviews) gains many ### new features: now allows up to 50 DOIs per call; you can specify the source you want to get alm data from as an argument; you can specify the year you want to get alm data from as an argument.
Added the plosfields data file to get all the possible fields to use in function calls.
almplosallviews changed to
almplotallviews changed to
almevents added to specifically search and get detailed events data for a specific source or N sources.
crossref_r gets 20 random DOIs from Crossref.org.
Added package startup message.
journalnamekey function to get the short name keys for each PLoS Journal.
ALM functions (any functions starting with alm) received updated arguments/parameters according to the ALM API version 3.0 changes.
almplosallviews now outputs different output - two data.frames, one total metrics (summed across time), and history (for metrics for each time period specified in the search)
crossref function returns R’s native bibtype format. See examples in
crossref function documentation
almpub changed to
changed help file
help - use help(‘rplos’) in R
changed URL from http://ropensci.org/ to https://github.com/ropensci/rplos
added sleep argument to
plosallviews function to allow pauses between API calls when running
plosallviews in a loop - this is an attempt to limit hitting the PLoS API too hard
various other fixed to functions
more examples added to some functions
journalnamekeyto get short keys for journals to use in searching for specific journals