Skip to contents

Each term is quoted so a multi-word term matches as a phrase rather than as loose words, and the terms are ANDed. Quoting also stops a term containing a space or a colon from being read as query syntax.

Usage

europepmc_query(...)

Arguments

...

Terms, for example a gene symbol and an rsID. Blank terms are dropped.

Value

A single query string, or NULL when nothing usable was given.

Examples

europepmc_query("BRAF")
#> [1] "\"BRAF\""
europepmc_query("BRAF", "V600E")
#> [1] "\"BRAF\" AND \"V600E\""