Skip to contents

This is a convenience function that reads from the "activity" tables temperature, activity, and light in the schema Recordings

Usage

getRecordings(
  type = NULL,
  sessionId = NULL,
  individId = NULL,
  colony = NULL,
  species = NULL,
  yearTracked = NULL,
  asTibble = T
)

Arguments

type

light, temperature, or activity as a character. Default = "light".

colony

subset data for a character vector of colony names (International names)

species

subset data for a character vector of species

asTibble

Boolean. Return result as Tibble instead of lazy query? Tibble is slower, but also here forces the timezone to "UTC".

session_id

subset data for a character vector of session ids

individ_id

subset data for a character vector of individual ids

year_tracked

subset data for a character vector of year_tracked (e.g. 2014_15)

Value

A Lazy query or optionally a Tibble.

Examples

if (FALSE) { # \dontrun{
connectSeatrack(Username = "testreader", Password = "testreader")
getRecordings(type = "temperature",
             colony = "Sklinna")
} # }