pmQueryTotalCount {pubmedR} | R Documentation |
Count the number of documents returned by a query
Description
It counts the number of documents that a query returns from the NCBI PubMed database.
Usage
pmQueryTotalCount(query, api_key = NULL)
Arguments
query |
is a character. It contains a search query formulated using the Entrez query language. |
api_key |
is a character. It contains a valid API keys for the NCBI E-utilities. Default is |
Value
a list. It contains three objects:
n | The total number of records returned by the query | |
query_translation | The query transaltion by the NCBI Automatic Terms Translation system | |
web_history | The web history object. The NCBI provides search history features, which isuseful for dealing with large lists of IDs or repeated searches. |
To obtain a free access to NCBI API, please visit: https://www.ncbi.nlm.nih.gov/pmc/tools/developers/
See Also
Examples
query <- "bibliometric*[Title/Abstract] AND english[LA]
AND Journal Article[PT] AND 2000:2020[DP]"
D <- pmQueryTotalCount(query = query, api_key = NULL)
[Package pubmedR version 0.0.3 Index]