Description Usage Arguments Details Value Author(s) References See Also Examples
Download and save XML documents from the PMC OAI service
1 |
id |
PMC id |
local |
use local copy if available |
dir |
name of local directory to save file |
... |
other options passed to |
XML documents in the Open Access (OA) subset are downloaded from the OAI service. The namespace is removed for easier XPath queries and carets (^) are added to superscript tags and hyperlinked footnotes for displaying text. The document is parsed using xmlParse
in the XML
package to generate the XML tree within the R session, so objects are stored as an XMLInternalDocument class and can be queried using XPath expressions. Finally, a local copy is saved using saveXML
for reloading
An XML internal document
Chris Stubben
http://www.ncbi.nlm.nih.gov/pmc/tools/openftlist
1 2 3 4 | ## Not run:
doc <- pmcOAI("PMC2231364")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.