Description Usage Arguments Examples
This function scrapes monthly Cooling Degree Days (population-weighted) from NOAA website at a state level. Please note that Alaska and Hawaii are not included. The output is a dataframe containing scrapped data with "Date" as the first column, followed by the monthly data of 48 states.
1 | CDD.scrape(startdate, enddate)
|
startdate |
a character string to indicate the starting date, in the format of "YYYY-MM-DD" |
enddate |
a character string to indicate the ending date, in the format of "YYYY-MM-DD" |
1 2 | # scrape cooling degree days from 1990 to 2017
CDD.scrape(startdate = "1990-01-01", enddate = "2017-12-01")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.