- You could test the data pipeline with a month long export as a POC to make sure things are working.
- Instead of removing by subsetting your could rename using the ID value early in the script: e.g. electricity_usage$Name[electricity_usage$Device.ID == “XXXXXX”] <- “New_device_Name#1”
- Once the ggplot is computed you can adjust the ggsave line to save the plot as a bigger png/pdf/jpg if you have a bunch of devices WITHOUT recomputing the plot. Handy if everything is squished up and the plot needs to be wider or higher. I believe that ggsave supports a width/height up to 50. I typically go up to 48 if needed. Happy plotting!