Skip to contents

Compare two cohort tables

Usage

compare_cohorts(left, right, examples = 0L)

Arguments

left, right

Data frames with subject_id, cohort_start_date and cohort_end_date.

examples

Number of example ids to list from each side's extras (keep 0 unless the data are synthetic).

Value

A list of counts; match is TRUE when the (subject, start, end) rows are the same.