sts_isValid {MazamaTimeSeries} | R Documentation |
Test sts object for correct structure
Description
The sts
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
sts_isValid(sts = NULL, verbose = FALSE)
Arguments
sts |
sts object |
verbose |
Logical specifying whether to produce detailed warning messages. |
Value
TRUE
if sts
has the correct structure,
FALSE
otherwise.
Examples
library(MazamaTimeSeries)
sts_isValid(example_sts)
[Package MazamaTimeSeries version 0.3.0 Index]