Interative Webapp to visualize upward mobility across the US at a county level. The Upward Mobility web application is built with Django and hosted on pythonanywhere.
This project is used along with the Streamlit app integrated as an iframe.
The data referenced and used for this project was collected, cleaned, and merged using jupyter notebooks and is documented in the Upward Mobility Repo.
Project setup:
- set up virtual environment outside of project
python -m venv myvenv
where myvenv can be whatever name you want.
source myvenv/bin/activate
- clone project
git clone https://github.com/RachellCalhoun/us-upward-mobility.git
- cd us-upward-mobility (go into folder)
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver --settings=upwardmobility.local_settings
If you want to contribute:
git pull origin main
to make sure your local version is the most updated versiongit checkout -b my-descriptive-branch-name
(where you create a descriptive branch name, maybe include your name) ei: raca-fix-header- when it's done and how you like it, save then run (in the base/root of the directory):
git status
to make sure you are only updating what you intend togit diff
will show you the differences in detailgit add --all
when you are happy with those changesgit commit -m"message here"
git push origin my-descriptive-branch-name
You can then go to github and review the changes by submitting a Pull Request, and ask for review or merge directly.