data-raw/intdata-walleye_detections.r

# Make internal data object walleye_detections for testing
# (example data object)

# get path to example detections file
dtc_file <- system.file("extdata",
  "walleye_detections.csv",
  package = "glatos"
)

# create new objects
walleye_detections <- read_glatos_detections(dtc_file)

#----------------------------------------------------

# add to sysdata.rda
rda_file <- file.path("R/sysdata.rda")
add_internal_data(walleye_detections, rda_file)
ocean-tracking-network/glatos documentation built on April 17, 2025, 10:38 p.m.