bindTXTs: Combine Txts And Convert Them to A Data Frame

Description Usage Arguments Details Value Author(s) Examples

Description

Combine Txts derived from PDFs and convert them to a data frame using a conversion dictionary stored in IndRptToTable(RegExp).xlsx.

Usage

1
2
3
4
5
bindTXTs(rule.file = paste0(path, "IndRptToTable(RegExp).xlsx"),
  path = getOption("toolkit.dir"), txts = NULL, use.parallel = TRUE)

bind_txts(rule.file = paste0(path, "IndRptToTable(RegExp).xlsx"),
  path = getOption("toolkit.dir"), txts = NULL, use.parallel = TRUE)

Arguments

rule.file

Full path of the conversion dictionary file. Default paste(path, dict name).

path

Path of the directory to the dictionary file.

txts

Txts assigned for combination. If NULL, a wizard will guide you to assign them.

use.parallel

Logical, whether to apply parallel computation when there are more than 50 files to process. Default TRUE.

Details

The function yields two files: an .xlsx file containing merge data and a .csv containing the unmatched line headers that are potentially new variables.

Value

Nothing

Author(s)

Yiying Wang, wangy@aetna.com

Examples

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

## End(Not run)

madlogos/asestio documentation built on June 26, 2019, 12:18 a.m.