Description Usage Arguments Value Author(s) Examples
This is a function combining convPDFs
and bindTXTs
.
You can directly select PDFs and then convert them to txts, based on which you
can then combine them to a data.frame with a mapping rule.file.
1 2 3 4 5 6 7 | bindPDFs(mode = 1, converter = c("pdftotext", "pdftohtml"),
converter.path = NULL, rule.file = paste0(path,
"IndRptToTable(RegExp).xlsx"), path = getOption("toolkit.dir"))
bind_pdfs(mode = 1, converter = c("pdftotext", "pdftohtml"),
converter.path = NULL, rule.file = paste0(path,
"IndRptToTable(RegExp).xlsx"), path = getOption("toolkit.dir"))
|
mode |
integer, Default 1L.
|
converter |
The converter program to use, either "pdftotext" or "pdftohtml" |
converter.path |
Path to the converter program. If NULL, make sure the
xpdf folder is under R.home(). E.g., |
rule.file |
Full path of the conversion dictionary file. Default
|
path |
Path of the directory to the dictionary file. |
Nothing
Yiying Wang, wangy@aetna.com
1 2 3 4 | ## Not run:
bindPDFs()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.