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.
In [ ]:
# You can use .explore() to interactively explore the data or .plot() to plot the data
# destinations_hospitals.plot()
Hospitals.explore()
Out[ ]:
Make this Notebook Trusted to load map: File -> Trust Notebook
Step 7: Accessibility Analysis¶
In [ ]:
# Or instead, you can use explore for an interactive plot.
join.explore(column="Access_Health Care Facilities", scheme='natural_breaks',cmap="plasma")
Out[ ]:
Make this Notebook Trusted to load map: File -> Trust Notebook