NYCPlanning / db-acs

American Community Survey data processing for Population Fact Finder
4 stars 1 forks source link

rounding #6

Closed SPTKL closed 4 years ago

SPTKL commented 4 years ago

General rule:

Estimate General Rule, unless otherwise noted 0
MOE General Rule, unless otherwise noted 0
CV General Rule, unless otherwise noted   1
Percent General Rule, unless otherwise noted 1
Percent MOE General Rule, unless otherwise noted 1

Special rule:

Name Rule
MdAge 1 (E & M)
AvgHHSz 2 (E & M)
AvgFmSz 2 (E & M)
MnTrvTm 1 (E & M)
HOVacRt 1 (E & M)
RntVacRt 1 (E & M)
MdRms 1 (E & M)
AvgHHSOOc 2 (E & M)
AvgHHSROc 2 (E & M)
SPTKL commented 4 years ago
rounding = {
    'mdage':1,
    'avghhsz':2,
    'avgfmsz':2,
    'mntrvtm':1,
    'hovacrt':1,
    'rntvacrt':1,
    'mdrms':1,
    'avghhsooc':2,
    'avghhsroc':2
}

this step is implemented in the process of pivoting ... see 05_pivot.py