Skip to contents

Get a daily summary for a plant as a data.frame

Usage

get_day_summary_table(token, plant_id, date, tz = Sys.timezone())

Arguments

token

Authorisation token

plant_id

plant id

date

Date for the summary (YYYY-MM-DD).

tz

Timezone for the output time. Note that time returned by the API is in local time (including DST). It's likely that you'll want this set to your local timezone (the default). However, you can specify any timezone as required (use OlsonNames() to return all valid timezones for your system).

Value

A data.frame

Examples

if (FALSE) { # \dontrun{
get_day_summary_table(token, 1, "2024-07-30")
} # }