get_from_agromet_API.fun: Retrieve data from the [AGROMET...

Description Usage Arguments Value

View source: R/agromet_API.R

Description

Retrieve data from the [AGROMET API](https://app.pameseb.be/fr/pages/api_call_test/).

Usage

1
2
3
get_from_agromet_API.fun(user_token.chr = NULL, table_name.chr = NULL,
  sensors.chr = NULL, stations_ids.chr, dfrom.chr = NULL, dto.chr = NULL,
  month_day.chr = NULL, api_v.chr = NULL, test.bool = FALSE)

Arguments

user_token.chr

A character specifying your user token

table_name.chr

A character specifying the database table you want to query

sensors.chr

A character vector containing the names of the sensors you want to query

stations_ids.chr

A character vector containing the ids of the stations you want to query

dfrom.chr

A character specifying the data from which you want to query data (YYYY-MM-DD)

dto.chr

A character specifying the data to which you want to query data (YYYY-MM-DD)

month_day.chr

A character specifying the month and day from which you want TMY data (MM-DD)

api_v.chr

A character specifying the version of the API you want to use ("v1" or "v2")

test.bool

A boolean, TRUE if you want to query the test server

user_token.chr

A character specifying your user token

Value

A list containing the metadata in the first element and the queried data in the second element


pokyah/agrometeoR-mlr documentation built on May 21, 2019, 9:57 a.m.