mts_isValid {MazamaTimeSeries} | R Documentation |
Test mts object for correct structure
Description
The mts
is checked for the presence of core
meta
and data
columns.
Core meta
columns include:
deviceDeploymentID
– unique identifier (see MazmaLocationUtils)deviceID
– device identifierlocationID
– location identifier (see MazmaLocationUtils)locationName
– English language namelongitude
– decimal degrees Elatitude
– decimal degrees Nelevation
– elevation of station in mcountryCode
– ISO 3166-1 alpha-2stateCode
– ISO 3166-2 alpha-2timezone
– Olson time zone
Core data
columns include:
datetime
– measurement time (UTC)
Usage
mts_isValid(mts = NULL, verbose = FALSE)
Arguments
mts |
mts object |
verbose |
Logical specifying whether to produce detailed warning messages. |
Value
Invisibly returns TRUE
if mts
has the correct structure,
FALSE
otherwise.
See Also
Examples
library(MazamaTimeSeries)
print(mts_isValid(example_mts))
[Package MazamaTimeSeries version 0.3.0 Index]