View source: R/lwdataFunctions.R
getBatsData | R Documentation |
Retrieves the aggregated batcorder data from the LifeWatch project.
getBatsData(startdate, stopdate, by, params = FALSE, ...)
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. |
Dataframe with the aggregated batcorder-data within the specified daterange.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.