View source: R/mt_read_pmcoa.R
mt_read_pmcoa | R Documentation |
Download the file of the designated PMCID (PubMed Central ID) in the file type of interest. This uses the [OAI-PMH service](https://www.ncbi.nlm.nih.gov/pmc/tools/oai/). The Open Access Index only maintains the full text for a subset of the articles on PMC (not sure which subset).
mt_read_pmcoa(pmcid, file_name = NULL, file_format = "pmc")
pmcid |
The PMCID (not PMID) of the article as a string or integer (e.g. 13900). |
file_name |
The file name, as a string (e.g. "my_folder/my_file.xml"). If NULL (default), it will save the file in the current directory under its PMCID (e.g. "PMC 13900"). |
file_format |
Format as described on the OAI-PMH service. The default ("pmc") downloads the whole text in XML format. |
Save the PubMed result as an XML file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.