clean.text: Clean text files

View source: R/clean_txt.R

clean.textR Documentation

Clean text files

Description

Clean text files

Usage

clean.text(in_dir, all_keywords)

Arguments

in_dir

directory with input text files

all_keywords

vector with all keywords you are interested in

Value

list of cleaned texts

Examples


download.file("https://github.com/ajhelmstetter/papieRmache/raw/master/inst/extdata/test_pdfs.zip", destfile = "./test_pdfs.zip")
unzip("./test_pdfs.zip")
clean.text(in_dir = "./test_pdfs/",all_keywords=kw)

ajhelmstetter/papieRmache documentation built on March 30, 2024, 9:22 p.m.