Description Usage Arguments Examples
View source: R/noaa-weather-scraper.R
Get data from NOAA weather API for Ames, IA
1 2 | noaa_api_data(location = NULL, var = c("TMAX", "TMIN"),
date_min = "2008-01-01", date_max = Sys.Date(), quiet = T)
|
var |
variables to download (TMAX, TMIN by default, see rnoaa documentation for other options) |
date_min |
ymd format, minimum date |
date_max |
ymd format, maximum date |
quiet |
print messages? |
lat_long_df |
data frame with columns id, latitude, and longitude |
1 2 3 4 5 | ## Not run:
# Get Ames minimum and maximum temperature for 2017
noaa_api_data(date_min = "2017-01-01", date_max = "2017-12-31")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.