stations | R Documentation |
This function imports weather station information from ClimateAnalyzer.org into R.
stations(station_name = NULL, station_id = NULL, id = NULL)
station_name |
A string of the station name. This is used to reduce
the data frame using |
station_id |
A string of the station_id. This is used to reduce
the data frame using |
id |
A string of the station id. This is used to reduce the
data frame using |
A tibble
.
library(climateAnalyzeR)
# Import all information for all stations.
stations()
# Import station inforation using the name of the station
stations(station_name = "Black Canyon of the Gunnison")
# Import information for multiple stations using station_id
stations(station_id = c("blue_mesa_lake", "black_canyon_of_the_gunnison"))
# Import information for multiple stations using id numbers
stations(id = c(50754, 50797))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.