normals | R Documentation |
This function imports 30-year normals calculated by NOAA from ClimateAnalyzer.org into R.
normals(ref_period = "1991-2020", station_id = NULL, tidy = TRUE)
ref_period |
The string for 30-year reference period. The user can choose "1971-2000", "1981-2010", or "1991-2020". Default is "1991-2020". |
station_id |
Optional. The character string of the station_id
field from |
tidy |
Logical. Returns tidy data. Default is TRUE.
|
A tibble
.
library(climateAnalyzeR)
# Import 1981-2010 normals. Default.
normals(station_id = "capitol_reef_np")
# Import 1971-2000 normals for multiple stations
normals(ref_period = "1971-2000",
station_id = c("dinosaur_nm", "dinosaur_quarry_area"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.