ibuttProc: Import and subset iButton files and data.

Description Usage Arguments Value Author(s) Examples

Description

Import and subset iButton files and data.

Usage

1

Arguments

dir

The directory of the ibutton and/or hydrochron files.

date

The date, as a character string, that one wishes to subset. Note that the format of the date should be "year-month-day" with only a four digit year.

time

The hour (e.g. "11" or "14") or time range [e.g. c("11:30", "11:45")] one wishes to subset. Note that time should be given in a 24 hr clock. Time range is structured as a character string vector consisting of the lower time followed by the upper time limits as: c(lower time, upper time). When sub setting only a single hour period, simply just use the hour one is interested in sub setting. You must use two digits to to query each hour (i.e. "09" NOT "9").

list

A logical argument specifying whether the data frame returned should be kept as a list or amalgamated into a data frame that can be queried using column names.

Value

A data.frame or list of temperatures/humidity across the dates and times that data was collected.

Author(s)

Daniel Noble - daniel.noble@unsw.edu.au

Examples

1
2
dir <- paste0(system.file("extdata",  package="ibutt"), "/")
data <- ibuttProc(dir, date = "2015-11-06", time = c("10:00", "11:00"), list = TRUE)

daniel1noble/ibutt documentation built on May 14, 2019, 3:40 p.m.