View source: R/twilight_label_write.R
twilight_label_write | R Documentation |
This function writes the csv file of the labelled twilight which can be read with TRAINSET https://trainset.raphaelnussbaumer.com/.
twilight_label_write(
tag,
file = glue::glue("./data/twilight-label/{tag$param$id}.csv"),
quiet = FALSE
)
tag |
a GeoPressureR |
file |
Name of the twilight label file to be saved. |
quiet |
logical to hide messages |
None
Other geolight:
geolight_map()
,
twilight_create()
,
twilight_label_read()
withr::with_dir(system.file("extdata", package = "GeoPressureR"), {
tag <- tag_create("18LX", quiet = TRUE) |>
tag_label(quiet = TRUE) |>
twilight_create()
label_file <- twilight_label_write(tag)
str(read.csv(label_file))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.