get_coagmet_data: Get CoAgMet Data

Description Usage Arguments Value

View source: R/get-coagmet-data.R

Description

Get CoAgMet Data

Usage

1
2
3
4
5
6
7
8
9
get_coagmet_data(
  table = c("meta", "daily", "hourly", "five_minute", "soilmoisture_daily",
    "soilmoisture_hourly"),
  stations = NULL,
  geo_region = NULL,
  start_date = NULL,
  end_date = NULL,
  elements = NULL
)

Arguments

table

A character specifying which data table to get. Can be one of "meta", "daily", "hourly", "five_minute", "soilmoisture_daily", "soilmoisture_hourly".

stations

An optional vector of weather station names to get data for. See https://coagmet.colostate.edu/station_index.php. Defaults to all stations.

geo_region

A numeric vector of length 4. Used to specify southwest and northwest coordinates of the geographic region (box) in which data should be retrieved.

start_date

Start date in yyyy-mm-dd format.

end_date

End date in yyyy-mm-dd format.

elements

A character vector of one or more elements found in table. Default is to get all elements.

Value

A tibble


gacolitti/coagmetr documentation built on Feb. 29, 2020, 8:13 a.m.