get_agro_data_dmc: Get data from https://climatologia.meteochile.gob.cl API

View source: R/get_agro_data_dmc.R

get_agro_data_dmcR Documentation

Get data from https://climatologia.meteochile.gob.cl API

Description

Get data from https://climatologia.meteochile.gob.cl API

Usage

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

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

Arguments

stations_id

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

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_dmc(180042 , "2020-11-30 01:00:00", "2020-12-15 01:00:00")

get_agro_data_dmc(c(230004, 220002), "2020-11-30 01:00:00", "2020-12-15 01:00:00", verbose = TRUE)


get_agro_data_from_api_dmc(380013, "2020-11-30 01:00:00", "2020-12-15 01:00:00")


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