Question: Purpose: To learn how to download external economic data into RStudio and produce a time series plot of the data using the ts ( )

Purpose: To learn how to download external economic data into RStudio and produce a time series plot of the data using the ts() and autoplot() functions in the fpp2 library. This exercise is due on Canvas by class time Thursday, Jan. 25.
Download the Electricity.csv data you have been provided on Canvas into RStudio. Make a time series object of the data using the ts() function and then using the autoplot() function, produce a time series plot with a main title of Electricity Demand in MWH, an X-axis label of Year, and a Y-axis label of Electricity Demand. The data is monthly data starting in January of 1972 and ending in August of 1989. You can use the R program Ways of Reading Data into RStudio.R to guide you in completing this exercise.
Using the Copy Plot capability of RStudio and any snipping tool, report below the plot that you have produced.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!