View source: R/format_pubmed_xml.R
format_pubmed_xml | R Documentation |
Extract all pubmed data for list of PMID
format_pubmed_xml( pmid, var_id = TRUE, var_journal = TRUE, var_author = TRUE, var_collaborator = TRUE, var_metadata = TRUE, var_history = TRUE, var_registry = F, var_abstract = F, n_chunk = 200 )
var_id |
Extract article identification numbers (PMID, DOI, and PMC) |
var_journal |
Extract journal information (journal name and abbreviation, journal identification numbers, journal issue/volume/pages) |
var_author |
Extract author information (names with and without affiliations, overall number) |
var_collaborator |
Extract collaborator information (names with and without affiliations, overall number) |
var_metadata |
Extract article metadata (publication status, type of article) |
var_history |
Extract article history (dates of publication, entry onto pubmed, etc) |
var_registry |
Extract article registry information (registry number and location) |
var_abstract |
Extract article abstract |
n_chunk |
Maximum number within each individual API request to pubmed (suggested <200). |
xml_pubmed |
Vector of PMID that details are desired from. |
Tibble of data extracted from pubmed XML
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.