Description Usage Arguments Details
Generate long table, with profile_id per each day within the period
1 | get_active_profiles_daily(dt, analysis_period)
|
dt |
input data.table |
analysis_period |
period to analyse |
There are following steps - leave only changes related to status, while flattening all the others - trim down profile_id to only these, which had at least one active day within the period; it allows to reduce no of profiles significantly - create sequence of dates, for the analysis period - roll join datasets, producing long table with dates, profile_id and status
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.