Downloads incident data from SPR database.
Usage
fetch_violence_vandalism_hib(
end_year,
level = "school",
with_status = FALSE,
with_denominator = FALSE
)Arguments
- end_year
A school year (2017-2025)
- level
One of "school" or "district"
- with_status
Logical, default
FALSE. IfTRUE, appendsvalue_status, classified from the raw incidents-per-100-students rate token before numeric coercion.- with_denominator
Logical, default
FALSE. IfTRUE, appendsn_studentsfrom the matching total-enrollment row infetch_enronend_yearand CDS identifiers. Unmatched rows remainNA.