mt_write_pubmed: Download PubMed results as XML

View source: R/mt_read_pubmed.R

mt_write_pubmedR Documentation

Download PubMed results as XML

Description

Saves the meta-data of a PubMed query as an XML file.

Usage

mt_write_pubmed(term, filename = "pubmed_info.xml", n_max = 10000)

Arguments

term

The search term, e.g. "meta-analysis[TITLE]", as a string.

filename

The name of the XML file to save as a string. If NULL, then this function simply returns the XML file as an xml_document.

n_max

The maximum number of records to download, as an integer.

Value

Save the PubMed result as an XML file.


serghiou/metareadr documentation built on Aug. 21, 2023, 2:33 a.m.