crime_hotspots
Identify high-crime areas in Mexico City by analyzing crime data from FGJ carpetas. Filter by year, district, or crime category to focus on specific safety concerns.
Instructions
Top colonies/alcaldías by crime count (FGJ carpetas).
Args: year: filter by anio_hecho (defaults to 2025). alcaldia: optional alcaldía filter (e.g. "CUAUHTEMOC"). UPPERCASE. category: optional crime category filter (e.g. "ROBO DE VEHICULO"). top_n: how many rows to return.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| alcaldia | No | ||
| category | No | ||
| top_n | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |