staudt / Acidentes-POA

Visualização de métricas de acidentes de trânsito em Porto Alegre

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Acidentes-POA

Porto Alegre Traffic Accidents metrics visualization

Data:

Taken from http://www.datapoa.com.br/dataset/acidentes-de-transito

Requirements:

Python (download & install: https://www.python.org/downloads/) Flask (download & install: http://flask.pocoo.org/docs/0.10/installation/)

Setup:

  1. Unzip the files Acidentes-POA-master/dados/dados.zip into Acidentes-POA-master/dados
  2. Run: python rebuild_database.py
  3. Run: python run.py

Endpoints (all based on http://localhost:5000):

/ : main view /query/top/int:n : get the total top vias with accidents /query/top//int:n : get the top vias with accidents /db/int:index : get the json from the row where ID =

About

Visualização de métricas de acidentes de trânsito em Porto Alegre

License:MIT License


Languages

Language:JavaScript 99.6%Language:Python 0.3%Language:HTML 0.1%Language:CSS 0.0%