As I explore the recording process, I will share my embarrassing lifestyle captured in April and how I progressed to live a more consistent life in a later month.
Since the purpose of the self-evaluation project is to analyze my lifestyle, recording meaningful data that can capture my day-to-day life is critical. Data is powerful because it provides insights that would otherwise be impossible to find if anyone was to analyze by simply looking back at one's life. It also allows the implementation of advanced Data Science techniques such as machine learning to create forecasts or to get suggestions on decision making. By utilizing Python and Notion API, I wanted to create an evaluation system that can be applied towards creating healthy habits, tracking project progress, or even evaluating the company's growth. In the end, I successfully assembled such a system by utilizing Python and various APIs.
Thus, first, we will begin by explaining which variables best describe my daily performance and how they are recorded.
To collect daily data, I have made good use of a collaboration platform called Notion. It was a suitable fit for my project since it allowed extensive data accumulation. It also helped handle diverse datasets, make functions within the platform, and connect to Python using its REST API.
Every night, corresponding values are plugged into each variable, shown on the left. Once recorded, created functions instantly calculate them into intended ratios. Note that the values shown below are the "perfect" case scenario, where it represents the most productive and abundant day.
Manaul Recording
Application Recording
Automated Recording
Notion provides a built-in function where basic coding can be implemented within the dataset. As shown above, these mathematical functions generate unique outputs(%) to demonstrate how I lived each day.
The top plot is from the data recorded in April 2021, and the bottom is from November 2021. These two visualizations best represent the different lifestyles of different time periods. As shown below, there were numerous fluctuations and inconsistencies in April. On the other hand, the plot of November is more stable and fulfilling. With these data visualizations, different lifestyles and motivation levels can be easily observed.
Top Plot Description
Purple line: total percentage of how I lived each day (left y-axis)
Green dashed line: wake-up time (right y-axis)
Red bar: Reading (minutes)
Yellow bar: Meditation (minutes)
Red dot: Days I drank beer
Bottom Plot Description
Rise Time Histogram: It gives average wake up time and its distribution
If these datasets were to be downloaded every time new evaluations are recorded, that would be extremely redundant. Hence, writing a code that directly connects to the Notion API enhances efficiency when retrieving data.
With such data, there are powerful things that can be done. In my case, these are a few analyzations that were done through python and R.
All codes can be viewed on Github
created with
Website Builder Software .