Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

CargoRocket/CargoBikeIndex-Prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

CargoRocket CargoBikeIndex

! DEPRECATED: Map with CargoBikeIndex is now directly integrated into the website !

R ShinyApp to create and visualize the CargoBikeIndex.

See live demo: Stuttgart

Score Interpretation

A score of 0 means not usable for cargo bikes. A score of 5 means perfect conditions.

Run the CargoBikeIndex app

Run app.R to create a ShinyApp with a CargoBikeIndex Map. It shows an overall CargoBikeIndex, as well as the underlying parameters, such as street quality, surface, road type, barriers, traffic and incline.

To get a proper Mapbox Basemap, insert your Mapbox API Token mapbox_key into R/env.R.

The App runs for any desired city - given the data is provided. Within shinyapp/R/config.R a city_name with an according pbf_file and geo_selection_file can be set. The corresponding OSM pbf file and geo_selection_file needs to be places in the data folder (placed in the root folder). E.g., if you want to run the App for Friedrichshain-Kreuzberg, you can use the the pbf file for Berlin and store the outline of Friedrichshain-Kreuzberg as a geojson (or any other geodata format) and set the name of the geo_selection_file accordingly. If geo_selection_file is set to NA then the entire pbf file will be used. If the dataset is too large this might get very slow!