mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-25 23:10:16 -07:00
Issue 919: Fix too many tracts issue (#922)
* Some cleanup, adding error warning to merge function * Error handling around tract merge
This commit is contained in:
parent
16eb29e429
commit
a4108d24c0
7 changed files with 105 additions and 70 deletions
|
@ -34,7 +34,8 @@ class ExtractTransformLoad:
|
|||
GEOID_TRACT_FIELD_NAME: str = "GEOID10_TRACT"
|
||||
# TODO: investigate. Census says there are only 217,740 CBGs in the US. This might be from CBGs at different time periods.
|
||||
EXPECTED_MAX_CENSUS_BLOCK_GROUPS: int = 250000
|
||||
EXPECTED_MAX_CENSUS_TRACTS: int = 73076
|
||||
# TODO: investigate. Census says there are only 73,057 tracts in the US. This might be from tracts at different time periods.
|
||||
EXPECTED_MAX_CENSUS_TRACTS: int = 74027
|
||||
|
||||
def __init__(self, config_path: Path) -> None:
|
||||
"""Inits the class with instance specific variables"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue