Accessibility Modelling
Using the R5Py library to calculate the travel time matrix and analyze the accessibility of urban amenities The R5Py library, is a Python wrapper for the R5 routing engine. R5 is a multimodal routing engine that can be used to calculate travel times between locations in a city using different modes of transport, such as walking, cycling, and public transport. It is open-source, efficient and use real-time data and OpenStreetMap to provide accurate travel time estimates.
R5Py calculates the travel time matrix between origins and destinations.
# You can use .explore() to interactively explore the data or .plot() to plot the data
# destinations_schools.plot()
Schools.explore()
Step 7: Accessibility Analysis¶
Opportunities accessible within a certain travel time¶
It is important to understand the accessibility of urban amenities, such as food outlets, schools, and healthcare facilities, to different parts of the city. This information can help urban planners and policymakers identify areas with limited access to essential services and improve the overall accessibility of the city.
Similar case can be made for the accessibility of opportunities, such as jobs and schools.
In this case, we will calculate the number of schools accessible within 90 minutes of sustainable travel (walking, cycling and public transport) from each population grid in the city.
# Or instead, you can use explore for an interactive plot.
join.explore(column="Access_Senior Schools", scheme='natural_breaks',cmap="plasma")