Description Usage Arguments Value Examples
Takes a list.files object, then reads in each object and binds them. Requires objects to be the same structure.
1 2 3 | merge_csv_dir(csv_directory, file.pattern = "*.csv", header = T,
sep = ",", quote = "", stringsAsFactors = F, fill = T,
remove_char_quotes = T)
|
csv_directory |
the object of the list.files function; full names suggested. |
file.pattern |
a particular file object to search for. ex: "*.csv" |
header |
do the files have a header? |
sep |
what is the delimiter? |
quote |
quote? |
stringsAsFactors |
strings as factors? |
fill |
fill NAs? |
remove_char_quotes |
logical, adds a gsub to remove \" through regular expressions. |
Returns a df
1 | # df <- merge_csv_dir(csv_directory = "./csv")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.