Usage | 6. Data imports for prioritizing growth¶
This notebook explains how custom data sets can be imported into GrowBikeNet to reprioritize growth, adapting to a local situation and growing more realistically.
Parameters covered: import_files['point_data'], import_files['trip_data']
We start every Usage notebook with the standard way of importing GrowBikeNet:
import growbikenet as gbn
Re-prioritizing growth with point data¶
Here we work with Turin, Italy. By default GrowBikeNet orders edges by betweenness centrality, which is a proxy for expected flow of cyclists in the city. However, the city might have access to additional data sets that can inform the priority of some links. For example, in Turin, there is point data available on traffic crashes. It could be the city’s goal to prioritize bicycle network development in places where there are more traffic crashes reported. This is possible by loading the crash data via the import_files['point_data'] parameter.
First, let’s have a look at the crash data: