https://github.com/datamade/bga-pensions
🏦 Funding public-employee pension systems is perhaps the most vexing emergency facing Illinois taxpayers. @bettergov hopes to bring clarity to this important topic by gathering and centralizing data from the largest public pension systems in the state.
https://github.com/datamade/bga-pensions
Last synced: about 1 year ago
JSON representation
🏦 Funding public-employee pension systems is perhaps the most vexing emergency facing Illinois taxpayers. @bettergov hopes to bring clarity to this important topic by gathering and centralizing data from the largest public pension systems in the state.
- Host: GitHub
- URL: https://github.com/datamade/bga-pensions
- Owner: datamade
- Created: 2019-06-27T20:46:37.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2025-02-13T20:28:44.000Z (over 1 year ago)
- Last Synced: 2025-03-24T16:38:00.715Z (over 1 year ago)
- Language: CSS
- Homepage: https://pensions.bettergov.org
- Size: 26.7 MB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 💵 bga-pensions
_Follow the money paid to retired public-sector employees throughout Illinois._
## Requirements
- Python 3.x
- PostgreSQL 9.x +
- Node / `npm`
- `wget`
## Getting started
1. Clone this repository:
```bash
git clone https://github.com/datamade/bga-pensions.git
```
2. Set up docker
```bash
docker-compose up
```
## Importing data
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`.
```bash
docker-compose run app make
```
You 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.
```bash
docker-compose run -e DATA_YEARS="2018 2019" app make -e
```
If you wish to make the data without importing it, specify the `data` target.
```bash
docker-compose run app make data -e
```
## Updating Pension Fund and Annual reports
1. TK use recipe from makefile to update fixtures from production