getBatsData: Retrieve batcorder-data from the LifeWatch project

View source: R/lwdataFunctions.R

getBatsDataR Documentation

Retrieve batcorder-data from the LifeWatch project

Description

Retrieves the aggregated batcorder data from the LifeWatch project.

Usage

getBatsData(startdate, stopdate, by, params = FALSE, ...)

Arguments

startdate

Starting date for the query

stopdate

Stopping date for the query

by

Sample period, one of "1 min", "60 min" or "1 day"

params

If TRUE, returns a list with the dataset and the query parameters applied in the server side. IF FALSE returns only the data.

...

Reserved for internal use.

Value

Dataframe with the aggregated batcorder-data within the specified daterange.

Examples

getBatsData("2014-08-01", "2014-09-01", "1 min")
getBatsData("2014-08-01", "2014-09-01", "60 min", TRUE)
getBatsData("2014-08-01", "2014-09-01", "1 day", TRUE)

lifewatch/lwdataexplorer documentation built on Aug. 24, 2024, 12:35 a.m.