Steven Sanderson charts some prices:
If you live in New York and rely on heating oil to keep your home warm during the colder months, you know how important it is to keep track of heating oil prices. Fortunately, with a bit of R code, you can easily access the latest heating oil prices in New York.
The code uses the
{dplyr}
package to clean and manipulate the data, as well as the{timetk}
package to plot the time series.
Read on for an overview of what the code does, followed by the code itself and a time series plot at the end.