This script is created for processing time series data. The purpose is to transform the original data into weighed-sum values based on different time threshold.
Sample data is available within data folder.
Special thanks to Prudence Katze, who helped me organized functions.