create_request: Create request to EcoCounter API

Description Usage Arguments Value Function version 0.0.1 Author(s)

View source: R/create_request.R

Description

Create request to EcoCounter API

Usage

1
2
create_request(EcoCounterId, path = c("data", "periode"),
  API_key = "cw6Xk4jW4X4R", query = NULL)

Arguments

EcoCounterId

character or integer (requiered): Id of the EcoCounter installation

path

character: Path to requested data from EcoCounter API. Use c("data", "periode") or c("counter", "channels").

API_key

character: API key to get access to EcoCounter API

query

list: Querys to get data for specific date. Use with argument path = c("data", "periode").

Value

data.frame with parsed data from EcoCounter API

Function version 0.0.1

NA

Author(s)

Johannes Friedrich


JohannesFriedrich/EcoCounteR documentation built on June 16, 2020, 11:41 p.m.