vf_csv_broken: Validate that a CSV's Is Properly Quoted

View source: R/vf_csv_broken.R

vf_csv_brokenR Documentation

Validate that a CSV's Is Properly Quoted

Description

vf_csv_broken - Validates that a .csv file has properly quoted character columns (is not a broken .csv).

Usage

vf_csv_broken(path, ...)

Arguments

path

Path to a .csv file.

...

ignored.

Examples

loc <- file.path(tempdir(), 'temp.csv')
cat(
    paste(c(",x,y", "1, the dog, wen,1", "2,door,2"), collapse="\n"),
    file=loc
)
vf_csv_broken(loc)

steventsimpson/valiData documentation built on Jan. 27, 2023, 2:11 p.m.