Description Usage Arguments Details Value Examples
ft_search
is a one stop shop for searching for articles
across many publishers and repositories. We currently support search for
PLOS via the rplos package, Crossref via the rcrossref
package, Entrez via the rentrez package, arXiv via the aRxiv
package, and BMC, Biorxiv, EueroPMC, and Scopus via internal helper
functions in this package.
Many publishers content is searchable via Crossref and Entrez - of course this doesn't mean that we can get full text for those articles. In the output objects of this function, we attempt to help by indicating what license is used for articles.
1 2 3 4 5 6 |
query |
(character) Query terms |
from |
(character) Source to query, one of more of plos, bmc, crossref, entrez, arxiv, biorxiv, europmc, scopus, or ma |
limit |
(integer) Number of records to return. default: 10 |
start |
(integer) Record number to start at. Only used for 'scopus' right now. default: 0 |
plosopts |
(list) PLOS options. See |
bmcopts |
(list) BMC options. See |
crossrefopts |
(list) Crossref options. See |
entrezopts |
(list) Entrez options. See |
arxivopts |
(list) arxiv options. See |
biorxivopts |
(list) biorxiv options. See |
euroopts |
(list) Euro PMC options. See |
scopusopts |
(list) Scopus options. See |
maopts |
(list) Microsoft Academic options. See
|
... |
ignored right now |
Each of plosopts
, scopusopts
, etc. expect
a named list.
See Rate Limits and Authentication in fulltext-package for rate limiting and authentication information, respectively
An object of class ft
, and objects of class ft_ind
within each source. You can access each data source with $
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | # List publishers included
ft_search_ls()
## Not run:
# Plos
(res1 <- ft_search(query='ecology', from='plos'))
res1$plos
ft_search(query='climate change', from='plos', limit=500,
plosopts=list(
fl=c('id','author','eissn','journal','counter_total_all',
'alm_twitterCount')))
# Crossref
(res2 <- ft_search(query='ecology', from='crossref'))
res2$crossref
# BioRxiv
(res <- ft_search(query='owls', from='biorxiv'))
res$biorxiv
# Entrez
(res <- ft_search(query='ecology', from='entrez'))
res$entrez
# arXiv
(res <- ft_search(query='ecology', from='arxiv'))
res$arxiv
# BMC - can be very slow
(res <- ft_search(query='ecology', from='bmc'))
res$bmc
# Europe PMC
(res <- ft_search(query='ecology', from='europmc'))
res$europmc
# Scopus
(res <- ft_search(query = 'ecology', from = 'scopus', limit = 100,
scopusopts = list(key = Sys.getenv('ELSEVIER_SCOPUS_KEY'))))
res$scopus
## pagination
(res <- ft_search(query = 'ecology', from = 'scopus',
scopusopts = list(key = Sys.getenv('ELSEVIER_SCOPUS_KEY')), limit = 5))
(res <- ft_search(query = 'ecology', from = 'scopus',
scopusopts = list(key = Sys.getenv('ELSEVIER_SCOPUS_KEY')),
limit = 5, start = 5))
## lots of results
(res <- ft_search(query = "ecology community elk cow", from = 'scopus',
limit = 100,
scopusopts = list(key = Sys.getenv('ELSEVIER_SCOPUS_KEY'))))
res$scopus
# PLOS, Crossref, and arxiv
(res <- ft_search(query='ecology', from=c('plos','crossref','arxiv')))
res$plos
res$arxiv
res$crossref
# Microsoft academic search
key <- Sys.getenv("MICROSOFT_ACADEMIC_KEY")
(res <- ft_search("Y='19'...", from = "microsoft", maopts = list(key = key)))
res$ma
res$ma$data$DOI
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.