Cohort Analysis
cohort.RdA database is remake of 'https://github.com/PeerChristensen/cohorts' excellent cohort package combining chort_table_month, cohort_table_year, cohort_table_day into a single package. Re-written to be database friendly tested against snowflake and duckdb databases
Details
- This will group your - .valuecolumn by shared time attributes from the- .datecolumn
- It will assign to each member a time base cohort based on the member's first entry in the - .datecolumn
- The cohort will be generalized by the time_unit argument you selected 
- Then the distinct count of each cohort member over time is calculated