Skip to contents

Pure. 0 is a real count and comes back as 0L; only an absent count is NA.

Usage

pubtator_parse_count(body)

Arguments

body

A parsed PubTator3 search/ response.

Value

A single integer, or NA_integer_.

References

Wei et al. (2024). PubTator 3.0: an AI-powered literature resource for unlocking biomedical knowledge. Nucleic Acids Research 52(W1), W540-W546. doi:10.1093/nar/gkae235

Service documentation: https://www.ncbi.nlm.nih.gov/research/pubtator3/

Examples

pubtator_parse_count(list(count = 4180))
#> [1] 4180
pubtator_parse_count(list(count = 0))
#> [1] 0