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_.

Examples

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