More info, zie https://www.knmi.nl/kennis-en-datacentrum/achtergrond/data-ophalen-vanuit-een-script # nolint

download_knmi_data_hour(
  stations,
  variables,
  start_date,
  end_date,
  output_file = "knmi_download.txt"
)

Arguments

stations

list of integers. For an overview, see https://www.daggegevens.knmi.nl/klimatologie/uurgegevens

variables

list of variables, options are:

  • "WIND = DD:FH:FF:FX"Wind

  • "TEMP = T:T10N:TD"Temperature

  • "SUNR = SQ:Q"Sunshine duration and global radiation

  • "PRCP = DR:RH"Precipitation and potential evaporation

  • "VICL = VV:N:U"Visibility, cloud cover and relative humidity

  • "WEER = M:R:S:O:Y:WW"Weather phenomena, weather types

  • "ALL"all variables

start_date

date interpretable string to define start of the period

end_date

date interpretable string to define end of the period

output_file

path/filename of the output_file_name

Value

response containing, status_code, content,...

Examples

if (FALSE) {
download_knmi_data_hour(c(310, 319), "PRCP", "2011-01-01", "2012-02-17",
  output_file = "knmi_output_download.txt"
)
}