The pas
is checked for the "pas" class name
and presence of core metadata columns:
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
pm25_1hr -- hourly PM2.5
pm25_1day -- daily PM2.5
temperature -- deg F
humidity -- %
pressure -- mb
deviceID -- unique device identifier
locationID -- unique location identifier
deviceDeploymentID -- unique time series identifier
pas_isPas(pas = NULL)
pas | A pa_synoptic object. |
---|
TRUE
if pas
has the correct structure, FALSE
otherwise.
pas_isPas(example_pas)#> [1] TRUEpas_isPas(1:10)#> [1] FALSE