View source: R/validate_file.R
validate_file | R Documentation |
Validate a .csv file.
validate_file(path, file_name, map, ...)
path |
A path to a .csv file to be validated. |
file_name |
name of file for which details need to be extracted from map. |
map |
mapping of dictionary of data tests to be applied to import files. |
... |
ignored. |
Prints a report to the console of tests for file type, comma broken csv, number of columns, spaces in column headers, correct column names, required columns containing values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.