Track legislation, executive orders, and maybe other stuff in a easy-to-understand way.
There are four main views on the website:
- Overview of all bills from current Congress.
- List of all bills on the docket, moving into, or heading out of a given Chamber (or the Executive branch).
- List of all bills in a given Chamber with a specific status (e.g. In Committee, On the Docket, Entering from Other Chamber, Dead, etc)
- Pages showing detailed info on individual bills, including:
- Names and contact info of the bill's sponsors
- Summary of the bill
- Full text of the bill
Views 1, 2, and 3 can be filtered on any combination of the following attributes:
- Party of a bill's sponsors
- Which committee has "jurisdiction" over a bill
- Bill topic(s) (E.g. taxes, tariffs, defense, infrastructure, etc.)
- Bill status
- Full text (enables search for string matching)
- Current bill statuses
- Will likely require additional calculation
- Bill ID numbers
- Bill summary
- Bill's sponsors
- Party affiliation(s) of bills' sponsors
- Bill topic(s)
- May require additional calculations
- Committee jurisdiction of each bill
- Full text (enables search for string matching)
- Current bill statuses
- Will likely require additional calculation
- Bill ID numbers
- Bill summary
- Bill's sponsors
- Party affiliation(s) of bills' sponsors
- Bill topic(s)
- May require additional calculations
- Committee jurisdiction of each bill
- Full text (enables search for string matching)
- Current bill statuses
- Will likely require additional calculation
- Bill ID numbers
- Bill summary
- Bill's sponsors
- Party affiliation(s) of bills' sponsors
- Bill topic(s)
- May require additional calculations
- Committee jurisdiction of each bill
- Date that bill was introduced (?)
- Dates of all changes to bill's status (?)
- Full text (enables search for string matching)
- Bill ID number
- Bill title
- Bill's sponsors
- Contact info for the bill's sponsors
- Party affiliation of the bill's sponsors
- Bill summary
- Full text of the bill
- Date that bill was introduced (?)
- Dates of all changes to bill's status (?)
- Bill topic(s)
- May require additional calculations
- Committee jurisdiction of each bill
This is for Mac. If you're not on Mac, you're hosed.
- Install Postgres (postgresapp.com)
- After installation add the following line to your
~/.bash_profile:export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/latest/bin - Then, run
source ~/.bash_profilein any terminal windows you have open.
- After installation add the following line to your
- Install npm (aka node):
brew install node - Make sure you're using python3
- With anaconda:
conda create --name panopticon_app python=3, thensource activate panopticon_app
- With anaconda:
- Install Django:
pip install Django - Install psycopg2
pip install psycopg2 - Now,
cdinto theclientdir, and runnpm install - In the top level of the
clientdir, runmkdir app, thennpm run build-once - Then,
cd ..; django-admin startproject server. This creates Django project. You only need to do this once per project.
- Typically, will enter stuff like this from w/in the project root (in this case,
/panopticon)python manage.py <some command>
- To run the development (NOT PRODUCTION) server, enter
python manage.py runserver - Anytime you edit/update
client/index.js, you need to re-runnpm run build-once