Road crash analysis using Folium in Python

Niki patel
Aug 31 · 1 min read

There were a total of 12,964 road crash recorded on South Australian roads in 2019. 114 people lost their lives in the road accident and 833(6.4%) of them were seriously injured (admitted to hospital with overnight stay). Adelaide CBD (postcode: 5000) recorded the highest crash and casualties (fatalities + treated injuries). The other accident-prone areas are from northern suburbs (postcode: 5108, 5112, 5095, 5094, 5082).

Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Read and aggregate the data
Get cleaned geodata for the listed postcode
Mapping crash data with postcode on Map
Run the map function

Dataset 1: Department of Planning, Transport and Infrastructure, Government of South Australia, Road Crash Data for 2019, Sourced on 31st August 2020, https://data.sa.gov.au/data/dataset/road-crash-data

Dataset 2: Department of Planning, Transport and Infrastructure, Government of South Australia, Suburbs (geojson), Sourced on 31st August 2020, https://data.sa.gov.au/data/dataset/suburb-boundaries

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store