Skip to contents

Performs a technical privacy review of a data frame by looking for common identifier columns, optional retention concerns, and institution-specific review prompts. This is a screening helper, not a legal compliance determination.

Usage

review_privacy_risks(
  data = NULL,
  institution_type = c("educational", "research", "mixed"),
  check_retention = TRUE,
  retention_period = c("academic_year", "semester", "quarter", "custom"),
  custom_retention_days = NULL,
  audit_log = TRUE
)

Arguments

data

Data frame or tibble containing educational data.

institution_type

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

check_retention

Whether to run the retention-policy helper.

retention_period

Retention period: "academic_year", "semester", "quarter", or "custom".

custom_retention_days

Custom retention period in days, used when retention_period = "custom".

audit_log

Whether to record an in-memory review audit event.

Value

A named list containing the logical technical review status, detected identifier fields, recommendations, retention-review details, and institutional review prompts.