Skip to content

Commit

Permalink
Merge pull request #25 from ihmeuw/develop
Browse files Browse the repository at this point in the history
Release v0.2.0
  • Loading branch information
rmudambi authored Mar 31, 2023
2 parents e2a802f + 9cdf118 commit ac7a463
Show file tree
Hide file tree
Showing 20 changed files with 1,286 additions and 136 deletions.
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

0 comments on commit ac7a463

Please sign in to comment.