Load KMI data as data.frame

read_kmi_data(filename, n_max = Inf)

Arguments

filename

path/filename of the KMI datafile

n_max

integer; shortcut for testing, loading just a section of the data

Value

data.frame with the headers location_name, datetime (UTC), value, unit, variable_name, latitude, longitude and source_filename

Examples

if (FALSE) {
# see vignettes for more examples
file_path <- "kmi_file.txt"
precipation_kmi <- read_kmi_data(file_path)
}