R/format_observations.R
format_pa.Rd
Format observations directly downloaded on PurpleAir API.
format_pa(raw, raw_tz = "UTC", raw_temp_unit = "F", raw_crs = 4326)
a data.frame, data.table, sf or sftime with the raw observations and columns "time_stamp", "latitude", "longitude", "temperature"
the initial timezone, see PurpleAir API documentation
the initial temperature unit
the initial coordinate reference system
sftime from hourly_temp class