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.
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:
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.