Skip to contents

Validates every packet in directory and pools them with DerSimonian-Laird random effects (Cochran's Q, I^2, tau^2). Mirror of omop_etl.telemetry.aggregate_telemetry.

Usage

aggregate_telemetry(directory, pattern = "\\.json$")

Arguments

directory

Directory of packet JSON files, one per site.

pattern

Glob for the packet files.

Value

A list: sites, excluded (suppressed sites), n, n_events, auroc and cal_slope random-effects summaries, n-weighted brier, prevalence and auprc_weighted (AUPRC does not pool exactly).