readTem2: Read Temperature Data

View source: R/TwGeos.R

readTem2R Documentation

Read Temperature Data

Description

Read temperature data from a BAS tag

Usage

readTem2(file, d.lig = NULL, skip = 0)

Arguments

file

the temperature file to import.

d.lig

dataframe of light data created with readLig

skip

number of initial lines to skip

Details

The readTem2 function reads temperature data from a later generation BAS tag. If readTem2 is passed a dataframe constructed with readLig, it matches the recorded temperatures to the closest recorded light reading and returns the merged dataframe with both temperature and activity data.

Value

If readTem2 is passed a "lig" dataframe, it returns that dataframe with the appended column

Temperature

the recorded temperature

otherwise it returns a dataframe with columns

Valid

an indicator of whether the record is valid

Date

the date and time of the observation

Julian

date and time as Julian date

Temperature

the recorded temperature.


slisovski/TwGeos documentation built on Jan. 27, 2024, 10:43 a.m.