Zillow: Decode Montreal's crime landscape using reverse geocoding and spatial analysis. Python, Folium, GeoPandas, Nominatim.
Zillow's data team is evaluating whether city-published crime data could serve as a candidate input to neighborhood-level scores. This project uses an open crime dataset from the City of Montreal as the test case: the question is what a dataset of this shape supports analytically — how reliably incidents can be placed in a neighborhood, and how much signal survives that aggregation — before anything like it is considered for a production input.
Analyze the data and draw conclusions on the distribution and nature of crime in Montreal City. In your analysis, include maps that visualize the location of different incidents globally and in relation to police districts. Your analysis may also provide answers to the following questions:
You may consider all provided data or a selected timeframe. You are also free to explore the data further and extract additional insights other than the questions above.
The file actes-criminels.csv contains the list of criminal acts recorded by the Service de police de la Ville de Montréal (SPVM). Description of columns and translation of values:
CATEGORIE (list of values) : Nature of the event:
DATE (date) : Date the event was reported to the SPVM in YYYY-MM-DD format;QUART (list of values): Time of day the event was reported to the SPVM:
PDQ (numeric) : Number of the police precinct covering the territory where the event took place;X (spatial coordinates): Geospatial position in MTM8 projection (SRID 2950);Y (spatial coordinates): Geospatial position in MTM8 projection (SRID 2950);LATITUDE (spatial coordinates): geographical position of the event after obfuscation to an intersection according to the WGS84 geodetic reference frame;LONGITUDE (spatial coordinates): geographical position of the event after obfuscation at an intersection according to the WGS84 geodetic reference frame;The file limitespdq.geojson contains the area covered by each SPVM (police) precinct. Description of columns:
PDQ (numeric): precinct number (corresponds to the field PDQ in the first dataset);Nom_PDQ (text): Name of the precinct;WKT (text): Geometry in "well-known text" format of the multiple polygon corresponding to the territory of the precinct;For some analysis, you may want to extract the name of the neighborhood or an address from the geographic coordinates. To do this, you are encouraged to use a geocoding API such as Nomatim.
Analyze the provided data and answer the questions to the best of your abilities. Include the relevant tables/graphs/visualization to explain and support your findings. Make sure that the solution reflects your entire thought process including the preparation of data - it is more important how the code is structured rather than just the final result or plot. You are expected to spend no more than 3-6 hours on this project.
See the full interview round by round, with questions for each stage.