mrbrianevans / social-media-export-analyser

Analyse GDPR exports of your data from big social media companies
https://social-media-export-analyser-mrybc.ondigitalocean.app/
MIT License
1 stars 0 forks source link

Add time series analaysis #54

Closed mrbrianevans closed 2 years ago

mrbrianevans commented 2 years ago

Add an analyser that takes an array of dates and optionally quantities and aggregates the data in a way that can be displayed visually.

Example:

const data = [ '07/02/2022', '31/01/2022', '24/01/2022', '17/01/2022', '10/01/2022', '03/01/2022', '27/12/2021', '20/12/2021']
analyseTimeSeries(data) // -> grouped by daily, weekly, monthly, day of week, time of day

This can be used for cases such as the most common time of day that a user tweets. Or the day of the week that a user watches the most youtube videos. Or the time of year that a user listens to more music.