| readVT | R Documentation |
readTS() with kind = "VT".Thin wrapper around readTS(); see there for full semantics.
readVT(.x, path)
.x |
|
path |
Absolute path to the records root. The function reads
per-station files under
|
See readTS().
root <- file.path(tempdir(), "gmsp-readvt-example")
unlink(root, recursive = TRUE)
raw <- file.path(root, "AAA", "E1", "S1", "raw")
dir.create(raw, recursive = TRUE)
data.table::fwrite(data.table::data.table(H1 = c(1, 2)),
file.path(raw, "VT.R1.csv"))
jsonlite::write_json(list(dt = 0.01), file.path(raw, "VT.R1.json"),
auto_unbox = TRUE)
selection <- data.table::data.table(
RecordID = "R1", OwnerID = "AAA", EventID = "E1", StationID = "S1"
)
readVT(selection, path = root)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.