https://stumpfkevin.medium.com/real-time-aggregation-features-for-machine-learning-part-2-fe9fd42522c0