pdfx: PDF-to-XML conversion of scientific articles using pdfx

Description Usage Arguments Value Author(s) Examples

View source: R/pdfx.r

Description

Uses a web service provided by Utopia at http://pdfx.cs.man.ac.uk/.

Usage

1
pdfx(file = NULL, what = "parsed", ...)

Arguments

file

(character) Path to a file, or files on your machine.

what

(character) One of parsed, text, or html.

...

Further args passed to GET. These aren't named, so just do e.g. , verbose(), or timeout(3)

Value

Raw XML text, parsed to XMLInternalDocument, or to html text

Author(s)

Scott Chamberlain [email protected]

Examples

1
2
3
4
5
## Not run: 
path <- system.file("examples", "example1.pdf", package = "extractr")
pdfx(file = path)

## End(Not run)

ropensci/extractr documentation built on May 27, 2019, 3:32 p.m.