Filtering of date interval data within study interval.
Can be used for filtering e.g. for hospital visits, which are date intervals (time periods).
The function finds rows for which ival_var overlaps with interval created based on index_date , time_before and time_after . |