This function combines the files in the given directory and returns as a data table or saves it to the out_put_file_path. Option 1 : Set header = T and no col_names. In this case the function will read the file and use the header of the first file in the directory. Option 2 : Set header = F and specify col_names manually. In this case the function will read the file and will use the given array as column names The assumption is that it does not have a header (default)
1 |
dir_path |
Absolute path of the directory containing the files to be combined. |
header |
Boolean value of if the header needs to be considered |
col_names |
Character vector to replace the header with a custom column name. |
Outputl |
File path - absolute path. By default its null and can be omitted. Produces a tsv file. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.