Skip to contents

Generates an authoritative manifest of cohort sample sizes and outcome event counts.

Usage

numbers_of_record(
  cohorts,
  outcome_col = "outcome",
  site_col = "site",
  path = NULL
)

Arguments

cohorts

Named list of cohort data frames.

outcome_col

Name of outcome column (default 'outcome').

site_col

Name of site column (default 'site').

path

Optional JSON file path to write manifest.

Value

Named list manifest.