HDD.scrape: Scrape Monthly Heating Degree Days State Data from NOAA

Description Usage Arguments Examples

Description

This function scrapes monthly Hooling 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.

Usage

1
HDD.scrape(startdate, enddate)

Arguments

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"

Examples

1
2
# scrape heating degree days from 1990 to 2017
HDD.scrape(startdate = "1990-01-01", enddate = "2017-12-01")

xjessiex/envutils documentation built on May 7, 2019, 9:24 p.m.