check_raw_lines: Compare count of lines in raw file to imported data frame

Description Usage Arguments See Also Examples

View source: R/prep-license.R

Description

Generally speaking the raw file will have one more line (header) than the data frame has rows. This function is mostly a wrapper for count_lines_textfile

Usage

1
check_raw_lines(df, raw_file)

Arguments

df

data frame into which raw_file was loaded

raw_file

path to raw data file

See Also

Other functions for preparing license data: date_to_char(), recode_date()

Examples

1
# check_raw_lines(cust, "file/path/to/raw/cust/text/file")

southwick-associates/salicprep documentation built on Oct. 6, 2020, 12:03 p.m.