monitor_isValid: Test _mts_monitor_ object for correct structure

View source: R/utils-monitor.R

monitor_isValidR Documentation

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)

Arguments

monitor

mts_monitor object

verbose

Logical specifying whether to produce detailed warning messages.

Value

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


AirMonitor documentation built on Sept. 27, 2024, 9:06 a.m.