collapse.text: Construct text document on single page text files

Description Usage Arguments Details Value See Also Examples

View source: R/collapse.text.R

Description

A function to collapse single page text files into one text file using a combination of R and shell commands.

Usage

1
2
collapse.text(path, overwrite = TRUE, lastCollapse = FALSE,
  chamber = "st")

Arguments

path

String specifying the directory containing the single page text files

overwrite

Logical. If there already is a complete text file in the directory, should it be overwritten?

Details

It is important to make sure that the files are propperly arranged using the order.files command before running collapse.text. Only works on Windows OS for the time being.

Value

Returns a list of the files copied in the console, and a string of what the file is called and where to locate it.

See Also

order.files, votedf

Examples

1
collapse.text("~Storting/storting1899/")

martigso/stortingAlpha documentation built on May 21, 2019, 12:37 p.m.