View source: R/import_extreme_temp.R
import_extreme_temp | R Documentation |
This function imports the number of days per year that temperatures were below the 5th percentile and above the 95th percentile from ClimateAnalyzer.org into R.
import_extreme_temp(
station_id,
start_year,
end_year,
station_type,
year = NULL
)
station_id |
The character string of the station_id field from
|
start_year |
The four digit number of the last year of interest. |
end_year |
The four digit number of the last year of interest. |
station_type |
A character string for the type of weather station the data are being pulled from. Options include "GHCN", "SNOTEL", and "RAWS". |
year |
A character string for the year period. Options include "year" for calendar year and "water_year". Default is "year". If using "water_year"ensure that the start_year is the year prior to the period of interest. |
A tibble
.
The import_data
wrapper function.
library(climateAnalyzeR)
import_extreme_temp (station_id = "tumacacori", start_year = 1991, end_year =
2020, station_type = "GHCN", year = "year")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.