create_weekmatrices

bandicoot.weekmatrix.create_weekmatrices(user, split_interval=60)

Computes raw indicators (e.g. number of outgoing calls) for intervals of ~1 hour across each week of user data. These "week-matrices" are returned in a nested list with each sublist containing [user.name, channel, weekday, section, value].

Parameters

user : object

The user to create week-matrices for.

split_interval : int

The interval in minutes for which each indicator is computed. Defaults to 60. Needs to be able to split a day (24*60 minutes) evenly.