tidy_hobo_data {STICr}R Documentation

tidy_hobo_data

Description

This function loads raw HOBO STIC CSV files and cleans up columns and headers

Usage

tidy_hobo_data(infile, outfile = FALSE, convert_utc = TRUE)

Arguments

infile

filename (including path or URL if needed) for a raw CSV file exported from HOBOware.

outfile

filename (including path if needed) to save the tidied data frame. Defaults to FALSE, in which case tidied data will not be saved.

convert_utc

a logical argument indicating whether the user would like to convert from the time zone associated with their CSV to UTC

Value

a tidied data frame with the following column names: datetime, condUncal (uncalibrated conductivity, units: lux), tempC (temperature, units: degrees Celsius).

Examples

clean_data <-
  tidy_hobo_data(
    infile = "https://samzipper.com/data/raw_hobo_data.csv",
    outfile = FALSE, convert_utc = TRUE
  )
head(clean_data)


[Package STICr version 1.1.1 Index]