get_agro_data: Get data from agromet.cl API

View source: R/get_agro_data_ran.R

get_agro_dataR Documentation

Get data from agromet.cl API

Description

Get data from agromet.cl API

Usage

get_agro_data(
  stations_id = NULL,
  date_start = NULL,
  date_end = NULL,
  verbose = FALSE
)

get_agro_data_from_api(station_id = NULL, date_start = NULL, date_end = NULL)

Arguments

stations_id

A numeric value indicating stations ID from agrometR::estaciones_agromet.

date_start

A value parseable by lubridate::as_datetime, for example "2020-11-30 01:00:00".

date_end

Same as date_start parameter.

verbose

A logical value to show or not a progress bar with eta.

station_id

A numeric length 1 value indicating station ID from estaciones_agromet.

Examples


get_agro_data(1:10, "2020-11-30 01:00:00", "2020-12-15 01:00:00")

get_agro_data(1:10, "2020-11-30 01:00:00", "2020-12-15 01:00:00", verbose = TRUE)


get_agro_data_from_api(108, "2020-11-30 01:00:00", "2020-12-15 01:00:00")


jbkunst/agrometR documentation built on Oct. 3, 2023, 1:33 a.m.