plosSearch: Searches for a term in PLOS since a given publication date

Description Usage Arguments Examples

View source: R/searches.R

Description

Searches for a term in PLOS since a given publication date

Usage

1
plosSearch(query, since = Sys.Date() - 7, limit = 100)

Arguments

query

text of the query

since

date, default is today minus a week

limit

maximum number of articles to return (default = 100)

Examples

1
2
3
4
5
6
# search for just the word "microbiome" in all fields
plosSearch("microbiome")
# search for the term "gut microbiome"
plosSearch("gut microbiome")
# search for the words "gut" and "microbiome" within 10 words of each other
plosSearch("'gut microbiome'~10")

FoodStandardsAgency/hs-test-case-dev documentation built on Aug. 17, 2020, 2:49 a.m.