Description Usage Arguments Value References Examples
Returns daily temperature (Fahrenheit), precipitation (T/F), or wind (mph) data using the NOAA API. Must set API key via set_api_key_noaa() prior to use. Request key here get key here https://www.ncdc.noaa.gov/cdo-web/token.
1 | get_noaa(.date_start, .date_end, noaa_station)
|
.date_start |
the starting date to retrieve data for |
.date_end |
the end date to retrieve data for |
noaa_station |
the id of the NOAA station |
a tibble of weather data
https://www.ncdc.noaa.gov/cdo-web/webservices/v2
1 2 3 4 5 6 7 8 | ## Not run:
set_api_key_noaa('<key>')
date_start <- '2021-09-10'
date_end <- '2021-09-22'
noaa_station <- 'GHCND:USW00094728'
get_noaa(date_start, date_end, noaa_station)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.