Get archived data from a senseBox

get_senseBox_archive(senseBoxId, date = NULL)

Arguments

senseBoxId

character (required): senseBoxId

date

character (optional): Download data from date in format YYYY-mm-dd. If no date was given, the functions tries to download the archive from the day before yesterday.

Value

The function returns a data.frame object.

Function version

0.0.1

Author

Johannes Friedrich

Examples


if (FALSE) {
##=====================================
## Example: download senseBox archive
##=====================================

get_senseBox_archive(
  senseBoxId = "5957b67494f0520011304cc1",
  date = "2018-01-01")

get_senseBox_archive(
  senseBoxId = "5957b67494f0520011304cc1")
}