Format observations sent by IBM.

format_wu(raw, raw_tz = "UTC", raw_temp_unit = "F", raw_crs = 4326)

Arguments

raw

a data.frame, data.table, sf or sftime 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

sftime from hourly_temp class

Author

Eva Marques