Read Header of a GENESIS csvSource:
read_header_genesis reads the header of a GENESIS csv.
read_header_genesis( ..., start, lines = 2, readr_locale = locale(encoding = "windows-1252"), replacer = NULL, clean_letters = TRUE )
number of the first line of the header
number of header lines
definition of locale() to be passed to read_csv2()
a vector that is used as the first K column-names
make proper variable names? (default: TRUE)
default encoding is 'windows-1252'
To generate valid column names, the function replaces all special characters (e.g. German öüä) with ASCII letters and removes whitespaces. Multi-line headers are joined but separated with a '_'.