Tools to Upload/Parse Documents to 'docparser' and Retrieve Extracted Results
The 'docparser' (https://docparser.com) service enables users to visually define extraction regions for documents then use a 'REST' 'API' endpoint (https://dev.docparser.com/) to upload documents and retrieve parsed results. Tools are provided to query available parsers, upload documents and retrieved parsed results.
The following functions are implemented:
dp_parsers
: Retrieve avilable parsersdp_parse_doc
: Parse a document with a predefined parserdp_ping
: "Ping" the docparser APIdp_results
: Retrieve results from parsed documentsdevtools::install_github("hrbrmstr/docparser")
options(width=120)
library(docparser) # current verison packageVersion("docparser")
dp_parsers()
str( dp_results("484c4292ab3b324b7f2b60f3f2d3149f", "jcpfgqiexwky") )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.