Skip to contents

Asks for one row with resultType = "idlist", because only the count is wanted. Read the note in the file header: a count of 0 comes back as ok, not as no_data.

Usage

europepmc_count(query, ...)

Arguments

query

A query string. Build one with europepmc_query() to get the quoting right.

...

Passed to biohttp::get_json(), for example throttle.

Value

A biohttp envelope whose data is a list of count, query, and source_url.

Examples

if (FALSE) { # \dontrun{
biohttp::body_or_null(europepmc_count(europepmc_query("NF1")))$count
} # }