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.
Arguments
- query
A query string. Build one with
europepmc_query()to get the quoting right.- ...
Passed to
biohttp::get_json(), for examplethrottle.
References
Ferguson et al. (2021). Europe PMC in 2020. Nucleic Acids Research 49(D1), D1507-D1514. doi:10.1093/nar/gkaa994
Service documentation: https://europepmc.org/
Examples
# \donttest{
biohttp::body_or_null(europepmc_count(europepmc_query("NF1")))$count
#> [1] 38699
# }