read_hobo_csv: Read Hobo CSVs

View source: R/read-hobo-csv.R

read_hobo_csvR Documentation

Read Hobo CSVs

Description

Read Hobo CSVs

Usage

read_hobo_csv(
  file = ".",
  orders = c("Ymd HMS", "dmy HMS"),
  units = "degC",
  tz = "Etc/GMT+8",
  recursive = FALSE,
  quiet = FALSE
)

Arguments

file

A string of the file or directory.

orders

A character vector of date-time formats used by lubridate::parse_date_time().

units

A string of the units to convert the temperature data to using units::set_units().

tz

A string of the time zone to convert the date times to using lubridate::with_tz().

recursive

A flag indicating whether to read files from subdirectories.

quiet

A flag indicating whether to provide messages. Ignored if file is a file (as opposed to a directory).

Value

A tibble of the data with the temperature.

Examples

read_hobo_csv(system.file("hobo", "10723440.csv", package = "poisdata"))

poissonconsulting/poisdata documentation built on Jan. 11, 2024, 3:58 a.m.