Releases: ropensci-archive/fulltext
fulltext v2.0
fulltext v1.7.0
NEW FEATURES
- The Cross Text and Data Mining program has ended. It ended officially at the end of 2020, but it took Wiley until early February to implement a TDM service. This impacts
ft_get
only, and impacts retrieval of only Wiley and Elsevier works (which is a lot since they're very large publishers). You now have to get a TDM key from both Wiley and Elsevier. See the "Authentication" section in?fulltext
for details. See also?"ft_get-warnings"
: there's a new warning if we detect that you have aCROSSREF_TDM
env var (#224) - Added new
ft_get
plugin for Trans Tech Publications (#232) - Import dependency
crminer
dropped. A fewcrminer
functions brought over into this package and renamed. This is due to Crossref TDM program ending (#233)
MINOR IMPROVEMENTS
- new
ft_search()
docs section "Pagination" describing what parameter names to use for each data source to do pagination
BUG FIXES
ft_search()
fix: some data source specific options (e.g.,plosopts
) were being overridden by the global equivalent options (e.g., inft_search(limit = 5, from = c("plos", "entrez"), plosopts = list(limit=10))
the limit sent to PLOS was 5 instead of 10). Fixed now so that data source specfiic options override the matching global option (#229)- Internal API Fatcat changed its parameter name to limit what fields are returned. Fixed now (#231)
fulltext v1.6.0
NEW FEATURES
- HTTP requests previously made to the ftdoi.org API are now done locally with data/files cached locally; speeds up
ft_get
usage, especially if you're on a slow internet connection (#225) (#226)
MINOR IMPROVEMENTS
- all vignettes only available on docs site now: https://docs.ropensci.org/fulltext/ (#227)
BUG FIXES
ft_links()
opts parameters dropped (e.g.,plosopts
); no options can be passed down to each data source (#223)
fulltext v1.5.0
NEW FEATURES
ft_abstract()
gains new data source option: Semantic Scholar. Uses async http requests. Beware of rate limits. See 'Rate limits' in?fulltext-package
(#218)
MINOR IMPROVEMENTS
- using vcr for some tests (#212)
- improved documentation on proxy settings for Scopus data source added to the 'Authentication' section of the package level manual file, see
?fulltext-package
(#220) thanks @behrica - for
ft_get()
added new plugin helper for publisher Company of Biologists; and a fix in the Company of Biologists metadata returned from the ftdoi.org API (#216) - cleaned out old code for brief data.frame printing, use tibble instead
BUG FIXES
from
parameter inft_get()
for specifying what data source to use should have been accepting more than 1 value, but was only accepting 1 value. Nowfrom
accepts 1 or more values (#222)
fulltext v1.4.0
NEW FEATURES
ft_get()
gains a new publisher plugin: Cambridge. its not available in thefrom
parameter, but if you pass in a Cambridge DOI, a plugin now exists to attempt to get the pdf (xml not provided) (#195)
MINOR IMPROVEMENTS
- Wiley now provides xml (in addition to pdf) for at least some articles. So
ft_get()
for Wiley now supportstype="xml"
in addition totype="pdf"
(#209) - reduce duplicated code in
ft_get
plugins for checkingtype
parameter (#210) - changed Wiley plugin for
ft_get()
: using different URLs for attempting to fetch articles, those with base urlapi.wiley.com
instead ofonlinelibrary.wiley.com
(#191)
BUG FIXES
ft_get()
wasn't allowingtype="pdf"
for PLOS data source; now allowed in addition to xml; also plos requests for articles now using http instead of http (#205) thanks @clbti for the report- fix to internal fxn
fat_cat_search_one()
used inside offt_get()
: fixed data.frame subsetting error due to sometimes missing columns (#206) - fix to
ft_links()
: was erroring when publisher not supported yet; now gives back no data (#207) ft_browse()
was failing whenwhat="macrodocs"
selected; macrodocs.org is now dead;what
parameter now defunct (#208)- fix
ft_table()
- was failing on reading malformed files (e.g., an xml file with pdf content inside) (#211)
fulltext v1.3.0
NEW FEATURES
ft_get()
gains new data source: ScienceDirect (#196) thanks @knh11545- performance improvement to
ft_get()
: when using internal fxnget_unknown
(when publisher is not initially knowsn) we run another internal fxnget_publisher
which is slow cause can only throw one DOI per request to Crossref API; We now use the FatCat (https://fatcat.wiki/) API (https://guide.fatcat.wiki/http_api.html) to do more efficient publisher lookup (#192) (#201)
MINOR IMPROVEMENTS
- curl options can be passed into most functions now (#199)
- change to
ft_get()
when using Elsevier: we now by default detect if the downloaded file is abstact only and treat that as you dont have access - you can toggle this withinelsevieropts
- see?ft_get
for help (#200) - fix link for fulltext manual, ropensci->ropenscilabs (#204)
BUG FIXES
fulltext v1.2.0
NEW FEATURES
ft_get()
gains aprogress
parameter,TRUE
printing a progress bar andFALSE
not. By default we do not print a progress bar to be consistent with the behavior of previous versions (#140) (#190)cache_options_set()
gains new parameterfull_path
to set the entire path to the cache, use likecache_options_set(full_path = yourpath)
(#185) thanks @bomeara for the feature request
DEFUNCT
ft_chunks()
andft_tabularize()
were deprecated in the previous version, and are now defunct. See the new package https://github.com/ropensci/pubchunks for the same (and improved) functionality (#146) (#181)ft_get_si()
is defunct. It's been pulled out into a new package https://github.com/ropensci/suppdata (#186) (#188)
BUG FIXES
- Fix to
eupmc_search()
internal function. At some piont Europe PMC changed the way they do paging, what parameters are used, etc. Fixed now. See examples for how to do paging; uses a cursor model instead of a rows/offset model (#184) thanks @jshleap for the report - two hopefully fixes for Wiley URLs: a) try a 2nd url pattern if the first fails in general for Wiley links; and b) if highwire links found, replace with a url pattern that should work (#189) thanks @bomeara for the report
NEW IMPROVEMENTS
fulltext v1.1.0
NEW FEATURES
- gains new function
cache_file_info()
to get information on possibly bad files in your cache - which you can use to remove files as you see fit (#142) (#174) thx @lucymerobinson for the push - gains new function
as.ft_data()
to create the same output asft_get()
returns, but instead pulls all files from your cache (#142) (#172) thanks @lucymerobinson ft_get()
gains new attribute of a data.frame in theerrors
slot with information on each article and what error we collected orNA_character_
if none; should help with sorting out problems across all requests (#176)- scopus option in
ft_search()
gains support for facets; see?scopus_search
(#170) thanks @lucymerobinson
BUG FIXES
- fixed bug in
ft_search()
for microsoft academic plugin (#154) - fixed bug in
ft_search()
for scopus plugin - we weren't looping over requests correctly (#161) - fix bug in
ft_links()
- when result offt_search()
passed toft_links
with bad urls or with more than 1 thenft_links
was failing; fix by filtering onintended-application
field from Crossref via fix in dependency packagecrminer
(#173) - additional check added in
ft_get()
to check for an invalid file that gave a 200 status code (so passes the status code check) (#175) - bring back support for
start
parameter inft_search()
for Scopus to offset what record a query starts at (#180) - fix to
ft_get()
for entrez data source to loop internally when more than 50 ids requested to avoid 414 http error (URI too long) (#167) thanks @t088
MINOR IMPROVEMENTS
- change base url for EuropePMC to
https
- use
https
for alldoi.org
requests (#155) thanks @katrinleinweber - better explanation of the may
opts
parameters inft_search()
(#161) - after many attempts, finally (I think) sorted out Microbiology Society for the
ft_get()
function (#163) thanks to @low-decarie - mention
suppdata
package in the README (#164) - clarify language in
ft_collect()
that we are saving files to disk locally only (#165) - fix typos (#166) (#168) thanks @maelle @AugustT
- removed
whisker
package dependency (#156) - scopus gains support for more parameters; see
?scopus_search
(#152) - updated docs with information on using NCBI Entrez API keys (#159)
- plugin for publisher Instituto de Investigaciones Filologicas to
ft_get()
added (#117) thanks @andreifoldes - clarified in
ft_search()
docs that for some sources we loop internally to get whatever number of records the user wants, while others we can not (#162)
DEPRECATED
Continuing to focus the scope of this package the functions ft_chunks()
and ft_tabularize()
are now deprecated, and will be removed (defunct) in a future version of this package. See the new package https://github.com/ropensci/pubchunks for the same and better functionality. (#181)
fulltext v1.0.1
fulltext v1.0.0
Check out the fulltext manual for detailed documentation.
fulltext
has undergone a re-organization, which includes a bump in the major version to v1
to reinforce the large changes the package has undergone. Changes include:
- Function name standardization with the
ft_
prefix. e,g,chunks
is nowft_chunks
ft_get
has undergone major re-organization - biggest of which may be that all full text XML/plain text/PDF goes to disk to simplify the user interface.storr
is now imported to manage mapping between real DOIs and file paths that include normalized DOIs - and aids in the functionft_table()
for creating a data.frame of text results- Note that with the
ft_get()
overhaul, the only option is to write to disk. Before we attempted to provide many different options for saving XML and PDF data, but it was too complicated. This has implications for using the output offt_get()
- the output is only the paths to the files - useft_collect()
to collect the text if you want to useft_chunks()
or otherfulltext
functions downstream.
NEW FEATURES
chunks
changed toft_chunks
(#139)collect
changed toft_collect
(#139)tabularize
changed toft_tabularize
(#139)get_text
changed toft_text
(#139)ft_get()
gains new parametertry_unknown
that attempts to try to find full text for a given DOI/ID even if we don't have code plugins specifically for that publisher. This includes trying to get a full text link from Crossref and the https://ftdoi.org API (#137)- Gains function
ft_table
that outputs a data.frame of all downloaded articles with DOIs, filenames, and the text of each article, similar to thereadtext
package (#134) - Gains function
ft_abstract
for fetching abstracts, including support for getting abstracts from Scopus, Microsoft Academic, Crossref, and PLOS (#98) (#115) - Microsoft Academic added as another data source both in
ft_abstract
and inft_search
via themicrodemic
package (#99) (#115) ft_get()
gains an S3 method forft_links
- that is, you can pass the output offt_links()
toft_get()
(#103)ft_get()
gains many new plugins, including for: Informa, Scientific Societies, Europe PMC, Elsevier, Wiley, xxx (#121) (#112) (#52) (#96) (#120) (#xxx)- Gains new functions to list available plugins for each of
ft_get()
/ft_links()
/ft_search()
:ft_get_ls()
/ft_links_ls()
/ft_search_ls()
(#122) ft_chunks()
gains support for Elsevier XML (#116) (#118)- Scopus added as a new datasource in both
ft_search()
andft_abstract
(#95) - gains new object
ftxt_cache
for managing/listing details of cached files fromft_get()
ft_search()
gains Scopus and Microsoft Academic optionsft_serialize()
losesfile
,rcache
, andredis
options, retaining options for converting between list, JSON, and XML formats.- The package level manual file at
?fulltext-package
gains new sections on authentication and rate limiting - gains new manual file for how to interpret warnings when using
ft_get()
; see?ft_get-warnings
DEFUNCT
With the re-focusing of the package these functions seemed out of scope, so have been removed:
pdfx
,pdfx_html
, andpdfx_targz
are now defunct (#145)ft_extract_corpus
is now defunct
The following functions have changed names. Usually I'd mark functions as deprecated in a version, then defunct in the next version, but since we're moving to v1
here, it made sense to rip the bandade off and make the old function names defunct.
chunks
is now defunct - function name changed toft_chunks
tabularize
is now defunct - function name changed toft_tabularize
collect
is now defunct - function name changed toft_collect
get_text
is now defunct - function name changed toft_text
Other defunct:
cache_clear
was never working anyway, and is now removed.
Along with the above changes and others the packages R.cache
, rredis
, digest
, and tm
have been removed from Imports
MINOR IMPROVEMENTS
- Replaced
httr
withcrul
mostly throughtout the package (#104) - We are now using DOIs in file names written to disk from
ft_get()
. DOIs are normalized before using to create file paths (#138) - Output of
ft_get()
should now be correctly named lists after the publisher and the DOI/ID (#126) - Switched for eLife DOIs to attempt to get full text links from Crossref API instead of constructing by hand (#127)
- Now using
hoardr
package for managing cached files (#124) - sending user agent string for this R pkg to the ftdoi.org API when calling it now (#141)
- Documented option to include your email address with Crossref API queries to get in their "fast lane" (#123)
- Documented how to get rate limit headers/information for Elsevier/Scopus requests (#109)
- For text extraction from PDFs - only using
pdftools
now - done away with other options (#82) biorxiv_search
is now exported but the man file is hidden (usingroxygen2
directive@internal
), so you can still get to the manual file doing?biorxiv_search
BUG FIXES
- New internal PLOS API method instead of a function from
rplos
because we need to write to disk instead of return parsed XML
output (#148) ft_get()
now appropriately using cached version of file if found (#130)- The
type
parameter inft_get()
was ignored previously, now definitely
used. (#128) - Fix
biorxiv_search
(#97) (#113)