Summarise Periods
summarise_periods.Rd
Summarise time periods in an IIDDA dataset.
Usage
summarise_periods(data, cutoff = 50)
summarise_periods_vec(period_start_date, period_end_date, cutoff = 50)
Arguments
- data
Data frame hopefully containing both `period_start_date` and `period_end_date`. If either are missing an error results.
- cutoff
Number of characters, above which the output string takes the form `max-date to min-date (with gaps)`.
- period_start_date
Column with the start dates of the periods.
- period_end_date
Column with the end dates of the periods.