validate_file: Validate a CSV File

View source: R/validate_file.R

validate_fileR Documentation

Validate a CSV File

Description

Validate a .csv file.

Usage

validate_file(path, file_name, map, ...)

Arguments

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.

Value

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.


data-steve/valiData documentation built on Feb. 3, 2023, 12:21 a.m.