Skip to contents

Generates a lightweight report from review_privacy_risks(). The report is intended to support local review and documentation; it does not certify legal compliance.

Usage

generate_privacy_review_report(
  data = NULL,
  output_file = NULL,
  report_format = c("text", "html", "json"),
  include_audit_trail = TRUE,
  institution_info = NULL,
  institution_type = c("educational", "research", "mixed")
)

Arguments

data

Data frame or tibble containing educational data.

output_file

Optional file path for writing the report.

report_format

Output format: "text", "html", or "json".

include_audit_trail

Whether to include basic report metadata.

institution_info

Optional institution-provided metadata to include.

institution_type

Review context: "educational", "research", or "mixed".

Value

A named list containing report metadata, a summary, the underlying technical review results, and recommendations. When output_file is supplied, the same report is also serialized there.