After finishing the rough version of the weekly report, I consulted with Mr. Navkal about including additional pertinent data for the most useful possible report. He sent along a list of data points that should be included for each room:
On Monday (before today's class), I put in about an hour of work at home in order to accomplish these objectives. In class today, I was able to finish a version that achieved all these objectives! One challenge that I encountered was that in my first draft of this version, I calculated all these data points for each day. However, as I was finding the mean and median temperature and carbon dioxide throughout the week, I realized that this data point could not be aggregated daily and then weekly. This is true because in a data set, the mean of the means of different parts (days) is not necessarily the mean of all the data, and the same goes for the medians. I eventually saved all the temperatures and carbon dioxide values alone with their room numbers to sort of a copy database, which was not accessed until the weekly task (Task 4). This use case was an important example of why it is important to have copies of the raw data, so that it is easier to obtain accurate analysis later on. Now that the bulk of the data analysis work is done, I will work on deploying this new code to the server and start gathering data in real time! Comments are closed.
|
AuthorI'm a high school senior and programming enthusiast. Archives
March 2022
Categories |