Local Climitalogical Data from NOAA
(character) station code, e.g., "02413099999". we will allow integer/numeric passed here, but station ids can have leading zeros, so it's a good idea to keep stations as character class. required
(integer) year, e.g., 2017. required
curl options passed on to crul::verb-GET
a data.frame with many columns. the first 10 are metadata:
And the rest should be all data columns. The first part of many column names is the time period, being one of:
So the variable you are looking for may not be the first part of the column name
See lcd_cache for managing cached files
Docs: https://www.ncei.noaa.gov/data/local-climatological-data/doc/LCD_documentation.pdf Data comes from: https://www.ncei.noaa.gov/data/local-climatological-data/access
1 2 3 4 5 6 7 8 9 10
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.