Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.2.0 #25

Merged
merged 7 commits into from
Mar 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
**0.2.0 - 03/31/23**

- Implemented W2/1099 forms
- Implemented typographic noise function
- Implemented incorrect selection noise function

**0.1.0 - 03/23/23**

- Initial release
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ include README.rst
recursive-include docs *
prune docs/_build

recursive-include src/pseudopeople *.py *.yaml
recursive-include src/pseudopeople *.py *.yaml *.csv
recursive-include tests *.py *txt *.yaml
2 changes: 1 addition & 1 deletion src/pseudopeople/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
__summary__ = "pseudopeople is package which adds noise to simulated census-scale data using standard scientific Python tools."
__uri__ = "https://github.com/ihmeuw/pseudopeople"

__version__ = "0.1.0"
__version__ = "0.2.0"

__author__ = "The pseudopeople developers"
__email__ = "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion src/pseudopeople/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
__uri__,
__version__,
)
from pseudopeople.interface import generate_decennial_census
from pseudopeople.interface import generate_decennial_census, generate_w2
9 changes: 9 additions & 0 deletions src/pseudopeople/constants/paths.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from pathlib import Path

import pseudopeople

BASE_DIR = Path(pseudopeople.__file__).resolve().parent
DATA_ROOT = BASE_DIR / "data"

INCORRECT_SELECT_NOISE_OPTIONS_DATA = DATA_ROOT / "incorrect_select_options.csv"
QWERTY_ERRORS = DATA_ROOT / "qwerty_errors.yaml"
52 changes: 52 additions & 0 deletions src/pseudopeople/data/incorrect_select_options.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
state,relation_to_household_head,sex,race_ethnicity,tax_form,event_type
AL,Reference person,Female,White,W2,creation
AK,Opp-sex spouse,Male,Black,1099,death
AZ,Opp-sex partner,,Asian,,
AR,Same-sex spouse,,AIAN,,
CA,Same-sex partne,,NHOPI,,
CO,Biological child,,Multiracial or Other,,
CT,Adopted child,,Latino,,
DE,Stepchild,,,,
FL,Sibling,,,,
GA,Parent,,,,
HI,Grandchild,,,,
ID,Parent-in-law,,,,
IL,Child-in-law,,,,
IN,Other relative,,,,
IA,Roommate,,,,
KS,Foster child,,,,
KY,Other nonrelative,,,,
LA,Institutionalized GQ po,,,,
ME,Noninstitutionalized GQ pop,,,,
MD,,,,,
MA,,,,,
MI,,,,,
MN,,,,,
MS,,,,,
MO,,,,,
MT,,,,,
NE,,,,,
NV,,,,,
NH,,,,,
NJ,,,,,
NM,,,,,
NY,,,,,
NC,,,,,
ND,,,,,
OH,,,,,
OK,,,,,
OR,,,,,
PA,,,,,
RI,,,,,
SC,,,,,
SD,,,,,
TN,,,,,
TX,,,,,
UT,,,,,
VT,,,,,
VA,,,,,
WA,,,,,
WV,,,,,
WI,,,,,
WY,,,,,
DC,,,,,
Loading