Skip to content

codeformuenster/parking-decks-muenster

Repository files navigation

parking-decks-muenster

History of parking deck data

Lizenz

Empfohlene Attribution: "Parkhausbelegung Stadt Münster (dl-de/by-2-0), historisiert von Code For Münster"

Originaldatenquelle:
Stadt Münster – Parkhausbelegung aktuell
Lizenz: Datenlizenz Deutschland – Namensnennung 2.0
https://opendata.stadt-muenster.de/dataset/parkleitsystem-parkhausbelegung-aktuell

This project extends the original data by collecting snapshots
every 5 minutes and storing them historically.

How to generate the data

Steps for reading the parkleitsystem data from here and writing the data into a .csv file:

  • Install dependencies, i.e. the python package BeautifulSoup:
    pip3 install bs4
    
  • Call the read_parkleitsystem_data script:
    python3 read_parkleitsystem_data.py
    

Steps for commiting the .csv file into the "data" folder on GitHub:

  • Generate a "personal access token" on GitHub:
    Go to your GitHub account "Settings", then "Developer Settings", "Personal access tokens" and "Generate new token".
  • Generate a file "config.py" (like config.dist.py) and copy your personal access token into the file.
    Note: Treat your personal access token like a password and NEVER check in your config.py.
  • Switch the remote URL of your cloned parking-decks-muenster repository to HTTPS (if cloned with SSH):
    command is git remote set-url; see this explanation)
  • Call the auto_commit script:
    python3 auto_commit.py
    

citizen-center-muenster

History of waiting time data in the citizen center of Muenster

Steps for reading the waiting time data from here and writing the data into a .csv file:

  • Install dependencies as described above, if not already done.
  • Call the read_waiting_time_data script:
    python3 read_waiting_time_data.py
    

Steps for commiting the .csv file into the "data_citizen_center" folder on GitHub:

  • Generate a "personal access token" on GitHub as described above, if not already done.
  • Generate a file "config.py" as described above, if not already done.
  • Switch the remote URL to HTTPS, if not already done.
  • Call the auto_commit script:
    python3 auto_commit.py
    

About

Archivierung der Belegung der Münsteraner Parkhäuser und Wartezeiten im Bürgerbüro

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages