dp_parse_doc: Parse a document with a predefined parser

Description Usage Arguments Value Examples

Description

Parse a document with a predefined parser

Usage

1
2
dp_parse_doc(file, parser, remote_id = NULL,
  docparser_api_key = Sys.getenv("DOCPARSER_API_KEY"))

Arguments

file

path to a document (this will be path.expanded())

parser

a parser id (which can be found via dp_parsers())

remote_id

if not NULL then an id which will be used to tag the file on the docparser servers (otherwise one will be generated)

docparser_api_key

if not placed in the DOCPARSER_API_KEY environment variable, place it here. Otherwise, API requests fail.

Value

list of available parsers

Examples

1
2
3
4
## Not run: 
dp_parse_doc()

## End(Not run)

hrbrmstr/docparser documentation built on May 18, 2019, 2:34 a.m.