Skip to content

sampottinger/incomegaps

Repository files navigation

Income Gaps

In-browser exploration of income gaps between different populations.


Purpose

This interactive simulation allows users to explore differences in income across different occupations and subpopulations. This includes gender, race / ethnicity, age, education, etc. This also supports filtering and gini index.


Usage

Available online at https://incomegaps.com.


Local Development Environment

Simply run any local HTTP server capable of serving static files in the website folder. For example, use python -m http.server and navigate to http://localhost:8000/. Note that preprocessing scripts are in preprocess.


Testing

Automated tests are avialable either by navigating to http://localhost:8000/tests/tests.html assuming one is running a server in the website folder. Automated tests can also be run via Grunt:

$ npm install requirements.txt
$ grunt

Deployment

This can be deployed to any static file serving system.


Development Standards

Try for 80% test coverage and jsdoc for all public members.


Open Source

Code available under the MIT license (see LICENSE.md). Uses the following:


Data

Uses US Census Microdata samples via EPI Microdata Extracts. The live version at https://incomegaps.com uses April 2021 to April 2022. Citation: Economic Policy Institute. 2022. Current Population Survey Extracts, Version 1.0.29, https://microdata.epi.org.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published