In order to complete this assignment, I've used the following data:
Electric power consumption [20Mb]
I created 4 R scripts, each aimed to create one of the 4 plots required for this assigment. In order for the scripts to run properly, the above mentioned data file must be placed in the working directory.
Each script will:
- Load the data and format the date variable
- Subset the relevant section of the data
- Convert the date variable to the appropriate format
- Create the relevant plot
- Save the plot to a .png file
The resulting scripts are also available on this repo.