Format WeatherUnderground hourly data.
format_wu(raw, raw_tz = "UTC", raw_temp_unit = "F", raw_crs = 4326)
Arguments
- raw
a data.frame, data.table, sf with the raw observations
and columns "obsTimeUtc", "lat", "lon", "tempAvg"
- raw_tz
the initial timezone, see PurpleAir API documentation
- raw_temp_unit
the initial temperature unit
- raw_crs
the initial coordinate reference system
Value
sf from hourly_temp class