Load Temperature Data From CSV

load_temperature_from_csv(path)

Arguments

path

path to csv file with temperature data and columns: "date" (YYYY-MM-DD) and "value"

Value

tibble with temperature data and columns "date" and "value"

Examples

path <- kwb.heatsine::extdata_file("temperature_groundwater_Txxxx3.csv") gw_data <- kwb.heatsine::load_temperature_from_csv(path) gw_data
#> # A tibble: 2,708 x 2 #> date value #> * <date> <dbl> #> 1 2012-03-28 8.70 #> 2 2012-03-29 8.60 #> 3 2012-09-05 12.9 #> 4 2012-09-06 12.9 #> 5 2012-09-07 13 #> 6 2012-09-08 13 #> 7 2012-09-09 13.1 #> 8 2012-09-10 13.1 #> 9 2012-09-11 13.1 #> 10 2012-09-12 13.2 #> # … with 2,698 more rows