inspect_all_in_folder: run inspect_all() on all csv files in a folder and subfolders

Description Usage Arguments Value

View source: R/inspect_folder.R

Description

run inspect_all() on all csv files in a folder and subfolders

Usage

1
2
inspect_all_in_folder(source_dir = "./", pattern = "csv$",
  recursive = TRUE, write.to.csv = FALSE, target_dir = "./")

Arguments

source_dir

folder to search for csv files that inspect_all() should be run on

pattern

a regex pattern on which files in the folders to select. The default is "csv$"; this should be kept at the end of the pattern

recursive

logical: if TRUE (default), also searches all subfolders of the current working directory

write.to.csv

logical: whether or not to write csv files with the issue tables to files (folder can be specified with target_dir)

target_folder

path to the folder where the issue tables should be saved

Value

a list of data frames with the outputs from each csv file in the current working directory (and subdirectories)#


ellieallien/cleaninginspectoR documentation built on July 18, 2019, 12:30 p.m.