Skip to content

Prototype and Report for Geodemographic Identification for Danish municipalities using Open Source data from Statistikbanken.dk

Notifications You must be signed in to change notification settings

frederikgramkortegaard/geodemographic_identification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geodemographic Identification

Say that a bussiness wanted to find the region which has the lowest population of elders, highest concentration of libertarian voters and greatest quantity of banks per square kilometer, this web-service ranks municipalicties by these properties using user-provided priorities for each metric, visualizing this as a heatmap of danish counties and exposing the downloadable raw data to the user.

All of the data used can be found on statistikbanken.dk which makes an incredible amount of very detailed data available to the public free of charge.

📌 It is highly recommended to read the innovation.pdf file as this contains a detailed description of the prototype, business applicability, and potential monitization strategies.

Prerequisites

The only requirements barring the requirements.txt file which will be used to install the relevant Python packages, is Python 3.8 and a corresponding PIP installation.

Installation

Clone the repository

$ git clone https://github.com/frederikgram/innovation.git
$ cd innovation

Create a virtual environment

$ python3 -m venv env

Activate the environment

  • For Linux Machines
$ source ./env/bin/activate
  • For Windows Machines
$ env\Scripts\activate.bat

Install dependencies

$ pip3 install -r requirements.txt

Usage

To initialize the web-service, change directory into webservice

$ cd webservice

Setup the FLASK environment

  • For Linux Machines
$ set FLASK_APP=app.py
  • For Windows Machines
$ export FLASK_APP=app.py

From here the webservice can be started using:

$ flask run

and is now accessible at localhost:5000

About

Prototype and Report for Geodemographic Identification for Danish municipalities using Open Source data from Statistikbanken.dk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •