Description Usage Arguments Value Examples
View source: R/utils-paTimeseries.R
The pat is checked for the 'pat' class name
and presence of core meta and data columns.
Core meta columns include:
ID – Purple Air ID
label – location label
sensorType – PurpleAir sensor type
longitude – decimal degrees E
latitude – decimal degrees N
timezone – Olson timezone
countryCode – ISO 3166-1 alpha-2
stateCode – ISO 3166-2 alpha-2
pwfsl_closestDistance – distance in meters from an official monitor
pwfsl_closestMonitorID – identifer for the nearest official monitor
The "pwfsl", official, monitors are obtained from the USFS AirFire site using the PWFSLSmoke R package.
Core data columns include:
datetime – measurement time (UTC)
pm25_A – A channel PM 2.5 concentration (ug/m3)
pm25_B – B channel PM 2.5 concentration (ug/m3)
temperature – temperature (F)
humidity – relative humidity (%)
The "pwfsl", official, monitors are obtained from the USFS AirFire site using the PWFSLSmoke R package.
1 |
pat |
pat object |
TRUE if pat has the correct structure, FALSE otherwise.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.