daily: Download Daily Summaries

View source: R/daily.R

dailyR Documentation

Download Daily Summaries

Description

Download Daily Summaries

Usage

daily(station_id, start_date, end_date, variables = c("tmax", "tmin", "prcp"))

Arguments

station_id

Character, station id(s).

start_date

Character, start date.

end_date

Character, end date.

variables

Character, vector of the variables to include.

Details

station_id can be a vector with multiple stations. Dates should be given in YYYY-mm-dd format. Available variables can be found at https://www.ncei.noaa.gov/pub/data/ghcn/daily/readme.txt.

Value

A tibble with the daily timeseries at the stations.

Examples

## Not run: 
CA003076680 <- daily("CA003076680", "1990-01-01", "2024-12-31") 

## End(Not run)

GHCNr documentation built on April 3, 2025, 11:16 p.m.