clean_wunderground: Clean and interpolate wunderground data

Description Usage Arguments

View source: R/CleanWunderground.R

Description

Filters out non-realistic low values downloaded using 'download_time_seq', creates UTC timestamps from which a 10min sequence is created. The following filters are applied:

If the gap between the measurements is more than 1 hour values are not interpolated.

Usage

1
2
3
clean_wunderground(Tunit = "Farenheid",
  datafile = "C:/Users/marie/OneDrive/Documenten/uhi_max/inst/Wunderground/IUTRECHT23/daydata_rbind_2009-01-01_until_2018-11-27.txt",
  fname = "C:/Users/marie/OneDrive/Documenten/uhi_max/inst/Wunderground/Filtered/IUTRECHT23_filtered.rds")

Arguments

Tunit

Temperature unit, since December 2018 the Wunderground data is in Farenheid.

datafile

Downloaded wunderground data

fname

Filename to write the filtered data


MariekeDirk/uhi_max documentation built on May 23, 2019, 1:44 p.m.