From 2e39135c9c4ce6037b6be57e68ed77b1e876dcba Mon Sep 17 00:00:00 2001 From: Tushar Chandra Date: Tue, 23 Aug 2016 09:58:36 -0500 Subject: [PATCH] Add sumlevels 252 and 254 to SUMLEV_NAMES Add sumlevels 252 and 254 to the list of valid sumlevels. This is related to censusreporter/censusreporter#34 with proper handling of sumlevels 250, 252, and 254. --- census_extractomatic/api.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/census_extractomatic/api.py b/census_extractomatic/api.py index df12f95..3a2b936 100644 --- a/census_extractomatic/api.py +++ b/census_extractomatic/api.py @@ -100,8 +100,10 @@ "160": {"name": "place", "plural": "places", "tiger_table": "place"}, "170": {"name": "consolidated city", "plural": "consolidated cities", "tiger_table": "concity"}, "230": {"name": "Alaska native regional corporation", "plural": "Alaska native regional corporations", "tiger_table": "anrc"}, - "250": {"name": "native area", "plural": "native areas", "tiger_table": "aiannh"}, + "250": {"name": "native area", "plural": "native areas", "tiger_table": "aiannh250"}, "251": {"name": "tribal subdivision", "plural": "tribal subdivisions", "tiger_table": "aits"}, + "252": {"name": "native area (reservation)", "plural": "native areas (reservation)", "tiger_table": "aiannh252"}, + "254": {"name": "native area (off-trust land)", "plural": "native areas (off-trust land)", "tiger_table": "aiannh254"}, "256": {"name": "tribal census tract", "plural": "tribal census tracts", "tiger_table": "ttract"}, "300": {"name": "MSA", "plural": "MSAs", "tiger_table": "metdiv"}, "310": {"name": "CBSA", "plural": "CBSAs", "tiger_table": "cbsa"},