Learn R Programming

AirMonitor (version 0.4.2)

monitor_isValid: Test mts_monitor object for correct structure

Description

The mts_monitor is checked for the presence of core meta and data columns.

Core meta columns include: (TODO: complete this list)

  • deviceDeploymentID -- unique identifier (see MazmaLocationUtils)

  • deviceID -- device identifier

  • locationID -- location identifier (see MazmaLocationUtils)

  • locationName -- English language name

  • longitude -- decimal degrees E

  • latitude -- decimal degrees N

  • elevation -- elevation of station in m

  • countryCode -- ISO 3166-1 alpha-2

  • stateCode -- ISO 3166-2 alpha-2

  • timezone -- Olson time zone

Core data columns include:

  • datetime -- measurement time (UTC)

Usage

monitor_isValid(monitor = NULL, verbose = FALSE)

Value

Invisibly returns TRUE if mts_monitor has the correct structure, FALSE otherwise.

Arguments

monitor

mts_monitor object

verbose

Logical specifying whether to produce detailed warning messages.