Description Usage Arguments Value Examples
View source: R/pubmed_search.R
This function wraps
easyPubMed::get_pubmed_ids
and
easyPubMed::fetch_pubmed_data
to collect
results of a query to
PubMed
1 | pubmed_search(search_string, max_to_get = 25, api_key = NULL)
|
search_string |
(character vector of length 1) that is used for querying PubMed (standard PubMed syntax, see reference for details). |
max_to_get |
Integer (>= 1): maximum number of records to
retrieve. Note that, if they are not finished, a complete batch
will be always retrieved; hence, more than |
api_key |
(character vector of length 1): user-specific API key to increase the limit of queries per second above three. You can obtain your key from NCBI (see https://ncbiinsights.ncbi.nlm.nih.gov/2017/11/02/new-api-keys-for-the-e-utilities/ |
an object of class pubmed
1 2 3 4 5 | ## Not run:
pubmed_search("machine learning", 1)
pubmed_search("aaaa", 1) # no result
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.