Tests for the existence of the following core spatial metadata columns:
longitude -- decimal degrees E
latitude -- decimal degrees N
timezone -- Olson timezone
countryCode -- ISO 3166-1 alpha-2
stateCode -- ISO 3166-2 alpha-2
If these columns are missing, they can be added by with
pas_addSpatialMetadata
.
pas_hasSpatial(pas)
pas | A pa_synoptic object. |
---|
TRUE
if pas
contains core spatial metadata,
FALSE
otherwise.
pas <- example_pas pas_hasSpatial(pas)#> [1] TRUE