Skip to contents

Collect every failing case

Usage

collect_issues(
  src = read_src(),
  flags = NULL,
  value_checks_990 = NULL,
  flags_pf = NULL,
  value_checks_pf = NULL,
  pf_concordance = NULL,
  reports_dir = "reports",
  validation_log = read_validation_log()
)

Arguments

src

Component tables (default read_src()).

flags

Evidence flags for 990/990-EZ (flag_xpaths() output).

value_checks_990

Output of run_value_checks() for 990/990-EZ.

flags_pf, value_checks_pf

The same for the 990-PF (optional).

pf_concordance

The v1 PF concordance, used to show PF tables.

reports_dir

Directory of rendered variable reports, used for links.

validation_log

Reviewer decisions (read_validation_log()); cases accepted there are left out.

Value

A data.table, one row per case.