Because Beiwe chunks data into 1 hour files, we cannot immediately tell which files have one observation and which files have thousands. This is just a wrapper function that uses countLines() to return the number of data lines (i.e., excluding the header file). In simple benchmarks, this is the fastest funciton.
.count_data_lines(csv_path)
csv_path | path to the csv file as a string |
---|
number of data lines (excluding header) as integer