Follow the money paid to retired public-sector employees throughout Illinois.
- Python 3.x
- PostgreSQL 9.x +
- Node /
npm wget
-
Clone this repository:
git clone https://github.com/datamade/bga-pensions.git
-
Set up docker
docker-compose up
The ETL process that supports this app encompasses two phases: formatting the data, and importing it into the Django database.
By default, the import will run for every year of data available, as of 2019.
To run the complete import, navigate to the project directory in your shell,
activate your virtual environment, and run make.
docker-compose run app makeYou can also define specific years to format and import. Simply define a custom
DATA_YEARS environmental variable as a string containing each of the years
you wish to import, separated by spaces.
docker-compose run -e DATA_YEARS="2018 2019" app make -eIf you wish to make the data without importing it, specify the data target.
docker-compose run app make data -e- TK use recipe from makefile to update fixtures from production