Finnish municipal decision-making Django app
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 5 commits ahead, 44 commits behind City-of-Helsinki:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
decisions
paatos
.coveragerc
.dockerignore
.gitignore
.travis.yml
Dockerfile
README.md
docker-compose.yml
manage.py
requirements.in
requirements.txt
setup.cfg

README.md

Open decision API, 6Aika

Open decision API is providing decisions made by a city in a harmonized and machine-readable format. This app is developed using Django and Django Rest Framework.

Päätösrajapinta, 6Aika

Päätösrajapinta on avoin ohjelmointirajapinta (API), josta kaupungin päätökset saadaan esiin yhdenmukaisessa ja koneluettavassa muodossa.

Definition is here: https://github.com/6aika/api-paatos

Initialize database

DB=paatos
createdb ${DB}
psql ${DB} -c "CREATE EXTENSION postgis"
python manage.py migrate

Importing data

Helsinki organizations

python manage.py import_helsinki_orgs <organizations json file>

Decision data from Open Ahjo

python manage.py import_open_ahjo <decision data json file>

Decision data from Vantaa Tweb, Oulu Tweb or Espoo Dynasty (generated by Paatos-Scraper)

python manage.py import_oulu_tweb <path to zipfile generated by scraper>
python manage.py import_vantaa_tweb <path to zipfile generated by scraper>
python manage.py import_espoo_dynasty <path to zipfile generated by scraper>
python manage.py import_mikkeli_casem <path to zipfile generated by scraper>
python manage.py import_tampere_casem <path to zipfile generated by scraper>