Giter VIP home page Giter VIP logo

traffic-dynamics's Introduction

traffic-dynamics

In this project, the automatic countings of bicycles and cars in Münster (Westf.), Germany are analyzed. This repository contains a Docker image in which the data are downloaded, preprocessed, and subsequently put in a database. The data come originally from the Stadt Münster and are available in this repository. The docker image from this repository is at the docker hub. The source code can be best understood by following the pipeline in src/000_run_pipeline.R.

There exists a front-end web-app visualizing the data using Shiny. The shiny-web-app is here, the code for the front-end can be found in this repository.

We are in the process of adding analyses of these data with machine learning and statistical tools.

Ideas for future development

  • use machine learning tools to predict the number of traffic participants: The idea is to predict number of cyclists based on date, hour, weather, etc. There is already some work done using Bayesian and non-Bayesian regression models (see files src/06_Bayesian_glms.R and src/06_glm_regression.R).
  • add model benchmarking (e.g. RMSE score, based on cross-validation)
  • migrate 'negative-binomial regression' to 'linear regression', due to normal distribution of target variable during day hours
  • grab live data from EcoCounter counting machines via https://github.com/derhuerst/eco-counter-client
  • interactive visualization of statistical model
  • compute ratio of space needed by bikes vs cars and the actual numbers of bikes/cars passing by
  • impute missing weather observations (assuming similar weather as e.g. 30 minutes earlier)

Ideas from talking to bike stakeholders

  • Pendler quantifizieren
    • Tagesverlauf (Pendlerpulse) visualisieren -> Pendler identifizieren
    • Daten zu stadtein- und auswärts nutzen
    • Wo / wann wird gependelt?
  • Ausweichen auf andere verkehrsmittel
    • Umstieg der Pendler aufs Auto im Winter / bei Schlechtwetter?
    • "Regeneffekt"
    • Vergleich mit Autozählstellen
    • Ausweichen auf ÖPNV oder auf Auto?
  • Auto & Luftqualität -> mehr Autos, schlechtere Luft?

Notizen / Ideen seitens der Stadt:

  • Daten sind nicht "kontrolliert" -> es kann gut sein, dass manche Zählschleifen nicht funktionieren oder manche Zählschleifen vertauscht sind.
  • Gibt es mehr Verkehr auf dem Albersloher Weg wegen Autobahnanschluss Hiltrup?
  • Radverkehr verhält sich sehr ähnlich zum Kfz-Verkehr (vom Muster her)
  • Münster ist Kfz-verkehrsmäßig am Limit, 3-4 % mehr Autos und es gibt Stau (z.B. bei schlechtem Wetter)
  • Radverkehrsplanung ist Schönwetterplanung

Contributors

Rechtliches

Quelltext

Copyright © 2017-2018 Thorben Jensen, Thomas Kluth

Deutsch

Dieses Programm ist Freie Software: Sie können es unter den Bedingungen der GNU General Public License, wie von der Free Software Foundation, Version 3 der Lizenz oder (nach Ihrer Wahl) jeder neueren veröffentlichten Version, weiterverbreiten und/oder modifizieren.

Dieses Programm wird in der Hoffnung, dass es nützlich sein wird, aber OHNE JEDE GEWÄHRLEISTUNG, bereitgestellt; sogar ohne die implizite Gewährleistung der MARKTFÄHIGKEIT oder EIGNUNG FÜR EINEN BESTIMMTEN ZWECK. Siehe die GNU General Public License für weitere Details.

Sie sollten eine Kopie der GNU General Public License zusammen mit diesem Programm erhalten haben. Wenn nicht, siehe http://www.gnu.org/licenses/.

Englisch

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Daten

Datenquelle: Stadt Münster

Datenlizenz Deutschland – Namensnennung – Version 2.0 (oder diese pdf-Datei)

traffic-dynamics's People

Contributors

ria768 avatar silberzwiebel avatar top-on avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

traffic-dynamics's Issues

visualize weather (rain, temperature)

Depends on having done #3 first.

Then, weather features could be toggable like time features for time series plots (rain: yes / no; temperature: slider like for hours, i.e., warmer / colder than ...), something rather quick then for #6

This issue is for more / different plots that visualize aggregated weather features (e.g., on how many days was it raining during commuting times?)

shiny: improve filtering UI

some improvements for shiny's selection of data:

  • plot more than one vehicle type at once
  • allow non-continuous subsets of times (e.g., all december, no matter what year)
  • allow to select all months / weekdays with a single click
  • only show UI options if the data contains them

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.