Description Usage Arguments Value
Title Concatenate Mutliple CSVs or Pipe txts into same dataframe
1 2 3 | ezr.combine_files(directory = getwd(), pattern = "*.csv",
keep_label_file_name_origin = FALSE, type = "csv",
max_guess = 5000)
|
directory |
Default directory is working directory. This is where all your files are. |
pattern |
What is the pattern of the files that you want to load? Ideally only these files are in the folders. This makes it easy to match with. Enter *.csv for all csvs or *.txt for all pipe delimited txt |
keep_label_file_name_origin |
Default is FALSE. This preserves the file name as a column in the file so you can know where it came from |
type |
default is 'csv' (lowercase). Other valid value is 'txt'. Will assume txt is a pipe delimited file. |
max_guess |
How many records to guess before reading. Default is 5000 which is larger than the default readr::read_xxx values. Set lower to increae speed. |
Returns a concatenated dataframe of all the files
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.