Skip to contents

Searches references by keywords in the title or abstract. The search runs live on PubMed (field [tiab]), because abstracts are not redistributed with EpiBibR (they may be protected by publisher copyright). Use EpiBib_add_abstracts to retrieve the abstract texts.

Usage

EpiBib_abstract(abstract, years = NULL)

Arguments

abstract

Keyword(s) in the title or abstract, in PubMed syntax, e.g. "vaccine" or "long covid".

years

Publication years to use: NULL (the default) for the current year, "all" for every year, or a vector such as 2020:2022. See EpiBib_years for what is available.

Value

Data frame with the matching references.

Examples

# \donttest{
df <- EpiBib_abstract("vaccine hesitancy", years = 2021)
# }