Description Usage Arguments Examples
This function scrapes monthly natural gas consumption (MMcf) delivered to residential end user from EIA website at a state level. The output is a dataframe containing scrapped data with "Date" as the first column, followed by the US totaland monthly data of 51 states.
1 | NGres.scrape(startdate, enddate)
|
startdate |
a character string to indicate the starting date, in the format of "YYYY-MM" |
enddate |
a character string to indicate the ending date, in the format of "YYYY-MM" |
1 2 | # scrape natural gas residential consumption from Jan 1990 to Dec 2017
NGres.scrape(startdate = "1990-01", enddate = "2017-12")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.