Description Usage Arguments Details Value Examples
View source: R/get_weather_data.R
This is a wrapper function for the 3 main get_x_data functions in snowload2
1 2 3 4 5 6 | get_weather_data(
locations,
path = "ftp://ftp.ncdc.noaa.gov/pub/data/ghcn/daily/all/",
elem = c("SNWD", "WESD", "PRCP", "TMIN", "TMAX", "SNOW"),
...
)
|
locations |
character |
path |
character |
elem |
vector of which elements to be retrieved |
... |
other arguments |
You can enter in a list containing states, station IDS, and eco regions all at once, and get the weather data from all of them in one data frame.
NOTE: ECO REGIONS NOT SUPPORTED YET
data.frame
1 | # data <- get_weather_data(C("UT", "BF1BI000001"), "D:/Data/ghcnd_all/")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.