Ensures chronic absenteeism data is in tidy (long) format with standard column names and entity flags. The processed absence data is already in long format (one row per entity per subgroup), so this function adds entity identification flags and ensures consistent output structure.
Examples
if (FALSE) { # \dontrun{
wide_data <- fetch_absence(2024, tidy = FALSE)
tidy_data <- tidy_absence(wide_data)
} # }