pas_hasSpatial: Test for spatial metadata in _pa_synoptic_ object

View source: R/utils-paSynoptic.R

pas_hasSpatialR Documentation

Test for spatial metadata in pa_synoptic object

Description

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

Usage

pas_hasSpatial(pas)

Arguments

pas

A pa_synoptic object.

Value

TRUE if pas contains core spatial metadata, FALSE otherwise.

Examples

pas <- example_pas
pas_hasSpatial(pas)

MazamaScience/AirSensor documentation built on April 28, 2023, 11:16 a.m.