Skip to content

🚲 A shiny app to explore accidents in Germany as well as bicycle infrastructure and bike accidents Berlin.

License

Notifications You must be signed in to change notification settings

CorrelAid/xberlin

Repository files navigation

CorrelAid X Challenge Berlin

A shiny app to explore accidents in Germany as well as bike lane types and bike accidents Berlin.

Created for the CorrelAidX Challenge 2020 “Analysing and visualising German regional statistics with datenguidepy” by Cédric Scherer, Andreas Neumann, Saleh Hamed & Steffen Reinhold as contribution by CorrelAidX Berlin.

View the app online

Link to shinyapps.io

(The app is only optimized for desktop use. Please be patient, loading the data takes some time.)

Run the app as package

In your R console, run the following. Make sure the {devtools} package is installed as well (if not, run install.packages("devtools").

devtools::install_github("CorrelAid/xberlin")
xberlin::run_app(launch.browser = .rs.invokeShinyWindowExternal)

In some trial runs, three non-CRAN packages had to be installed manually. If you have the same problems, please install the GitHub versions with the following code:

devtools::install_github("RinteRface/fullPage")
devtools::install_github("JohnCoene/typed")
devtools::install_github("hadley/emo")

Run the app locally

  1. Clone the repo
  2. Open the project (click on the xberlin.proj file)
  3. Install package dependencies
  4. Open the script app.R
  5. Either run that script or press the Run App button in the toolbar

About

Re-thinking mobility is crucial to improve air quality and CO2 consumption in traffic. For this reason, Berlin has set itself the goal of getting away from a car based concept of mobility. Instead, Berlin wants to promote cycling as an environmentally friendly and sustainable mode of transportation.

At the same time, cyclists are the most at-risk group of all traffic participants. According to the accident statistics around a quarter of all accidents involve cyclists. And while accident numbers have generally declined over the last fifteen years in Berlin, they have recently remained rather stable with little improvements. In contrast, accident numbers have continued falling In other large German cities. The data also reveals that most bike accidents happen on roads without any sort of bike lane or on advisory bike lane paths. In around 80% of these accidents cars are involved putting cyclists at serious risk of getting injured or even killed.

While many people want to switch to cycling, safety concerns are deterring many people from using bikes more often. Perceived and actual risk of biking is a key determinant in mobility decisions. The importance ofthese risk considerations can be seen during the Corona epidemic when commuters have switched from public transit (where infection seems more likely) to cars and bicycles. To get people on the bike, safety has therefore to be improved. The recent change in mobility patters during the Corona epidemic has further increased the need to improve bike safety. But first, we need to understand where and why cyclists are at risk of having accidents.

Using publicly available data on accidents with injuries from the German Federal Statistical Office — provided by the datenguidepy wrapper and the “Unfallatlas” — as well as information on bicycle infrastructure and traffic cells(https://data.technologiestiftung-berlin.de/dataset/teil_verkehrszellen), the relevant areal unit for data collection and planning in Berlin, these questions are explored on the following pages.


Previews

Slide 1: Title Page

Slide 2: Introduction, Motivation & Background Information

Slide 3: Comparison of Reported Accidents with Injuries in Major Cities in Germany

Slide 4: Reported Accidents with Injuries in Berlin in 2019 per District and Road User

Slide 5: Berlin Map of Reported Bike Accidents with Injuries and Bicycle Infrastructure

Slide 6: Reported Bike Accidents with Injuries per Bike Infrastructure and Opponent

Slide 7: Berlin Map of Reported Bike Accidents with Injuries per Traffic Cell

Slide 8: About the Project

Slide 9: Methodology & Future Steps

Potential sources to calculate risks


MIT License

Copyright (c) 2020-2021 CorrelAid

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Code of Conduct

All pcontributors to xberlin are expected to abide by our Code of Conduct, both online and during in-person events that are hosted and/or associated with this project.

The Pledge

In the interest of fostering an open and welcoming environment, we pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. The Standards

Examples of behaviour that contributes to creating a positive environment include:

  • Using welcoming and inclusive language
  • Being respectful of differing viewpoints and experiences
  • Gracefully accepting constructive criticism
  • Referring to people by their preferred pronouns and using gender-neutral pronouns when uncertain

Examples of unacceptable behaviour by participants include:

  • Trolling, insulting/derogatory comments, public or private harassment
  • Publishing others' private information, such as a physical or electronic address, without explicit permission
  • Not being respectful to reasonable communication boundaries, such as 'leave me alone,' 'go away,' or 'I’m not discussing this with you.'
  • The usage of sexualised language or imagery and unwelcome sexual attention or advances
  • Swearing, usage of strong or disturbing language
  • Demonstrating the graphics or any other content you know may be considered disturbing
  • Assuming or promoting any kind of inequality including but not limited to: age, body size, disability, ethnicity, gender identity and expression, nationality and race, personal appearance, religion, or sexual identity and orientation
  • Attacking personal tastes
  • Other conduct which you know could reasonably be considered inappropriate in a professional setting.

Enforcement

Violations of the Code of Conduct may be reported by sending an email to [email protected]. All reports will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. Further details of specific enforcement policies may be posted separately.

We hold the right and responsibility to remove comments or other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any members for other behaviours that they deem inappropriate, threatening, offensive, or harmful.

Attribution

This Code of Conduct is adapted from dev.to.

About

🚲 A shiny app to explore accidents in Germany as well as bicycle infrastructure and bike accidents Berlin.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published