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.
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.