tag_label_read: Read a tag label file

View source: R/tag_label_read.R

tag_label_readR Documentation

Read a tag label file

Description

This function reads an exported csv file from TRAINSET and updates the data logger dataset tag.

Usage

tag_label_read(
  tag,
  file = glue::glue("./data/tag-label/{tag$param$id}-labeled.csv")
)

Arguments

tag

a GeoPressure tag object.

file

Absolute or relative path of the label file.

Value

Same data logger list as input, updated with the labels tag$pressure$label and optionally tag$acceleration$label.

See Also

GeoPressureManual

Other tag_label: tag_label(), tag_label_auto(), tag_label_stap(), tag_label_write()

Examples

withr::with_dir(system.file("extdata", package = "GeoPressureR"), {
  tag <- tag_create("18LX", quiet = TRUE)

  tag <- tag_label_read(tag)

  str(tag)
})

Rafnuss/GeoPressureR documentation built on April 17, 2025, 12:58 p.m.