Learn R Programming

easyPubMed (version 2.13)

fetch_all_pubmed_ids: Retrieve All PubMed Record Identifiers Returned by a Query

Description

Retrieve PubMed record identifiers from Entrez following a search performed via the get_pubmed_ids() function. Identifiers are returned as a character vector.

Usage

fetch_all_pubmed_ids(pubmed_id_list)

Arguments

pubmed_id_list

List: the result of a get_pubmed_ids() call.

Value

Character vector including all PMID (PubMed Identifiers) returned by the current query.

Details

Retrieve PubMed identifiers, without any other information (such as article title, authors, publication date, and so on). The PubMed IDs can be stored or used with other software.

References

https://www.data-pulse.com/dev_site/easypubmed/

Examples

Run this code
# NOT RUN {
## Fetch only PubMed Record IDs (PMIDs)
dami_query_string <- "Damiano Fantini[AU]"
dami_on_pubmed <- get_pubmed_ids(dami_query_string)
dami_pmids <- fetch_all_pubmed_ids(dami_on_pubmed)
print(dami_pmids)

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab