pmcSupp: List and read PMC supplementary files

Description Usage Arguments Details Value Note Author(s) See Also Examples

View source: R/pmcSupp.R

Description

List supplementary file names within XML documents and optionally read supplementary tables from PMC

Usage

1
pmcSupp(doc, file, ...)

Arguments

doc

XML document

file

supplementary file name or row number

...

other options passed to getSupp

Details

List supplementary files and optionally read tables using getSupp

Value

If file is missing, a data.frame listing supplementary file names and captions.

Note

If file is specified, then getSupp is used to download the file (currently supports Excel, Word, HTML, PDF, text, and zip files depending of operating system and installed dependencies )

Author(s)

Chris Stubben

See Also

getSupp for complete details

Examples

1
2
3
4
5
6
7
## Not run: 
doc <- pmcOAI("PMC2231364" )
pmcSupp(doc)
s2 <- pmcSupp(doc, 3)
s2

## End(Not run)

cstubben/pmcXML documentation built on May 14, 2019, 12:25 p.m.