length_match: Length match

Description Usage Arguments

View source: R/import_length_match.R

Description

Function checks that the length of the imported data frame matches the length of the file it was imported from.

Usage

1
length_match(df, filepath, skip = 0, col_names = TRUE, verbose = TRUE)

Arguments

df

data frame to check

filepath

path to raw file we imported into data frame

skip

how many lines at the beginning of the file to skip

col_names

if row skipped, if this is true, the new first row is column names, if false, the new first row denotes data values

verbose

if true, output is more comprehensive


associatedpress/apdatacheck documentation built on Feb. 17, 2020, 9:27 p.m.