Description Usage Arguments Value Function version Author(s) Examples
View source: R/get_EcoCounter_data.R
Get location from one EcoCounter installation
1 | get_EcoCounter_data(EcoCounterId, from = NULL, to = NULL, step = 4)
|
EcoCounterId |
character or integer or vector of character or integer: Id of the EcoCounter installation |
from |
character: Start date (YYYYMMDD). If no date is submitted, the day before yesterday is automatically set. |
to |
character: End date (YYYYMMDD). If no date is submitted, yesterday is automatically set. Note: When date is the date of today, usually no data are available. |
step |
integer: Get data : 2 (15 min), 3 (hourly), 4 (daily), 5 (weekly), 6 (monthly), 7 (yearly). With default: 4. |
data.frame with parsed data from EcoCounter API
0.0.1
Johannes Friedrich
1 2 3 4 5 | EcoCounterId <- 100037011
get_EcoCounter_data(EcoCounterId)
## set specific date and request weekly data (step = 5)
get_EcoCounter_data(EcoCounterId, from = "20171101", to = "20171201", step = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.