From b357ee9bf10d4ed2025da998830f10ac4d026bbc Mon Sep 17 00:00:00 2001 From: Jordan Inskeep Date: Tue, 16 Dec 2025 15:55:22 -0500 Subject: [PATCH 1/4] add geocode, not tested --- morpc/__init__.py | 1 + morpc/frictionless/frictionless.py | 6 +---- morpc/geocode.py | 39 ++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 5 deletions(-) create mode 100644 morpc/geocode.py diff --git a/morpc/__init__.py b/morpc/__init__.py index 68a3acd..90f145f 100644 --- a/morpc/__init__.py +++ b/morpc/__init__.py @@ -5,6 +5,7 @@ from .morpc import * from .logs import * +from .geocode import * import morpc.frictionless import morpc.census import morpc.plot diff --git a/morpc/frictionless/frictionless.py b/morpc/frictionless/frictionless.py index ec27d3f..816312c 100644 --- a/morpc/frictionless/frictionless.py +++ b/morpc/frictionless/frictionless.py @@ -84,11 +84,7 @@ def name_to_desc_map(schema): return {schema.fields[i].name:schema.fields[i].description for i in range(len(schema.fields))} -<<<<<<< HEAD -def cast_field_types(df, schema, forceInteger=False, forceInt64=False, nullBoolValue=False, handleMissingFields="error", verbose=False): -======= -def cast_field_types(df, schema, forceInteger=False, forceInt64=False, nullBoolValue=False, handleMissingFields="error", handleMissingValues=True, verbose=True): ->>>>>>> 9ca98ecf8915c3511b11ce73cad936925701444f +def cast_field_types(df, schema, forceInteger=False, forceInt64=False, nullBoolValue=False, handleMissingFields="error", handleMissingValues=True, verbose=False): """ Given a dataframe and the Frictionless Schema object (see load_schema), recast each of the fields in the dataframe to the data type specified in the schema. s diff --git a/morpc/geocode.py b/morpc/geocode.py new file mode 100644 index 0000000..c95dbe4 --- /dev/null +++ b/morpc/geocode.py @@ -0,0 +1,39 @@ +import logging +logger = logging.getLogger(__name__) + +def geocode(addresses: list): + """ + Geocode a list of adresses. + + Parameters: + ----------- + addresses : list + A list of addresses to pass to geopy. + + Returns: + -------- + pandas.DataFrame + + """ + + import pandas as pd, time + from geopy.geocoders import Nominatim + from geopy.extra.rate_limiter import RateLimiter + from tqdm import tqdm + + tqdm.pandas() + + df = pd.DataFrame({'address': addresses}) # needs column 'address' + + geolocator = Nominatim(user_agent="morpc-py", timeout=10) + + # Wrap with RateLimiter: min 1 sec between calls as per Nominatim policy + geocode = RateLimiter(geolocator.geocode, min_delay_seconds=1) + + df["location"] = df["address"].progress_apply(geocode) + df["lat"] = df["location"].apply(lambda loc: loc.latitude if loc else None) + df["lon"] = df["location"].apply(lambda loc: loc.longitude if loc else None) + + return df + + From 4864a33613350daefa57f8b6c6f1a1ad9d759b51 Mon Sep 17 00:00:00 2001 From: Jordan Inskeep Date: Tue, 23 Dec 2025 22:17:49 -0500 Subject: [PATCH 2/4] add geocode, edit api to init, add msa to geos --- morpc/census/__init__.py | 3 ++- morpc/census/geos.py | 5 ++++- morpc/frictionless/frictionless.py | 2 ++ morpc/geocode.py | 33 +++++++++++++++++++++++------- 4 files changed, 34 insertions(+), 9 deletions(-) diff --git a/morpc/census/__init__.py b/morpc/census/__init__.py index cfa2aca..74f301b 100644 --- a/morpc/census/__init__.py +++ b/morpc/census/__init__.py @@ -1,2 +1,3 @@ from .census import * -from .geos import * \ No newline at end of file +from .geos import * +from .api import * \ No newline at end of file diff --git a/morpc/census/geos.py b/morpc/census/geos.py index bc831c3..03ab29d 100644 --- a/morpc/census/geos.py +++ b/morpc/census/geos.py @@ -50,7 +50,10 @@ "region-corpo": { "in": "state:39", "for": f"county:{','.join([morpc.CONST_COUNTY_NAME_TO_ID[x][2:6] for x in morpc.CONST_REGIONS['CORPO Region']])}" - } + }, + "columbus-msa": { + "for": f"metropolitan statistical area/micropolitan statistical area:{morpc.CONST_COLUMBUS_MSA_ID}" + } } for x in STATE_SCOPES: diff --git a/morpc/frictionless/frictionless.py b/morpc/frictionless/frictionless.py index 816312c..f283b05 100644 --- a/morpc/frictionless/frictionless.py +++ b/morpc/frictionless/frictionless.py @@ -185,6 +185,8 @@ def cast_field_types(df, schema, forceInteger=False, forceInt64=False, nullBoolV outDF[fieldName] = outDF[fieldName].astype("float") elif(fieldType == "date" or fieldType == "datetime"): outDF[fieldName] = pd.to_datetime(outDF[fieldName]) + elif(fieldType == "year"): + outDF[fieldName] = [pd.to_datetime(x, format='%Y').year for x in outDF[fieldName]] elif(fieldType == "geojson"): try: logger.info(f"Fieldname {fieldName} as geojson. Attempting to convert to geometry.") diff --git a/morpc/geocode.py b/morpc/geocode.py index c95dbe4..fc9fee4 100644 --- a/morpc/geocode.py +++ b/morpc/geocode.py @@ -1,7 +1,7 @@ import logging logger = logging.getLogger(__name__) -def geocode(addresses: list): +def geocode(addresses: list, endpoint=None): """ Geocode a list of adresses. @@ -10,6 +10,9 @@ def geocode(addresses: list): addresses : list A list of addresses to pass to geopy. + endpoint : str + Optional: str of the endpoint. Used for running nominatim in local docker container, then change to "localhost:8080". + Returns: -------- pandas.DataFrame @@ -25,14 +28,30 @@ def geocode(addresses: list): df = pd.DataFrame({'address': addresses}) # needs column 'address' - geolocator = Nominatim(user_agent="morpc-py", timeout=10) + if endpoint == None: + delay = 1 + logging.info(f"Fetching from default public nominatim instance.") + geolocator = Nominatim(user_agent="morpc-py", timeout=10) + + # Wrap with RateLimiter: min 1 sec between calls as per Nominatim policy + geocode = RateLimiter(geolocator.geocode, min_delay_seconds=delay) + + df["location"] = df["address"].progress_apply(geocode) + df["lat"] = df["location"].apply(lambda loc: loc.latitude if loc else None) + df["lon"] = df["location"].apply(lambda loc: loc.longitude if loc else None) + else: + delay = 0 + geolocator = Nominatim(domain=endpoint, scheme='http', user_agent="local-nominatim") + + geocode = geolocator.geocode + + df["location"] = df["address"].progress_apply(geocode) + df["lat"] = df["location"].apply(lambda loc: loc.latitude if loc else None) + df["lon"] = df["location"].apply(lambda loc: loc.longitude if loc else None) + + - # Wrap with RateLimiter: min 1 sec between calls as per Nominatim policy - geocode = RateLimiter(geolocator.geocode, min_delay_seconds=1) - df["location"] = df["address"].progress_apply(geocode) - df["lat"] = df["location"].apply(lambda loc: loc.latitude if loc else None) - df["lon"] = df["location"].apply(lambda loc: loc.longitude if loc else None) return df From b6239dd96a7b69177876efc547062e45015c3796 Mon Sep 17 00:00:00 2001 From: Jordan Inskeep Date: Fri, 26 Dec 2025 12:48:21 -0500 Subject: [PATCH 3/4] add geoidfq format to sumlevels --- morpc/morpc.py | 109 ++++++++++++++++++++++++++++++++----------------- 1 file changed, 72 insertions(+), 37 deletions(-) diff --git a/morpc/morpc.py b/morpc/morpc.py index fa39353..a4c80a6 100644 --- a/morpc/morpc.py +++ b/morpc/morpc.py @@ -254,7 +254,8 @@ def get_state_ids(): "idField":"NATIONID", "nameField":"NATION", "censusQueryName": "us", - "censusRestAPI_layername": None + "censusRestAPI_layername": None, + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{NATION}" }, '020': { "singular":"Census region", @@ -264,7 +265,8 @@ def get_state_ids(): "idField":"REGIONID", "nameField":"REGION", "censusQueryName": "region", - "censusRestAPI_layername": 'regions' + "censusRestAPI_layername": 'regions', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{REGION}" }, '030': { "singular":"division", @@ -274,7 +276,8 @@ def get_state_ids(): "idField":"DIVISONID", "nameField":"DIVISION", "censusQueryName": "division", - "censusRestAPI_layername": 'divisions' + "censusRestAPI_layername": 'divisions', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{DIVISION}" }, '040': { "singular":"state", @@ -284,7 +287,8 @@ def get_state_ids(): "idField":"STATEFP", "nameField":"STATE", "censusQueryName": "state", - "censusRestAPI_layername": 'states' + "censusRestAPI_layername": 'states', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{STATE}" }, '050': { "singular":"county", @@ -294,8 +298,8 @@ def get_state_ids(): "idField":"COUNTYFP", "nameField":"COUNTY", "censusQueryName": "county", - "censusRestAPI_layername": 'counties' - + "censusRestAPI_layername": 'counties', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{STATE}{COUNTY}" }, '060': { "singular":"county subdivision", @@ -305,7 +309,8 @@ def get_state_ids(): "idField":"COUSUBFP", "nameField":"COUSUB", "censusQueryName": "county subdivision", - "censusRestAPI_layername": 'county subdivisions' + "censusRestAPI_layername": None, + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{STATE}{COUNTY}{COUSUB}" }, '070': { "singular":"county subdivision part/remainder", @@ -314,8 +319,10 @@ def get_state_ids(): "authority":"census", "idField":"COUSUBPARTID", "nameField":"COUSUBPART", - "censusQueryName": "place/remainder (or part)", - "censusRestAPI_layername": None + "censusQueryName": "county subdivision/remainder (or part)", + "censusRestAPI_layername": 'county subdivisions', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{STATE}{COUNTY}{COUSUB}{PLACEREM}" + }, # NOTE: Some references use SUMLEVEL 750 for block in the PL94 data, but the API # uses SUMLEVEL 100 @@ -327,7 +334,8 @@ def get_state_ids(): "idField":"BLOCKCE", "nameField":None, "censusQueryName": None, - "censusRestAPI_layername": 'blocks' + "censusRestAPI_layername": 'blocks', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{STATE}{TRACT}{BLKGRP}{BLOCK}" }, '140': { "singular":"tract", @@ -337,7 +345,8 @@ def get_state_ids(): "idField":"TRACTCE", "nameField":None, "censusQueryName": "tract", - "censusRestAPI_layername": 'tracts' + "censusRestAPI_layername": 'tracts', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{STATE}{TRACT}" }, '150': { "singular":"block group", @@ -347,7 +356,8 @@ def get_state_ids(): "idField":"BLKGRPCE", "nameField":None, "censusQueryName": "block group", - "censusRestAPI_layername": 'block groups' + "censusRestAPI_layername": 'block groups', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{STATE}{TRACT}{BLKGRP}" }, '155': { "singular":"place county part", @@ -357,7 +367,8 @@ def get_state_ids(): "idField":"PLACEPARTID", "nameField":"PLACEPART", "censusQueryName": "county (or part)", - "censusRestAPI_layername": None + "censusRestAPI_layername": None, + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{STATE}{PLACE}{COUNTY}" }, '160': { "singular":"place", @@ -367,7 +378,8 @@ def get_state_ids(): "idField":"PLACEFP", "nameField":"PLACE", "censusQueryName": "place", - "censusRestAPI_layername": 'incorporated places' + "censusRestAPI_layername": 'incorporated places', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{STATE}{PLACE}" }, '310': { "singular":"core-based statistical area", @@ -377,7 +389,8 @@ def get_state_ids(): "idField":"CBAFP", "nameField":"CBSA", "censusQueryName": "metropolitan statistical area/micropolitan statistical area", - "censusRestAPI_layername": 'metropolitan statistical areas' + "censusRestAPI_layername": 'metropolitan statistical areas', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{CBSA}" }, '330': { "singular":"combined statistical area", @@ -387,7 +400,8 @@ def get_state_ids(): "idField":"CSAFP", "nameField":"CSA", "censusQueryName": "combined statistical area", - "censusRestAPI_layername": 'combined statistical areas' + "censusRestAPI_layername": 'combined statistical areas', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{CSA}" }, '400': { "singular":"urban area", @@ -397,7 +411,8 @@ def get_state_ids(): "idField":"UACE", "nameField":"URBANAREA", "censusQueryName": "urban area", - "censusRestAPI_layername": 'urban areas' + "censusRestAPI_layername": 'urban areas', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{UA}" }, '500': { "singular":"congressional district", @@ -407,7 +422,8 @@ def get_state_ids(): "idField":"CDFP", # Census uses CDNNNFP where NNN is the congressional session number "nameField":"CONGRESS", "censusQueryName": "congressional district", - "censusRestAPI_layername": 'congressional districts' + "censusRestAPI_layername": 'congressional districts', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{STATE}{CD}" }, '610': { "singular":"state senate district", @@ -417,7 +433,8 @@ def get_state_ids(): "idField":"SLDUST", "nameField":None, "censusQueryName": "state legislative district (upper chamber)", - "censusRestAPI_layername": 'state legislative districts - upper' + "censusRestAPI_layername": 'state legislative districts - upper', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{STATE}{SLDU}" }, '620': { "singular":"state house district", @@ -427,8 +444,8 @@ def get_state_ids(): "idField":"SLDLST", "nameField":None, "censusQueryName": "state legislative district (lower chamber)", - "censusRestAPI_layername": 'state legislative districts - lower' - + "censusRestAPI_layername": 'state legislative districts - lower', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{STATE}{SLDL}" }, '795': { "singular":"public use microdata area", @@ -438,18 +455,20 @@ def get_state_ids(): "idField":"PUMACE", "nameField":"PUMA", "censusQueryName": "public use microdata area", - "censusRestAPI_layername": 'public use microdata areas' - }, - '850': { - "singular":"zip code tabulation area", - "plural":"zip code tabulation areas", - "hierarchy_string":"ZCTA3", - "authority":"census", - "idField":"ZCTA3CE", - "nameField":None, - "censusQueryName": None, - "censusRestAPI_layername": None + "censusRestAPI_layername": 'public use microdata areas', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{STATE}{PUMA}" }, + ### Jordan removed 2025-12 due to not finding support by Census + # '850': { + # "singular":"zip code tabulation area", + # "plural":"zip code tabulation areas", + # "hierarchy_string":"ZCTA3", + # "authority":"census", + # "idField":"ZCTA3CE", + # "nameField":None, + # "censusQueryName": None, + # "censusRestAPI_layername": None + # }, '860': { "singular":"zip code tabulation area", "plural":"zip code tabulation areas", @@ -458,7 +477,19 @@ def get_state_ids(): "idField":"ZCTA5CE", "nameField":None, "censusQueryName": "zip code tabulation area", - "censusRestAPI_layername": '2020 zip code tabulation areas' + "censusRestAPI_layername": '2020 zip code tabulation areas', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{ZCTA}" + }, + '861': { + 'singular': 'zip code', + 'plural': 'Zip codes', + 'hierarchy_string': 'ZIPCODE', + 'authority': 'census', + 'idField': 'ZIPCODE', + 'nameField': None, + 'censusQueryName': None, + 'censusRestAPI_layername': None, + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{ZIPCODE}" }, '930': { "singular":"MPO region", @@ -468,7 +499,8 @@ def get_state_ids(): "idField":"MPOREGIONID", "nameField":"MPOREGION", "censusQueryName": None, - "censusRestAPI_layername": None + "censusRestAPI_layername": None, + "geoidfq_format": None }, '950': { "singular":"elementary school district", @@ -478,7 +510,8 @@ def get_state_ids(): "idField":"ELSDLEA", "nameField":"SCHOOLDELEM", "censusQueryName": "school district (elementry)", - "censusRestAPI_layername": 'elementary school districts' + "censusRestAPI_layername": 'elementary school districts', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{STATE}{SDELM}" }, '960': { "singular":"high school district", @@ -488,7 +521,8 @@ def get_state_ids(): "idField":"SCSDLEA", "nameField":"SCHOOLDHIGH", "censusQueryName": "school district (secondary)", - "censusRestAPI_layername": 'secondary school districts' + "censusRestAPI_layername": 'secondary school districts', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{STATE}{SDSEC}" }, '970': { "singular":"unified school district", @@ -498,7 +532,8 @@ def get_state_ids(): "idField":"UNSDLEA", "nameField":"SCHOOLD", "censusQueryName": "school district (unified)", - "censusRestAPI_layername": 'unified school districts' + "censusRestAPI_layername": 'unified school districts', + "geoidfq_format": "{SUMLEVEL}{VARIANT}{COMPONENT}US{STATE}{SDUNI}" }, 'M01': { "singular":"MORPC 15-county region", From 022a532c6b7b9105e64569e3f28f05414326381a Mon Sep 17 00:00:00 2001 From: Jordan Inskeep Date: Tue, 6 Jan 2026 16:06:27 -0500 Subject: [PATCH 4/4] fix bug in census api get, failed to convert to dataframe --- doc/07-morpc-census-demo.html | 11755 +++++++++++++++++++++++++++ doc/07-morpc-census-demo.ipynb | 6357 ++++++++++----- morpc/census/api.py | 66 +- morpc/frictionless/frictionless.py | 4 +- 4 files changed, 16073 insertions(+), 2109 deletions(-) create mode 100644 doc/07-morpc-census-demo.html diff --git a/doc/07-morpc-census-demo.html b/doc/07-morpc-census-demo.html new file mode 100644 index 0000000..6069d49 --- /dev/null +++ b/doc/07-morpc-census-demo.html @@ -0,0 +1,11755 @@ + + + + + +07-morpc-census-demo + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/doc/07-morpc-census-demo.ipynb b/doc/07-morpc-census-demo.ipynb index 4a8849f..7c08db3 100644 --- a/doc/07-morpc-census-demo.ipynb +++ b/doc/07-morpc-census-demo.ipynb @@ -18,7 +18,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 1, "id": "c707a19a", "metadata": {}, "outputs": [ @@ -26,7 +26,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "2025-11-12 11:55:35,455 | INFO | morpc.logs.config_logs: Set up logging save to file ./temp_data/morpc-census-demo.log\n" + "2026-01-06 15:55:31,774 | INFO | morpc.logs.config_logs: Set up logging save to file ./temp_data/morpc-census-demo.log\n" ] } ], @@ -83,7 +83,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 2, "id": "ee9f6dd9", "metadata": {}, "outputs": [], @@ -119,17 +119,10 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 3, "id": "570f5a82", "metadata": {}, "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "2025-11-12 11:55:35,478 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data with parameters None.\n" - ] - }, { "data": { "text/plain": [ @@ -145,10 +138,11 @@ " 'dec/ddhcb',\n", " 'dec/sf1',\n", " 'dec/sf2',\n", - " 'dec/sf3']" + " 'dec/sf3',\n", + " 'geoinfo']" ] }, - "execution_count": 4, + "execution_count": 3, "metadata": {}, "output_type": "execute_result" } @@ -177,7 +171,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 4, "id": "fc80dfc5", "metadata": {}, "outputs": [ @@ -201,7 +195,7 @@ " 2023]" ] }, - "execution_count": 5, + "execution_count": 4, "metadata": {}, "output_type": "execute_result" } @@ -222,7 +216,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 5, "id": "06f4bc13", "metadata": {}, "outputs": [ @@ -230,1016 +224,16 @@ "name": "stdout", "output_type": "stream", "text": [ - "2025-11-12 11:55:36,809 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2023/acs/acs5/groups.json with parameters None.\n" + "2026-01-06 15:55:35,888 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2023/acs/acs5/groups.json with parameters None.\n" ] }, { "data": { "text/plain": [ - "{'B01001': 'Sex by Age',\n", - " 'B01001A': 'Sex by Age (White Alone)',\n", - " 'B01001B': 'Sex by Age (Black or African American Alone)',\n", - " 'B01001C': 'Sex by Age (American Indian and Alaska Native Alone)',\n", - " 'B01001D': 'Sex by Age (Asian Alone)',\n", - " 'B01001E': 'Sex by Age (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B01001F': 'Sex by Age (Some Other Race Alone)',\n", - " 'B01001G': 'Sex by Age (Two or More Races)',\n", - " 'B01001H': 'Sex by Age (White Alone, Not Hispanic or Latino)',\n", - " 'B01001I': 'Sex by Age (Hispanic or Latino)',\n", - " 'B01002': 'Median Age by Sex',\n", - " 'B01002A': 'Median Age by Sex (White Alone)',\n", - " 'B01002B': 'Median Age by Sex (Black or African American Alone)',\n", - " 'B01002C': 'Median Age by Sex (American Indian and Alaska Native Alone)',\n", - " 'B01002D': 'Median Age by Sex (Asian Alone)',\n", - " 'B01002E': 'Median Age by Sex (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B01002F': 'Median Age by Sex (Some Other Race Alone)',\n", - " 'B01002G': 'Median Age by Sex (Two or More Races)',\n", - " 'B01002H': 'Median Age by Sex (White Alone, Not Hispanic or Latino)',\n", - " 'B01002I': 'Median Age by Sex (Hispanic or Latino)',\n", - " 'B01003': 'Total Population',\n", - " 'B02001': 'Race',\n", - " 'B02008': 'White Alone or in Combination With One or More Other Races',\n", - " 'B02009': 'Black or African American Alone or in Combination With One or More Other Races',\n", - " 'B02010': 'American Indian and Alaska Native Alone or in Combination With One or More Other Races',\n", - " 'B02011': 'Asian Alone or in Combination With One or More Other Races',\n", - " 'B02012': 'Native Hawaiian and Other Pacific Islander Alone or in Combination With One or More Other Races',\n", - " 'B02013': 'Some Other Race Alone or in Combination With One or More Other Races',\n", - " 'B02015': 'Asian Alone by Selected Groups',\n", - " 'B02016': 'Native Hawaiian and Other Pacific Islander Alone by Selected Groups',\n", - " 'B02018': 'Asian Alone or in Any Combination by Selected Groups',\n", - " 'B02019': 'Native Hawaiian and Other Pacific Islander Alone or in Any Combination by Selected Groups',\n", - " 'B02020': 'American Indian and Alaska Native Alone by Selected Tribes and Villages',\n", - " 'B02021': 'American Indian and Alaska Native Alone or in Any Combination by Selected Tribes and Villages',\n", - " 'B03001': 'Hispanic or Latino Origin by Specific Origin',\n", - " 'B03002': 'Hispanic or Latino Origin by Race',\n", - " 'B03003': 'Hispanic or Latino Origin',\n", - " 'B04004': 'People Reporting Single Ancestry',\n", - " 'B04005': 'People Reporting Multiple Ancestry',\n", - " 'B04006': 'People Reporting Ancestry',\n", - " 'B04007': 'Ancestry',\n", - " 'B05001': 'Nativity and Citizenship Status in the United States',\n", - " 'B05001PR': 'Nativity and Citizenship Status in Puerto Rico',\n", - " 'B05002': 'Place of Birth by Nativity and Citizenship Status',\n", - " 'B05003': 'Sex by Age by Nativity and Citizenship Status',\n", - " 'B05003A': 'Sex by Age by Nativity and Citizenship Status (White Alone)',\n", - " 'B05003B': 'Sex by Age by Nativity and Citizenship Status (Black or African American Alone)',\n", - " 'B05003C': 'Sex by Age by Nativity and Citizenship Status (American Indian and Alaska Native Alone)',\n", - " 'B05003D': 'Sex by Age by Nativity and Citizenship Status (Asian Alone)',\n", - " 'B05003E': 'Sex by Age by Nativity and Citizenship Status (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B05003F': 'Sex by Age by Nativity and Citizenship Status (Some Other Race Alone)',\n", - " 'B05003G': 'Sex by Age by Nativity and Citizenship Status (Two or More Races)',\n", - " 'B05003H': 'Sex by Age by Nativity and Citizenship Status (White Alone, Not Hispanic or Latino)',\n", - " 'B05003I': 'Sex by Age by Nativity and Citizenship Status (Hispanic or Latino)',\n", - " 'B05004': 'Median Age by Nativity and Citizenship Status by Sex',\n", - " 'B05005': 'Period of Entry by Nativity and Citizenship Status in the United States',\n", - " 'B05005PR': 'Period of Entry by Nativity and Citizenship Status in Puerto Rico',\n", - " 'B05006': 'Place of Birth for the Foreign-Born Population in the United States',\n", - " 'B05006PR': 'Place of Birth for the Foreign-Born Population in Puerto Rico',\n", - " 'B05007': 'Place of Birth by Year of Entry by Citizenship Status for the Foreign-Born Population',\n", - " 'B05008': 'Sex by Place of Birth by Year of Entry for the Foreign-Born Population',\n", - " 'B05009': 'Age and Nativity of Own Children Under 18 Years in Families and Subfamilies by Number and Nativity of Parents',\n", - " 'B05010': 'Ratio of Income to Poverty Level in the Past 12 Months by Nativity of Children Under 18 Years in Families and Subfamilies by Living Arrangements and Nativity of Parents',\n", - " 'B05011': 'Period of Naturalization',\n", - " 'B05012': 'Nativity in the United States',\n", - " 'B05012PR': 'Nativity in Puerto Rico',\n", - " 'B05013': 'Sex by Age for the Foreign-Born Population',\n", - " 'B05014': 'Sex by Age for the Foreign-Born Population',\n", - " 'B05015': 'Place of Birth by Year of Entry for the Foreign-Born Population',\n", - " 'B06001': 'Place of Birth by Age in the United States',\n", - " 'B06001PR': 'Place of Birth by Age in Puerto Rico',\n", - " 'B06002': 'Median Age by Place of Birth in the United States',\n", - " 'B06002PR': 'Median Age by Place of Birth in Puerto Rico',\n", - " 'B06003': 'Place of Birth by Sex in the United States',\n", - " 'B06003PR': 'Place of Birth by Sex in Puerto Rico',\n", - " 'B06004A': 'Place of Birth (White Alone) in the United States',\n", - " 'B06004APR': 'Place of Birth (White Alone) in Puerto Rico',\n", - " 'B06004B': 'Place of Birth (Black or African American Alone) in the United States',\n", - " 'B06004BPR': 'Place of Birth (Black or African American Alone) in Puerto Rico',\n", - " 'B06004C': 'Place of Birth (American Indian and Alaska Native Alone) in the United States',\n", - " 'B06004CPR': 'Place of Birth (American Indian and Alaska Native Alone) in Puerto Rico',\n", - " 'B06004D': 'Place of Birth (Asian Alone) in the United States',\n", - " 'B06004DPR': 'Place of Birth (Asian Alone) in Puerto Rico',\n", - " 'B06004E': 'Place of Birth (Native Hawaiian and Other Pacific Islander Alone) in the United States',\n", - " 'B06004EPR': 'Place of Birth (Native Hawaiian and Other Pacific Islander Alone) in Puerto Rico',\n", - " 'B06004F': 'Place of Birth (Some Other Race Alone) in the United States',\n", - " 'B06004FPR': 'Place of Birth (Some Other Race Alone) in Puerto Rico',\n", - " 'B06004G': 'Place of Birth (Two or More Races) in the United States',\n", - " 'B06004GPR': 'Place of Birth (Two or More Races) in Puerto Rico',\n", - " 'B06004H': 'Place of Birth (White Alone, Not Hispanic or Latino) in the United States',\n", - " 'B06004HPR': 'Place of Birth (White Alone, Not Hispanic or Latino) in Puerto Rico',\n", - " 'B06004I': 'Place of Birth (Hispanic or Latino) in the United States',\n", - " 'B06004IPR': 'Place of Birth (Hispanic or Latino) in Puerto Rico',\n", - " 'B06007': 'Place of Birth by Language Spoken at Home and Ability to Speak English in the United States',\n", - " 'B06007PR': 'Place of Birth by Language Spoken at Home and Ability to Speak English in Puerto Rico',\n", - " 'B06008': 'Place of Birth by Marital Status in the United States',\n", - " 'B06008PR': 'Place of Birth by Marital Status in Puerto Rico',\n", - " 'B06009': 'Place of Birth by Educational Attainment in the United States',\n", - " 'B06009PR': 'Place of Birth by Educational Attainment in Puerto Rico',\n", - " 'B06010': 'Place of Birth by Individual Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) in the United States',\n", - " 'B06010PR': 'Place of Birth by Individual Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) in Puerto Rico',\n", - " 'B06011': 'Median Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Place of Birth in the United States',\n", - " 'B06011PR': 'Median Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Place of Birth in Puerto Rico',\n", - " 'B06012': 'Place of Birth by Poverty Status in the Past 12 Months in the United States',\n", - " 'B06012PR': 'Place of Birth by Poverty Status in the Past 12 Months in Puerto Rico',\n", - " 'B07001': 'Geographical Mobility in the Past Year by Age for Current Residence in the United States',\n", - " 'B07001PR': 'Geographical Mobility in the Past Year by Age for Current Residence in Puerto Rico',\n", - " 'B07002': 'Median Age by Geographical Mobility in the Past Year for Current Residence in the United States',\n", - " 'B07002PR': 'Median Age by Geographical Mobility in the Past Year for Current Residence in Puerto Rico',\n", - " 'B07003': 'Geographical Mobility in the Past Year by Sex for Current Residence in the United States',\n", - " 'B07003PR': 'Geographical Mobility in the Past Year by Sex for Current Residence in Puerto Rico',\n", - " 'B07004A': 'Geographical Mobility in the Past Year (White Alone) for Current Residence in the United States',\n", - " 'B07004APR': 'Geographical Mobility in the Past Year (White Alone) for Current Residence in Puerto Rico',\n", - " 'B07004B': 'Geographical Mobility in the Past Year (Black or African American Alone) for Current Residence in the United States',\n", - " 'B07004BPR': 'Geographical Mobility in the Past Year (Black or African American Alone) for Current Residence in Puerto Rico',\n", - " 'B07004C': 'Geographical Mobility in the Past Year (American Indian and Alaska Native Alone) for Current Residence in the United States',\n", - " 'B07004CPR': 'Geographical Mobility in the Past Year (American Indian and Alaska Native Alone) for Current Residence in Puerto Rico',\n", - " 'B07004D': 'Geographical Mobility in the Past Year (Asian Alone) for Current Residence in the United States',\n", - " 'B07004DPR': 'Geographical Mobility in the Past Year (Asian Alone) for Current Residence in Puerto Rico',\n", - " 'B07004E': 'Geographical Mobility in the Past Year (Native Hawaiian and Other Pacific Islander Alone) for Current Residence in the United States',\n", - " 'B07004EPR': 'Geographical Mobility in the Past Year (Native Hawaiian and Other Pacific Islander Alone) for Current Residence in Puerto Rico',\n", - " 'B07004F': 'Geographical Mobility in the Past Year (Some Other Race Alone) for Current Residence in the United States',\n", - " 'B07004FPR': 'Geographical Mobility in the Past Year (Some Other Race Alone) for Current Residence in Puerto Rico',\n", - " 'B07004G': 'Geographical Mobility in the Past Year (Two or More Races) for Current Residence in the United States',\n", - " 'B07004GPR': 'Geographical Mobility in the Past Year (Two or More Races) for Current Residence in Puerto Rico',\n", - " 'B07004H': 'Geographical Mobility in the Past Year (White Alone, Not Hispanic or Latino) for Current Residence in the United States',\n", - " 'B07004HPR': 'Geographical Mobility in the Past Year (White Alone, Not Hispanic or Latino) for Current Residence in Puerto Rico',\n", - " 'B07004I': 'Geographical Mobility in the Past Year (Hispanic or Latino) for Current Residence in the United States',\n", - " 'B07004IPR': 'Geographical Mobility in the Past Year (Hispanic or Latino) for Current Residence in Puerto Rico',\n", - " 'B07007': 'Geographical Mobility in the Past Year by Citizenship Status for Current Residence in the United States',\n", - " 'B07007PR': 'Geographical Mobility in the Past Year by Citizenship Status for Current Residence in Puerto Rico',\n", - " 'B07008': 'Geographical Mobility in the Past Year by Marital Status for Current Residence in the United States',\n", - " 'B07008PR': 'Geographical Mobility in the Past Year by Marital Status for Current Residence in Puerto Rico',\n", - " 'B07009': 'Geographical Mobility in the Past Year by Educational Attainment for Current Residence in the United States',\n", - " 'B07009PR': 'Geographical Mobility in the Past Year by Educational Attainment for Current Residence in Puerto Rico',\n", - " 'B07010': 'Geographical Mobility in the Past Year by Individual Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for Current Residence in the United States',\n", - " 'B07010PR': 'Geographical Mobility in the Past Year by Individual Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for Current Residence in Puerto Rico',\n", - " 'B07011': 'Median Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Geographical Mobility in the Past Year for Current Residence in the United States',\n", - " 'B07011PR': 'Median Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Geographical Mobility in the Past Year for Current Residence in Puerto Rico',\n", - " 'B07012': 'Geographical Mobility in the Past Year by Poverty Status in the Past 12 Months for Current Residence in the United States',\n", - " 'B07012PR': 'Geographical Mobility in the Past Year by Poverty Status in the Past 12 Months for Current Residence in Puerto Rico',\n", - " 'B07013': 'Geographical Mobility in the Past Year by Tenure for Current Residence in the United States',\n", - " 'B07013PR': 'Geographical Mobility in the Past Year by Tenure for Current Residence in Puerto Rico',\n", - " 'B07101': 'Movers Between Regions in the United States',\n", - " 'B07201': 'Geographical Mobility in the Past Year for Current Residence--Metropolitan Statistical Area Level in the United States',\n", - " 'B07201PR': 'Geographical Mobility in the Past Year for Current Residence--Metropolitan Statistical Area Level in Puerto Rico',\n", - " 'B07202': 'Geographical Mobility in the Past Year for Current Residence--Micropolitan Statistical Area Level in the United States',\n", - " 'B07202PR': 'Geographical Mobility in the Past Year for Current Residence--Micropolitan Statistical Area Level in Puerto Rico',\n", - " 'B07203': 'Geographical Mobility in the Past Year for Current Residence--Not Metropolitan or Micropolitan Statistical Area Level in the United States',\n", - " 'B07203PR': 'Geographical Mobility in the Past Year for Current Residence--Not Metropolitan or Micropolitan Statistical Area Level in Puerto Rico',\n", - " 'B07204': 'Geographical Mobility in the Past Year for Current Residence--State, County and Place Level in the United States',\n", - " 'B07204PR': 'Geographical Mobility in the Past Year for Current Residence--State, County and Place Level in Puerto Rico',\n", - " 'B07401': 'Geographical Mobility in the Past Year by Age for Residence 1 Year Ago in the United States',\n", - " 'B07401PR': 'Geographical Mobility in the Past Year by Age for Residence 1 Year Ago in Puerto Rico',\n", - " 'B07402': 'Median Age by Geographical Mobility in the Past Year for Residence 1 Year Ago in the United States',\n", - " 'B07402PR': 'Median Age by Geographical Mobility in the Past Year for Residence 1 Year Ago in Puerto Rico',\n", - " 'B07403': 'Geographical Mobility in the Past Year by Sex for Residence 1 Year Ago in the United States',\n", - " 'B07403PR': 'Geographical Mobility in the Past Year by Sex for Residence 1 Year Ago in Puerto Rico',\n", - " 'B07404A': 'Geographical Mobility in the Past Year (White Alone) for Residence 1 Year Ago in the United States',\n", - " 'B07404APR': 'Geographical Mobility in the Past Year (White Alone) for Residence 1 Year Ago in Puerto Rico',\n", - " 'B07404B': 'Geographical Mobility in the Past Year (Black or African American Alone) for Residence 1 Year Ago in the United States',\n", - " 'B07404BPR': 'Geographical Mobility in the Past Year (Black or African American Alone) for Residence 1 Year Ago in Puerto Rico',\n", - " 'B07404C': 'Geographical Mobility in the Past Year (American Indian and Alaska Native Alone) for Residence 1 Year Ago in the United States',\n", - " 'B07404CPR': 'Geographical Mobility in the Past Year (American Indian and Alaska Native Alone) for Residence 1 Year Ago in Puerto Rico',\n", - " 'B07404D': 'Geographical Mobility in the Past Year (Asian Alone) for Residence 1 Year Ago in the United States',\n", - " 'B07404DPR': 'Geographical Mobility in the Past Year (Asian Alone) for Residence 1 Year Ago in Puerto Rico',\n", - " 'B07404E': 'Geographical Mobility in the Past Year (Native Hawaiian and Other Pacific Islander Alone) for Residence 1 Year Ago in the United States',\n", - " 'B07404EPR': 'Geographical Mobility in the Past Year (Native Hawaiian and Other Pacific Islander Alone) for Residence 1 Year Ago in Puerto Rico',\n", - " 'B07404F': 'Geographical Mobility in the Past Year (Some Other Race Alone) for Residence 1 Year Ago in the United States',\n", - " 'B07404FPR': 'Geographical Mobility in the Past Year (Some Other Race Alone) for Residence 1 Year Ago in Puerto Rico',\n", - " 'B07404G': 'Geographical Mobility in the Past Year (Two or More Races) for Residence 1 Year Ago in the United States',\n", - " 'B07404GPR': 'Geographical Mobility in the Past Year (Two or More Races) for Residence 1 Year Ago in Puerto Rico',\n", - " 'B07404H': 'Geographical Mobility in the Past Year (White Alone, Not Hispanic or Latino) for Residence 1 Year Ago in the United States',\n", - " 'B07404HPR': 'Geographical Mobility in the Past Year (White Alone, Not Hispanic or Latino) for Residence 1 Year Ago in Puerto Rico',\n", - " 'B07404I': 'Geographical Mobility in the Past Year (Hispanic or Latino) for Residence 1 Year Ago in the United States',\n", - " 'B07404IPR': 'Geographical Mobility in the Past Year (Hispanic or Latino) for Residence 1 Year Ago in Puerto Rico',\n", - " 'B07407': 'Geographical Mobility in the Past Year by Citizenship Status for Residence 1 Year Ago in the United States',\n", - " 'B07407PR': 'Geographical Mobility in the Past Year by Citizenship Status for Residence 1 Year Ago in Puerto Rico',\n", - " 'B07408': 'Geographical Mobility in the Past Year by Marital Status for Residence 1 Year Ago in the United States',\n", - " 'B07408PR': 'Geographical Mobility in the Past Year by Marital Status for Residence 1 Year Ago in Puerto Rico',\n", - " 'B07409': 'Geographical Mobility in the Past Year by Educational Attainment for Residence 1 Year Ago in the United States',\n", - " 'B07409PR': 'Geographical Mobility in the Past Year by Educational Attainment for Residence 1 Year Ago in Puerto Rico',\n", - " 'B07410': 'Geographical Mobility in the Past Year by Individual Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for Residence 1 Year Ago in the United States',\n", - " 'B07410PR': 'Geographical Mobility in the Past Year by Individual Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for Residence 1 Year Ago in Puerto Rico',\n", - " 'B07411': 'Median Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Geographical Mobility in the Past Year for Residence 1 Year Ago in the United States',\n", - " 'B07411PR': 'Median Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Geographical Mobility in the Past Year for Residence 1 Year Ago in Puerto Rico',\n", - " 'B07412': 'Geographical Mobility in the Past Year by Poverty Status in the Past 12 Months for Residence 1 Year Ago in the United States',\n", - " 'B07412PR': 'Geographical Mobility in the Past Year by Poverty Status in the Past 12 Months for Residence 1 Year Ago in Puerto Rico',\n", - " 'B07413': 'Geographical Mobility in the Past Year by Tenure for Residence 1 Year Ago in the United States',\n", - " 'B07413PR': 'Geographical Mobility in the Past Year by Tenure for Residence 1 Year Ago in Puerto Rico',\n", - " 'B08006': 'Sex of Workers by Means of Transportation to Work',\n", - " 'B08007': 'Sex of Workers by Place of Work--State and County Level',\n", - " 'B08008': 'Sex of Workers by Place of Work--Place Level',\n", - " 'B08009': 'Sex of Workers by Place of Work--Minor Civil Division Level for 12 Selected States (CT, ME, MA, MI, MN, NH, NJ, NY, PA, RI, VT, WI)',\n", - " 'B08011': 'Sex of Workers by Time of Departure to Go to Work',\n", - " 'B08012': 'Sex of Workers by Travel Time to Work',\n", - " 'B08013': 'Aggregate Travel Time to Work (in Minutes) of Workers by Sex',\n", - " 'B08014': 'Sex of Workers by Vehicles Available',\n", - " 'B08015': 'Aggregate Number of Vehicles (Car, Truck, or Van) Used in Commuting by Workers 16 Years and Over by Sex',\n", - " 'B08016': 'Place of Work for Workers 16 Years and Over--Metropolitan Statistical Area Level',\n", - " 'B08017': 'Place of Work for Workers 16 Years and Over--Micropolitan Statistical Area Level',\n", - " 'B08018': 'Place of Work for Workers 16 Years and Over--Not Metropolitan or Micropolitan Statistical Area Level',\n", - " 'B08101': 'Means of Transportation to Work by Age',\n", - " 'B08103': 'Median Age by Means of Transportation to Work',\n", - " 'B08105A': 'Means of Transportation to Work (White Alone)',\n", - " 'B08105B': 'Means of Transportation to Work (Black or African American Alone)',\n", - " 'B08105C': 'Means of Transportation to Work (American Indian and Alaska Native Alone)',\n", - " 'B08105D': 'Means of Transportation to Work (Asian Alone)',\n", - " 'B08105E': 'Means of Transportation to Work (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B08105F': 'Means of Transportation to Work (Some Other Race Alone)',\n", - " 'B08105G': 'Means of Transportation to Work (Two or More Races)',\n", - " 'B08105H': 'Means of Transportation to Work (White Alone, Not Hispanic or Latino)',\n", - " 'B08105I': 'Means of Transportation to Work (Hispanic or Latino)',\n", - " 'B08111': 'Means of Transportation to Work by Citizenship Status',\n", - " 'B08113': 'Means of Transportation to Work by Language Spoken at Home and Ability to Speak English',\n", - " 'B08119': \"Means of Transportation to Work by Workers' Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars)\",\n", - " 'B08121': 'Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Means of Transportation to Work',\n", - " 'B08122': 'Means of Transportation to Work by Poverty Status in the Past 12 Months',\n", - " 'B08124': 'Means of Transportation to Work by Occupation',\n", - " 'B08126': 'Means of Transportation to Work by Industry',\n", - " 'B08128': 'Means of Transportation to Work by Class of Worker',\n", - " 'B08130': 'Means of Transportation to Work by Place of Work--State and County Level',\n", - " 'B08131': 'Aggregate Travel Time to Work (in Minutes) of Workers by Place of Work--State and County Level',\n", - " 'B08132': 'Means of Transportation to Work by Time of Departure to Go to Work',\n", - " 'B08133': 'Aggregate Travel Time to Work (in Minutes) of Workers by Time of Departure to Go to Work',\n", - " 'B08134': 'Means of Transportation to Work by Travel Time to Work',\n", - " 'B08135': 'Aggregate Travel Time to Work (in Minutes) of Workers by Travel Time to Work',\n", - " 'B08136': 'Aggregate Travel Time to Work (in Minutes) of Workers by Means of Transportation to Work',\n", - " 'B08137': 'Means of Transportation to Work by Tenure',\n", - " 'B08141': 'Means of Transportation to Work by Vehicles Available',\n", - " 'B08201': 'Household Size by Vehicles Available',\n", - " 'B08202': 'Household Size by Number of Workers in Household',\n", - " 'B08203': 'Number of Workers in Household by Vehicles Available',\n", - " 'B08301': 'Means of Transportation to Work',\n", - " 'B08302': 'Time of Departure to Go to Work',\n", - " 'B08303': 'Travel Time to Work',\n", - " 'B08406': 'Sex of Workers by Means of Transportation to Work for Workplace Geography',\n", - " 'B08412': 'Sex of Workers by Travel Time to Work for Workplace Geography',\n", - " 'B08501': 'Means of Transportation to Work by Age for Workplace Geography',\n", - " 'B08503': 'Median Age by Means of Transportation to Work for Workplace Geography',\n", - " 'B08505A': 'Means of Transportation to Work for Workplace Geography (White Alone)',\n", - " 'B08505B': 'Means of Transportation to Work for Workplace Geography (Black or African American Alone)',\n", - " 'B08505C': 'Means of Transportation to Work for Workplace Geography (American Indian and Alaska Native Alone)',\n", - " 'B08505D': 'Means of Transportation to Work for Workplace Geography (Asian Alone)',\n", - " 'B08505E': 'Means of Transportation to Work for Workplace Geography (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B08505F': 'Means of Transportation to Work for Workplace Geography (Some Other Race Alone)',\n", - " 'B08505G': 'Means of Transportation to Work for Workplace Geography (Two or More Races)',\n", - " 'B08505H': 'Means of Transportation to Work for Workplace Geography (White Alone, Not Hispanic or Latino)',\n", - " 'B08505I': 'Means of Transportation to Work for Workplace Geography (Hispanic or Latino)',\n", - " 'B08511': 'Means of Transportation to Work by Citizenship Status for Workplace Geography',\n", - " 'B08513': 'Means of Transportation to Work by Language Spoken at Home and Ability to Speak English for Workplace Geography',\n", - " 'B08519': \"Means of Transportation to Work by Workers' Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for Workplace Geography\",\n", - " 'B08521': 'Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Means of Transportation to Work for Workplace Geography',\n", - " 'B08522': 'Means of Transportation to Work by Poverty Status in the Past 12 Months for Workplace Geography',\n", - " 'B08524': 'Means of Transportation to Work by Occupation for Workplace Geography',\n", - " 'B08526': 'Means of Transportation to Work by Industry for Workplace Geography',\n", - " 'B08528': 'Means of Transportation to Work by Class of Worker for Workplace Geography',\n", - " 'B08532': 'Means of Transportation to Work by Time Arriving at Work for Workplace Geography',\n", - " 'B08534': 'Means of Transportation to Work by Travel Time to Work for Workplace Geography',\n", - " 'B08536': 'Aggregate Travel Time to Work (in Minutes) of Workers by Means of Transportation to Work for Workplace Geography',\n", - " 'B08537': 'Means of Transportation to Work by Tenure for Workplace Geography',\n", - " 'B08541': 'Means of Transportation to Work by Vehicles Available for Workplace Geography',\n", - " 'B08601': 'Means of Transportation to Work for Workplace Geography',\n", - " 'B08602': 'Time Arriving at Work for Workplace Geography',\n", - " 'B08603': 'Travel Time to Work for Workplace Geography',\n", - " 'B08604': 'Worker Population for Workplace Geography',\n", - " 'B09001': 'Population Under 18 Years by Age',\n", - " 'B09002': 'Own Children Under 18 Years by Family Type and Age',\n", - " 'B09005': 'Household Type for Children Under 18 Years in Households (Excluding Householders, Spouses, and Unmarried Partners)',\n", - " 'B09010': 'Receipt of Supplemental Security Income (SSI), Cash Public Assistance Income, or Food Stamps/SNAP in the Past 12 Months by Household Type for Children Under 18 Years in Households',\n", - " 'B09018': 'Relationship to Householder for Children Under 18 Years in Households',\n", - " 'B09019': 'Household Type (Including Living Alone) by Relationship',\n", - " 'B09020': 'Relationship by Household Type (Including Living Alone) for the Population 65 Years and Over',\n", - " 'B09021': 'Living Arrangements of Adults 18 Years and Over by Age',\n", - " 'B10001': 'Grandchildren Under 18 Years Living With a Grandparent Householder by Age of Grandchild',\n", - " 'B10002': 'Grandchildren Under 18 Years Living With a Grandparent Householder by Grandparent Responsibility and Presence of Parent',\n", - " 'B10010': 'Median Family Income for Families With Grandparent Householders and/or Spouses Living With Own Grandchildren Under 18 Years by Responsibility for Own Grandchildren and Presence of Parent of Grandchildren',\n", - " 'B10050': 'Grandparents Living With Own Grandchildren Under 18 Years by Responsibility for Own Grandchildren by Length of Time Responsible for Own Grandchildren for the Population 30 Years and Over',\n", - " 'B10051': 'Grandparents Living With Own Grandchildren Under 18 Years by Responsibility for Own Grandchildren by Presence of Parent of Grandchildren and Age of Grandparent',\n", - " 'B10051A': 'Grandparents Living With Own Grandchildren Under 18 Years by Responsibility for Own Grandchildren and Age of Grandparent (White Alone)',\n", - " 'B10051B': 'Grandparents Living With Own Grandchildren Under 18 Years by Responsibility for Own Grandchildren and Age of Grandparent (Black or African American Alone)',\n", - " 'B10051C': 'Grandparents Living With Own Grandchildren Under 18 Years by Responsibility for Own Grandchildren and Age of Grandparent (American Indian and Alaska Native Alone)',\n", - " 'B10051D': 'Grandparents Living With Own Grandchildren Under 18 Years by Responsibility for Own Grandchildren and Age of Grandparent (Asian Alone)',\n", - " 'B10051E': 'Grandparents Living With Own Grandchildren Under 18 Years by Responsibility for Own Grandchildren and Age of Grandparent (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B10051F': 'Grandparents Living With Own Grandchildren Under 18 Years by Responsibility for Own Grandchildren and Age of Grandparent (Some Other Race Alone)',\n", - " 'B10051G': 'Grandparents Living With Own Grandchildren Under 18 Years by Responsibility for Own Grandchildren and Age of Grandparent (Two or More Races)',\n", - " 'B10051H': 'Grandparents Living With Own Grandchildren Under 18 Years by Responsibility for Own Grandchildren and Age of Grandparent (White Alone, Not Hispanic or Latino)',\n", - " 'B10051I': 'Grandparents Living With Own Grandchildren Under 18 Years by Responsibility for Own Grandchildren and Age of Grandparent (Hispanic or Latino)',\n", - " 'B10052': 'Disability Status of Grandparents Living With Own Grandchildren Under 18 Years by Responsibility for Own Grandchildren and Age of Grandparent',\n", - " 'B10053': 'Nativity by Grandparents Responsible for Own Grandchildren Under 18 Years by Age of Grandparent',\n", - " 'B10054': 'Language and Ability to Speak English of Grandparents Living With Own Grandchildren Under 18 Years by Responsibility for Own Grandchildren and Age of Grandparent',\n", - " 'B10056': 'Sex of Grandparents Living With Own Grandchildren Under 18 Years by Responsibility for Own Grandchildren and Age of Grandparent',\n", - " 'B10057': 'Marital Status by Grandparents Living With Own Grandchildren Under 18 Years by Responsibility for Own Grandchildren and Age of Grandparent',\n", - " 'B10058': 'Employment Status of Grandparents Living With Own Grandchildren Under 18 Years by Responsibility for Own Grandchildren and Age of Grandparent',\n", - " 'B10059': 'Poverty Status in the Past 12 Months of Grandparents Living With Own Grandchildren Under 18 Years by Responsibility for Own Grandchildren and Age of Grandparent',\n", - " 'B10063': 'Households With Grandparents Living With Own Grandchildren Under 18 Years by Responsibility for Own Grandchildren and Presence of Parent of Grandchildren',\n", - " 'B11001': 'Household Type (Including Living Alone)',\n", - " 'B11001A': 'Household Type (Including Living Alone) (White Alone)',\n", - " 'B11001B': 'Household Type (Including Living Alone) (Black or African American Alone)',\n", - " 'B11001C': 'Household Type (Including Living Alone) (American Indian and Alaska Native Alone)',\n", - " 'B11001D': 'Household Type (Including Living Alone) (Asian Alone)',\n", - " 'B11001E': 'Household Type (Including Living Alone) (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B11001F': 'Household Type (Including Living Alone) (Some Other Race Alone)',\n", - " 'B11001G': 'Household Type (Including Living Alone) (Two or More Races)',\n", - " 'B11001H': 'Household Type (Including Living Alone) (White Alone, Not Hispanic or Latino)',\n", - " 'B11001I': 'Household Type (Including Living Alone) (Hispanic or Latino)',\n", - " 'B11002': 'Household Type by Relatives and Nonrelatives for Population in Households',\n", - " 'B11002A': 'Household Type by Relatives and Nonrelatives for Population in Households (White Alone)',\n", - " 'B11002B': 'Household Type by Relatives and Nonrelatives for Population in Households (Black or African American Alone)',\n", - " 'B11002C': 'Household Type by Relatives and Nonrelatives for Population in Households (American Indian and Alaska Native Alone)',\n", - " 'B11002D': 'Household Type by Relatives and Nonrelatives for Population in Households (Asian Alone)',\n", - " 'B11002E': 'Household Type by Relatives and Nonrelatives for Population in Households (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B11002F': 'Household Type by Relatives and Nonrelatives for Population in Households (Some Other Race Alone)',\n", - " 'B11002G': 'Household Type by Relatives and Nonrelatives for Population in Households (Two or More Races)',\n", - " 'B11002H': 'Household Type by Relatives and Nonrelatives for Population in Households (White Alone, Not Hispanic or Latino)',\n", - " 'B11002I': 'Household Type by Relatives and Nonrelatives for Population in Households (Hispanic or Latino)',\n", - " 'B11003': 'Family Type by Presence and Age of Own Children Under 18 Years',\n", - " 'B11004': 'Family Type by Presence and Age of Related Children Under 18 Years',\n", - " 'B11005': 'Households by Presence of People Under 18 Years by Household Type',\n", - " 'B11006': 'Households by Presence of People 60 Years and Over by Household Type',\n", - " 'B11007': 'Households by Presence of People 65 Years and Over, Household Size and Household Type',\n", - " 'B11008': 'Cohabiting Couple Households by Presence and Age of Own Children Under 18 Years',\n", - " 'B11009': 'Coupled Households by Type',\n", - " 'B11010': 'Nonfamily Households by Sex of Householder by Living Alone by Age of Householder',\n", - " 'B11011': 'Household Type by Units in Structure',\n", - " 'B11012': 'Households by Type',\n", - " 'B11013': 'Subfamily Type by Presence of Own Children Under 18 Years',\n", - " 'B11014': 'Population in Subfamilies by Subfamily Type by Relationship',\n", - " 'B11015': 'Households by Presence of Nonrelatives',\n", - " 'B11016': 'Household Type by Household Size',\n", - " 'B11017': 'Multigenerational Households',\n", - " 'B12001': 'Sex by Marital Status for the Population 15 Years and Over',\n", - " 'B12002': 'Sex by Marital Status by Age for the Population 15 Years and Over',\n", - " 'B12002A': 'Sex by Marital Status for the Population 15 Years and Over (White Alone)',\n", - " 'B12002B': 'Sex by Marital Status for the Population 15 Years and Over (Black or African American Alone)',\n", - " 'B12002C': 'Sex by Marital Status for the Population 15 Years and Over (American Indian and Alaska Native Alone)',\n", - " 'B12002D': 'Sex by Marital Status for the Population 15 Years and Over (Asian Alone)',\n", - " 'B12002E': 'Sex by Marital Status for the Population 15 Years and Over (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B12002F': 'Sex by Marital Status for the Population 15 Years and Over (Some Other Race Alone)',\n", - " 'B12002G': 'Sex by Marital Status for the Population 15 Years and Over (Two or More Races)',\n", - " 'B12002H': 'Sex by Marital Status for the Population 15 Years and Over (White Alone, Not Hispanic or Latino)',\n", - " 'B12002I': 'Sex by Marital Status for the Population 15 Years and Over (Hispanic or Latino)',\n", - " 'B12006': 'Marital Status by Sex by Labor Force Participation',\n", - " 'B12007': 'Median Age at First Marriage',\n", - " 'B12007A': 'Median Age at First Marriage (White Alone)',\n", - " 'B12007B': 'Median Age at First Marriage (Black or African American Alone)',\n", - " 'B12007C': 'Median Age at First Marriage (American Indian and Alaska Native Alone)',\n", - " 'B12007D': 'Median Age at First Marriage (Asian Alone)',\n", - " 'B12007E': 'Median Age at First Marriage (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B12007F': 'Median Age at First Marriage (Some Other Race Alone)',\n", - " 'B12007G': 'Median Age at First Marriage (Two or More Races)',\n", - " 'B12007H': 'Median Age at First Marriage (White Alone, Not Hispanic or Latino)',\n", - " 'B12007I': 'Median Age at First Marriage (Hispanic or Latino)',\n", - " 'B12501': 'Marriages in the Last Year by Sex by Marital Status for the Population 15 Years and Over',\n", - " 'B12502': 'Marriages Ending in Widowhood in the Last Year by Sex by Marital Status for the Population 15 Years and Over',\n", - " 'B12503': 'Divorces in the Last Year by Sex by Marital Status for the Population 15 Years and Over',\n", - " 'B12504': 'Median Duration of Current Marriage in Years by Sex by Marital Status for the Married Population 15 Years and Over',\n", - " 'B12505': 'Number of Times Married by Sex by Marital Status for the Population 15 Years and Over',\n", - " 'B13002': 'Women 15 to 50 Years Who Had a Birth in the Past 12 Months by Marital Status and Age',\n", - " 'B13002A': 'Women 15 to 50 Years Who Had a Birth in the Past 12 Months by Marital Status (White Alone)',\n", - " 'B13002B': 'Women 15 to 50 Years Who Had a Birth in the Past 12 Months by Marital Status (Black or African American Alone)',\n", - " 'B13002C': 'Women 15 to 50 Years Who Had a Birth in the Past 12 Months by Marital Status (American Indian and Alaska Native Alone)',\n", - " 'B13002D': 'Women 15 to 50 Years Who Had a Birth in the Past 12 Months by Marital Status (Asian Alone)',\n", - " 'B13002E': 'Women 15 to 50 Years Who Had a Birth in the Past 12 Months by Marital Status (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B13002F': 'Women 15 to 50 Years Who Had a Birth in the Past 12 Months by Marital Status (Some Other Race Alone)',\n", - " 'B13002G': 'Women 15 to 50 Years Who Had a Birth in the Past 12 Months by Marital Status (Two or More Races)',\n", - " 'B13002H': 'Women 15 to 50 Years Who Had a Birth in the Past 12 Months by Marital Status (White Alone, Not Hispanic or Latino)',\n", - " 'B13002I': 'Women 15 to 50 Years Who Had a Birth in the Past 12 Months by Marital Status (Hispanic or Latino)',\n", - " 'B13004': 'Women 15 to 50 Years Who Had a Birth in the Past 12 Months by Presence of Spouse or Unmarried Partner',\n", - " 'B13008': 'Women 15 to 50 Years Who Had a Birth in the Past 12 Months by Marital Status and Nativity',\n", - " 'B13010': 'Women 15 to 50 Years Who Had a Birth in the Past 12 Months by Marital Status and Poverty Status in the Past 12 Months',\n", - " 'B13012': 'Women 16 to 50 Years Who Had a Birth in the Past 12 Months by Marital Status and Labor Force Status',\n", - " 'B13014': 'Women 15 to 50 Years Who Had a Birth in the Past 12 Months by Marital Status and Educational Attainment',\n", - " 'B13015': 'Women 15 to 50 Years Who Had a Birth in the Past 12 Months by Marital Status and Receipt of Public Assistance Income in the Past 12 Months',\n", - " 'B13016': 'Women 15 to 50 Years Who Had a Birth in the Past 12 Months by Age',\n", - " 'B14001': 'School Enrollment by Level of School for the Population 3 Years and Over',\n", - " 'B14002': 'Sex by School Enrollment by Level of School by Type of School for the Population 3 Years and Over',\n", - " 'B14003': 'Sex by School Enrollment by Type of School by Age for the Population 3 Years and Over',\n", - " 'B14004': 'Sex by College or Graduate School Enrollment by Type of School by Age for the Population 15 Years and Over',\n", - " 'B14005': 'Sex by School Enrollment by Educational Attainment by Employment Status for the Population 16 to 19 Years',\n", - " 'B14006': 'Poverty Status in the Past 12 Months by School Enrollment by Level of School for the Population 3 Years and Over',\n", - " 'B14007': 'School Enrollment by Detailed Level of School for the Population 3 Years and Over',\n", - " 'B14007A': 'School Enrollment by Detailed Level of School for the Population 3 Years and Over (White Alone)',\n", - " 'B14007B': 'School Enrollment by Detailed Level of School for the Population 3 Years and Over (Black or African American Alone)',\n", - " 'B14007C': 'School Enrollment by Detailed Level of School for the Population 3 Years and Over (American Indian and Alaska Native Alone)',\n", - " 'B14007D': 'School Enrollment by Detailed Level of School for the Population 3 Years and Over (Asian Alone)',\n", - " 'B14007E': 'School Enrollment by Detailed Level of School for the Population 3 Years and Over (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B14007F': 'School Enrollment by Detailed Level of School for the Population 3 Years and Over (Some Other Race Alone)',\n", - " 'B14007G': 'School Enrollment by Detailed Level of School for the Population 3 Years and Over (Two or More Races)',\n", - " 'B14007H': 'School Enrollment by Detailed Level of School for the Population 3 Years and Over (White Alone, Not Hispanic or Latino)',\n", - " 'B14007I': 'School Enrollment by Detailed Level of School for the Population 3 Years and Over (Hispanic or Latino)',\n", - " 'B15001': 'Sex by Age by Educational Attainment for the Population 18 Years and Over',\n", - " 'B15002': 'Sex by Educational Attainment for the Population 25 Years and Over',\n", - " 'B15003': 'Educational Attainment for the Population 25 Years and Over',\n", - " 'B15011': \"Sex by Age by Field of Bachelor's Degree for First Major for the Population 25 Years and Over\",\n", - " 'B15012': \"Total Fields of Bachelor's Degrees Reported\",\n", - " 'B15013': \"Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Sex by Field of Bachelor's Degree for First Major\",\n", - " 'B15014': \"Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Age by Field of Bachelor's Degree for First Major\",\n", - " 'B16001': 'Language Spoken at Home by Ability to Speak English for the Population 5 Years and Over',\n", - " 'B16002': 'Detailed Household Language by Household Limited English Speaking Status',\n", - " 'B16003': 'Age by Language Spoken at Home for the Population 5 Years and Over in Limited English Speaking Households',\n", - " 'B16004': 'Age by Language Spoken at Home by Ability to Speak English for the Population 5 Years and Over',\n", - " 'B16005': 'Nativity by Language Spoken at Home by Ability to Speak English for the Population 5 Years and Over',\n", - " 'B16005A': 'Nativity by Language Spoken at Home by Ability to Speak English for the Population 5 Years and Over (White Alone)',\n", - " 'B16005B': 'Nativity by Language Spoken at Home by Ability to Speak English for the Population 5 Years and Over (Black or African American Alone)',\n", - " 'B16005C': 'Nativity by Language Spoken at Home by Ability to Speak English for the Population 5 Years and Over (American Indian and Alaska Native Alone)',\n", - " 'B16005D': 'Nativity by Language Spoken at Home by Ability to Speak English for the Population 5 Years and Over (Asian Alone)',\n", - " 'B16005E': 'Nativity by Language Spoken at Home by Ability to Speak English for the Population 5 Years and Over (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B16005F': 'Nativity by Language Spoken at Home by Ability to Speak English for the Population 5 Years and Over (Some Other Race Alone)',\n", - " 'B16005G': 'Nativity by Language Spoken at Home by Ability to Speak English for the Population 5 Years and Over (Two or More Races)',\n", - " 'B16005H': 'Nativity by Language Spoken at Home by Ability to Speak English for the Population 5 Years and Over (White Alone, Not Hispanic or Latino)',\n", - " 'B16005I': 'Nativity by Language Spoken at Home by Ability to Speak English for the Population 5 Years and Over (Hispanic or Latino)',\n", - " 'B16006': 'Language Spoken at Home by Ability to Speak English for the Population 5 Years and Over (Hispanic or Latino)',\n", - " 'B16007': 'Age by Language Spoken at Home for the Population 5 Years and Over',\n", - " 'B16008': 'Citizenship Status by Age by Language Spoken at Home and Ability to Speak English for the Population 5 Years and Over',\n", - " 'B16009': 'Poverty Status in the Past 12 Months by Age by Language Spoken at Home for the Population 5 Years and Over',\n", - " 'B16010': 'Educational Attainment and Employment Status by Language Spoken at Home for the Population 25 Years and Over',\n", - " 'B17001': 'Poverty Status in the Past 12 Months by Sex by Age',\n", - " 'B17001A': 'Poverty Status in the Past 12 Months by Sex by Age (White Alone)',\n", - " 'B17001B': 'Poverty Status in the Past 12 Months by Sex by Age (Black or African American Alone)',\n", - " 'B17001C': 'Poverty Status in the Past 12 Months by Sex by Age (American Indian and Alaska Native Alone)',\n", - " 'B17001D': 'Poverty Status in the Past 12 Months by Sex by Age (Asian Alone)',\n", - " 'B17001E': 'Poverty Status in the Past 12 Months by Sex by Age (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B17001F': 'Poverty Status in the Past 12 Months by Sex by Age (Some Other Race Alone)',\n", - " 'B17001G': 'Poverty Status in the Past 12 Months by Sex by Age (Two or More Races)',\n", - " 'B17001H': 'Poverty Status in the Past 12 Months by Sex by Age (White Alone, Not Hispanic or Latino)',\n", - " 'B17001I': 'Poverty Status in the Past 12 Months by Sex by Age (Hispanic or Latino)',\n", - " 'B17003': 'Poverty Status in the Past 12 Months of Individuals by Sex by Educational Attainment',\n", - " 'B17004': 'Poverty Status in the Past 12 Months of Individuals by Sex by Work Experience',\n", - " 'B17005': 'Poverty Status in the Past 12 Months of Individuals by Sex by Employment Status',\n", - " 'B17006': 'Poverty Status in the Past 12 Months of Related Children Under 18 Years by Family Type by Age of Related Children Under 18 Years',\n", - " 'B17007': 'Poverty Status in the Past 12 Months of Unrelated Individuals 15 Years and Over by Sex by Age',\n", - " 'B17008': 'Aggregate Income Deficit (Dollars) in the Past 12 Months of Unrelated Individuals by Sex',\n", - " 'B17009': 'Poverty Status by Work Experience of Unrelated Individuals by Householder Status',\n", - " 'B17010': 'Poverty Status in the Past 12 Months of Families by Family Type by Presence of Related Children Under 18 Years by Age of Related Children',\n", - " 'B17010A': 'Poverty Status in the Past 12 Months of Families by Family Type by Presence of Related Children Under 18 Years by Age of Related Children (White Alone Householder)',\n", - " 'B17010B': 'Poverty Status in the Past 12 Months of Families by Family Type by Presence of Related Children Under 18 Years by Age of Related Children (Black or African American Alone Householder)',\n", - " 'B17010C': 'Poverty Status in the Past 12 Months of Families by Family Type by Presence of Related Children Under 18 Years by Age of Related Children (American Indian and Alaska Native Alone)',\n", - " 'B17010D': 'Poverty Status in the Past 12 Months of Families by Family Type by Presence of Related Children Under 18 Years by Age of Related Children (Asian Alone Householder)',\n", - " 'B17010E': 'Poverty Status in the Past 12 Months of Families by Family Type by Presence of Related Children Under 18 Years by Age of Related Children (Native Hawaiian and Other Pacific Islander Alone Householder)',\n", - " 'B17010F': 'Poverty Status in the Past 12 Months of Families by Family Type by Presence of Related Children Under 18 Years by Age of Related Children (Some Other Race Alone Householder)',\n", - " 'B17010G': 'Poverty Status in the Past 12 Months of Families by Family Type by Presence of Related Children Under 18 Years by Age of Related Children (Two or More Races Householder)',\n", - " 'B17010H': 'Poverty Status in the Past 12 Months of Families by Family Type by Presence of Related Children Under 18 Years by Age of Related Children (White Alone, Not Hispanic or Latino Householder)',\n", - " 'B17010I': 'Poverty Status in the Past 12 Months of Families by Family Type by Presence of Related Children Under 18 Years by Age of Related Children (Hispanic or Latino)',\n", - " 'B17011': 'Aggregate Income Deficit (Dollars) in the Past 12 Months for Families by Family Type',\n", - " 'B17012': 'Poverty Status in the Past 12 Months of Families by Household Type by Number of Related Children Under 18 Years',\n", - " 'B17013': 'Poverty Status in the Past 12 Months of Families by Household Type by Number of Persons in Family',\n", - " 'B17014': 'Poverty Status in the Past 12 Months of Families by Household Type by Number of Workers in Family',\n", - " 'B17015': 'Poverty Status in the Past 12 Months of Families by Family Type by Social Security Income by Supplemental Security Income (SSI) and Cash Public Assistance Income',\n", - " 'B17016': 'Poverty Status in the Past 12 Months of Families by Family Type by Work Experience of Householder and Spouse',\n", - " 'B17017': 'Poverty Status in the Past 12 Months by Household Type by Age of Householder',\n", - " 'B17018': 'Poverty Status in the Past 12 Months of Families by Household Type by Educational Attainment of Householder',\n", - " 'B17019': 'Poverty Status in the Past 12 Months of Families by Household Type by Tenure',\n", - " 'B17020': 'Poverty Status in the Past 12 Months by Age',\n", - " 'B17020A': 'Poverty Status in the Past 12 Months by Age (White Alone)',\n", - " 'B17020B': 'Poverty Status in the Past 12 Months by Age (Black or African American Alone)',\n", - " 'B17020C': 'Poverty Status in the Past 12 Months by Age (American Indian and Alaska Native Alone)',\n", - " 'B17020D': 'Poverty Status in the Past 12 Months by Age (Asian Alone)',\n", - " 'B17020E': 'Poverty Status in the Past 12 Months by Age (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B17020F': 'Poverty Status in the Past 12 Months by Age (Some Other Race Alone)',\n", - " 'B17020G': 'Poverty Status in the Past 12 Months by Age (Two or More Races)',\n", - " 'B17020H': 'Poverty Status in the Past 12 Months by Age (White Alone, Not Hispanic or Latino)',\n", - " 'B17020I': 'Poverty Status in the Past 12 Months by Age (Hispanic or Latino)',\n", - " 'B17021': 'Poverty Status of Individuals in the Past 12 Months by Living Arrangement',\n", - " 'B17022': 'Ratio of Income to Poverty Level in the Past 12 Months of Families by Family Type by Presence of Related Children Under 18 Years by Age of Related Children',\n", - " 'B17023': 'Poverty Status in the Past 12 Months of Families by Household Type by Number of Own Children Under 18 Years',\n", - " 'B17024': 'Age by Ratio of Income to Poverty Level in the Past 12 Months',\n", - " 'B17025': 'Poverty Status in the Past 12 Months by Nativity',\n", - " 'B17026': 'Ratio of Income to Poverty Level of Families in the Past 12 Months',\n", - " 'B17101': 'Poverty Status in the Past 12 Months of People in Housing Units',\n", - " 'B18101': 'Sex by Age by Disability Status',\n", - " 'B18101A': 'Age by Disability Status (White Alone)',\n", - " 'B18101B': 'Age by Disability Status (Black or African American Alone)',\n", - " 'B18101C': 'Age by Disability Status (American Indian and Alaska Native Alone)',\n", - " 'B18101D': 'Age by Disability Status (Asian Alone)',\n", - " 'B18101E': 'Age by Disability Status (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B18101F': 'Age by Disability Status (Some Other Race Alone)',\n", - " 'B18101G': 'Age by Disability Status (Two or More Races)',\n", - " 'B18101H': 'Age by Disability Status (White Alone, Not Hispanic or Latino)',\n", - " 'B18101I': 'Age by Disability Status (Hispanic or Latino)',\n", - " 'B18102': 'Sex by Age by Hearing Difficulty',\n", - " 'B18103': 'Sex by Age by Vision Difficulty',\n", - " 'B18104': 'Sex by Age by Cognitive Difficulty',\n", - " 'B18105': 'Sex by Age by Ambulatory Difficulty',\n", - " 'B18106': 'Sex by Age by Self-Care Difficulty',\n", - " 'B18107': 'Sex by Age by Independent Living Difficulty',\n", - " 'B18135': 'Age by Disability Status by Health Insurance Coverage Status',\n", - " 'B18140': 'Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Disability Status by Sex for the Civilian Noninstitutionalized Population 16 Years and Over With Earnings',\n", - " 'B19001': 'Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars)',\n", - " 'B19001A': 'Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (White Alone Householder)',\n", - " 'B19001B': 'Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Black or African American Alone Householder)',\n", - " 'B19001C': 'Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (American Indian and Alaska Native Alone Householder)',\n", - " 'B19001D': 'Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Asian Alone Householder)',\n", - " 'B19001E': 'Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Native Hawaiian and Other Pacific Islander Alone Householder)',\n", - " 'B19001F': 'Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Some Other Race Alone Householder)',\n", - " 'B19001G': 'Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Two or More Races Householder)',\n", - " 'B19001H': 'Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (White Alone, Not Hispanic or Latino Householder)',\n", - " 'B19001I': 'Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Hispanic or Latino Householder)',\n", - " 'B19013': 'Median Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars)',\n", - " 'B19013A': 'Median Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (White Alone Householder)',\n", - " 'B19013B': 'Median Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Black or African American Alone Householder)',\n", - " 'B19013C': 'Median Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (American Indian and Alaska Native Alone Householder)',\n", - " 'B19013D': 'Median Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Asian Alone Householder)',\n", - " 'B19013E': 'Median Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Native Hawaiian and Other Pacific Islander Alone Householder)',\n", - " 'B19013F': 'Median Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Some Other Race Alone Householder)',\n", - " 'B19013G': 'Median Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Two or More Races Householder)',\n", - " 'B19013H': 'Median Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (White Alone, Not Hispanic or Latino Householder)',\n", - " 'B19013I': 'Median Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Hispanic or Latino Householder)',\n", - " 'B19019': 'Median Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Household Size',\n", - " 'B19025': 'Aggregate Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars)',\n", - " 'B19025A': 'Aggregate Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (White Alone Householder)',\n", - " 'B19025B': 'Aggregate Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Black or African American Alone Householder)',\n", - " 'B19025C': 'Aggregate Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (American Indian and Alaska Native Alone Householder)',\n", - " 'B19025D': 'Aggregate Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Asian Alone Householder)',\n", - " 'B19025E': 'Aggregate Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Native Hawaiian and Other Pacific Islander Alone Householder)',\n", - " 'B19025F': 'Aggregate Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Some Other Race Alone Householder)',\n", - " 'B19025G': 'Aggregate Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Two or More Races Householder)',\n", - " 'B19025H': 'Aggregate Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (White Alone, Not Hispanic or Latino Householder)',\n", - " 'B19025I': 'Aggregate Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Hispanic or Latino Householder)',\n", - " 'B19037': 'Age of Householder by Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars)',\n", - " 'B19037A': 'Age of Householder by Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (White Alone Householder)',\n", - " 'B19037B': 'Age of Householder by Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Black or African American Alone Householder)',\n", - " 'B19037C': 'Age of Householder by Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (American Indian and Alaska Native Alone Householder)',\n", - " 'B19037D': 'Age of Householder by Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Asian Alone Householder)',\n", - " 'B19037E': 'Age of Householder by Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Native Hawaiian and Other Pacific Islander Alone Householder)',\n", - " 'B19037F': 'Age of Householder by Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Some Other Race Alone Householder)',\n", - " 'B19037G': 'Age of Householder by Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Two or More Races Householder)',\n", - " 'B19037H': 'Age of Householder by Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (White Alone, Not Hispanic or Latino Householder)',\n", - " 'B19037I': 'Age of Householder by Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Hispanic or Latino Householder)',\n", - " 'B19049': 'Median Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Age of Householder',\n", - " 'B19050': 'Aggregate Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Age of Householder',\n", - " 'B19051': 'Earnings in the Past 12 Months for Households',\n", - " 'B19052': 'Wage or Salary Income in the Past 12 Months for Households',\n", - " 'B19053': 'Self-Employment Income in the Past 12 Months for Households',\n", - " 'B19054': 'Interest, Dividends, or Net Rental Income in the Past 12 Months for Households',\n", - " 'B19055': 'Social Security Income in the Past 12 Months for Households',\n", - " 'B19056': 'Supplemental Security Income (SSI) in the Past 12 Months for Households',\n", - " 'B19057': 'Public Assistance Income in the Past 12 Months for Households',\n", - " 'B19058': 'Public Assistance Income or Food Stamps/SNAP in the Past 12 Months for Households',\n", - " 'B19059': 'Retirement Income in the Past 12 Months for Households',\n", - " 'B19060': 'Other Types of Income in the Past 12 Months for Households',\n", - " 'B19061': 'Aggregate Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for Households',\n", - " 'B19062': 'Aggregate Wage or Salary Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for Households',\n", - " 'B19063': 'Aggregate Self-Employment Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for Households',\n", - " 'B19064': 'Aggregate Interest, Dividends, or Net Rental Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for Households',\n", - " 'B19065': 'Aggregate Social Security Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for Households',\n", - " 'B19066': 'Aggregate Supplemental Security Income (SSI) in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for Households',\n", - " 'B19067': 'Aggregate Public Assistance Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for Households',\n", - " 'B19069': 'Aggregate Retirement Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for Households',\n", - " 'B19070': 'Aggregate Other Types of Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for Households',\n", - " 'B19080': 'Household Income Quintile Upper Limits',\n", - " 'B19081': 'Mean Household Income of Quintiles',\n", - " 'B19082': 'Shares of Aggregate Household Income by Quintile',\n", - " 'B19083': 'Gini Index of Income Inequality',\n", - " 'B19101': 'Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars)',\n", - " 'B19101A': 'Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (White Alone Householder)',\n", - " 'B19101B': 'Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Black or African American Alone Householder)',\n", - " 'B19101C': 'Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (American Indian and Alaska Native Alone Householder)',\n", - " 'B19101D': 'Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Asian Alone Householder)',\n", - " 'B19101E': 'Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Native Hawaiian and Other Pacific Islander Alone Householder)',\n", - " 'B19101F': 'Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Some Other Race Alone Householder)',\n", - " 'B19101G': 'Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Two or More Races Householder)',\n", - " 'B19101H': 'Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (White Alone, Not Hispanic or Latino Householder)',\n", - " 'B19101I': 'Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Hispanic or Latino Householder)',\n", - " 'B19113': 'Median Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars)',\n", - " 'B19113A': 'Median Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (White Alone Householder)',\n", - " 'B19113B': 'Median Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Black or African American Alone Householder)',\n", - " 'B19113C': 'Median Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (American Indian and Alaska Native Alone Householder)',\n", - " 'B19113D': 'Median Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Asian Alone Householder)',\n", - " 'B19113E': 'Median Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Native Hawaiian and Other Pacific Islander Alone Householder)',\n", - " 'B19113F': 'Median Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Some Other Race Alone Householder)',\n", - " 'B19113G': 'Median Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Two or More Races)',\n", - " 'B19113H': 'Median Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (White Alone, Not Hispanic or Latino Householder)',\n", - " 'B19113I': 'Median Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Hispanic or Latino Householder)',\n", - " 'B19119': 'Median Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Family Size',\n", - " 'B19121': 'Median Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Number of Earners in Family',\n", - " 'B19122': 'Number of Earners in Family',\n", - " 'B19123': 'Family Size by Cash Public Assistance Income or Households Receiving Food Stamps/SNAP Benefits in the Past 12 Months',\n", - " 'B19125': 'Median Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Presence of Own Children Under 18 Years',\n", - " 'B19126': 'Median Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Family Type by Presence of Own Children Under 18 Years',\n", - " 'B19127': 'Aggregate Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars)',\n", - " 'B19128': 'Aggregate Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Family Type by Presence of Own Children Under 18 Years',\n", - " 'B19129': 'Aggregate Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Number of Workers in Family',\n", - " 'B19130': 'Aggregate Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Family Type by Age of Householder',\n", - " 'B19131': 'Family Type by Presence of Own Children Under 18 Years by Family Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars)',\n", - " 'B19201': 'Nonfamily Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars)',\n", - " 'B19202': 'Median Nonfamily Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars)',\n", - " 'B19202A': 'Median Nonfamily Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (White Alone Householder)',\n", - " 'B19202B': 'Median Nonfamily Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Black or African American Alone Householder)',\n", - " 'B19202C': 'Median Nonfamily Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (American Indian and Alaska Native Alone Householder)',\n", - " 'B19202D': 'Median Nonfamily Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Asian Alone Householder)',\n", - " 'B19202E': 'Median Nonfamily Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Native Hawaiian and Other Pacific Islander Alone Householder)',\n", - " 'B19202F': 'Median Nonfamily Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Some Other Race Alone Householder)',\n", - " 'B19202G': 'Median Nonfamily Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Two or More Races Householder)',\n", - " 'B19202H': 'Median Nonfamily Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (White Alone, Not Hispanic or Latino Householder)',\n", - " 'B19202I': 'Median Nonfamily Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Hispanic or Latino Householder)',\n", - " 'B19214': 'Aggregate Nonfamily Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars)',\n", - " 'B19215': 'Median Nonfamily Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Sex of Householder by Living Alone by Age of Householder',\n", - " 'B19216': 'Aggregate Nonfamily Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Sex of Householder by Living Alone by Age of Householder',\n", - " 'B19301': 'Per Capita Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars)',\n", - " 'B19301A': 'Per Capita Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (White Alone)',\n", - " 'B19301B': 'Per Capita Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Black or African American Alone)',\n", - " 'B19301C': 'Per Capita Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (American Indian and Alaska Native Alone)',\n", - " 'B19301D': 'Per Capita Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Asian Alone)',\n", - " 'B19301E': 'Per Capita Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B19301F': 'Per Capita Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Some Other Race Alone)',\n", - " 'B19301G': 'Per Capita Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Two or More Races)',\n", - " 'B19301H': 'Per Capita Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (White Alone, Not Hispanic or Latino)',\n", - " 'B19301I': 'Per Capita Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) (Hispanic or Latino)',\n", - " 'B19313': 'Aggregate Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars)',\n", - " 'B19313A': 'Aggregate Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 15 Years and Over (White Alone)',\n", - " 'B19313B': 'Aggregate Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 15 Years and Over (Black or African American Alone)',\n", - " 'B19313C': 'Aggregate Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 15 Years and Over (American Indian and Alaska Native Alone)',\n", - " 'B19313D': 'Aggregate Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 15 Years and Over (Asian Alone)',\n", - " 'B19313E': 'Aggregate Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 15 Years and Over (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B19313F': 'Aggregate Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 15 Years and Over (Some Other Race Alone)',\n", - " 'B19313G': 'Aggregate Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 15 Years and Over (Two or More Races)',\n", - " 'B19313H': 'Aggregate Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 15 Years and Over (White Alone, Not Hispanic or Latino)',\n", - " 'B19313I': 'Aggregate Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 15 Years and Over (Hispanic or Latino)',\n", - " 'B19325': 'Sex by Work Experience in the Past 12 Months by Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 15 Years and Over',\n", - " 'B19326': 'Median Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Sex by Work Experience in the Past 12 Months for the Population 15 Years and Over With Income',\n", - " 'B20001': 'Sex by Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 16 Years and Over With Earnings in the Past 12 Months',\n", - " 'B20002': 'Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Sex for the Population 16 Years and Over With Earnings in the Past 12 Months',\n", - " 'B20003': 'Aggregate Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Sex by Work Experience for the Population 16 Years and Over With Earnings',\n", - " 'B20004': 'Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Sex by Educational Attainment for the Population 25 Years and Over',\n", - " 'B20005': 'Sex by Work Experience in the Past 12 Months by Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 16 Years and Over',\n", - " 'B20005A': 'Sex by Work Experience in the Past 12 Months by Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 16 Years and Over (White Alone)',\n", - " 'B20005B': 'Sex by Work Experience in the Past 12 Months by Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 16 Years and Over (Black or African American Alone)',\n", - " 'B20005C': 'Sex by Work Experience in the Past 12 Months by Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 16 Years and Over (American Indian and Alaska Native Alone)',\n", - " 'B20005D': 'Sex by Work Experience in the Past 12 Months by Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 16 Years and Over (Asian Alone)',\n", - " 'B20005E': 'Sex by Work Experience in the Past 12 Months by Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 16 Years and Over (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B20005F': 'Sex by Work Experience in the Past 12 Months by Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 16 Years and Over (Some Other Race Alone)',\n", - " 'B20005G': 'Sex by Work Experience in the Past 12 Months by Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 16 Years and Over (Two or More Races)',\n", - " 'B20005H': 'Sex by Work Experience in the Past 12 Months by Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 16 Years and Over (White Alone, Not Hispanic or Latino)',\n", - " 'B20005I': 'Sex by Work Experience in the Past 12 Months by Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 16 Years and Over (Hispanic or Latino)',\n", - " 'B20017': 'Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Sex by Work Experience in the Past 12 Months for the Population 16 Years and Over With Earnings in the Past 12 Months',\n", - " 'B20017A': 'Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Sex by Work Experience in the Past 12 Months for the Population 16 Years and Over With Earnings in the Past 12 Months (White Alone)',\n", - " 'B20017B': 'Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Sex by Work Experience in the Past 12 Months for the Population 16 Years and Over With Earnings in the Past 12 Months (Black or African American Alone)',\n", - " 'B20017C': 'Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Sex by Work Experience in the Past 12 Months for the Population 16 Years and Over With Earnings in the Past 12 Months (American Indian and Alaska Native Alone)',\n", - " 'B20017D': 'Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Sex by Work Experience in the Past 12 Months for the Population 16 Years and Over With Earnings in the Past 12 Months (Asian Alone)',\n", - " 'B20017E': 'Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Sex by Work Experience in the Past 12 Months for the Population 16 Years and Over With Earnings in the Past 12 Months (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B20017F': 'Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Sex by Work Experience in the Past 12 Months for the Population 16 Years and Over With Earnings in the Past 12 Months (Some Other Race Alone)',\n", - " 'B20017G': 'Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Sex by Work Experience in the Past 12 Months for the Population 16 Years and Over With Earnings in the Past 12 Months (Two or More Races)',\n", - " 'B20017H': 'Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Sex by Work Experience in the Past 12 Months for the Population 16 Years and Over With Earnings in the Past 12 Months (White Alone, Not Hispanic or Latino)',\n", - " 'B20017I': 'Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Sex by Work Experience in the Past 12 Months for the Population 16 Years and Over With Earnings (Hispanic or Latino)',\n", - " 'B20018': 'Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Population 16 Years and Over Who Worked Full-Time, Year-Round With Earnings in the Past 12 Months',\n", - " 'B21001': 'Sex by Age by Veteran Status for the Civilian Population 18 Years and Over',\n", - " 'B21002': 'Period of Military Service for Civilian Veterans 18 Years and Over',\n", - " 'B21003': 'Veteran Status by Educational Attainment for the Civilian Population 25 Years and Over',\n", - " 'B21004': 'Median Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Veteran Status by Sex for the Civilian Population 18 Years and Over With Income',\n", - " 'B21005': 'Age by Veteran Status by Employment Status for the Civilian Population 18 to 64 Years',\n", - " 'B21100': 'Service-Connected Disability-Rating Status and Ratings for Civilian Veterans 18 Years and Over',\n", - " 'B22001': 'Receipt of Food Stamps/SNAP in the Past 12 Months by Presence of People 60 Years and Over for Households',\n", - " 'B22002': 'Receipt of Food Stamps/SNAP in the Past 12 Months by Presence of Children Under 18 Years by Household Type for Households',\n", - " 'B22003': 'Receipt of Food Stamps/SNAP in the Past 12 Months by Poverty Status in the Past 12 Months for Households',\n", - " 'B22005A': 'Receipt of Food Stamps/SNAP in the Past 12 Months by Race of Householder (White Alone)',\n", - " 'B22005B': 'Receipt of Food Stamps/SNAP in the Past 12 Months by Race of Householder (Black or African American Alone)',\n", - " 'B22005C': 'Receipt of Food Stamps/SNAP in the Past 12 Months by Race of Householder (American Indian and Alaska Native Alone)',\n", - " 'B22005D': 'Receipt of Food Stamps/SNAP in the Past 12 Months by Race of Householder (Asian Alone)',\n", - " 'B22005E': 'Receipt of Food Stamps/SNAP in the Past 12 Months by Race of Householder (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B22005F': 'Receipt of Food Stamps/SNAP in the Past 12 Months by Race of Householder (Some Other Race Alone)',\n", - " 'B22005G': 'Receipt of Food Stamps/SNAP in the Past 12 Months by Race of Householder (Two or More Races)',\n", - " 'B22005H': 'Receipt of Food Stamps/SNAP in the Past 12 Months by Race of Householder (White Alone, Not Hispanic or Latino)',\n", - " 'B22005I': 'Receipt of Food Stamps/SNAP in the Past 12 Months by Race of Householder (Hispanic or Latino)',\n", - " 'B22007': 'Receipt of Food Stamps/SNAP in the Past 12 Months by Family Type by Number of Workers in Family in the Past 12 Months',\n", - " 'B22008': 'Median Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Receipt of Food Stamps/SNAP in the Past 12 Months',\n", - " 'B22010': 'Receipt of Food Stamps/SNAP in the Past 12 Months by Disability Status for Households',\n", - " 'B23001': 'Sex by Age by Employment Status for the Population 16 Years and Over',\n", - " 'B23003': 'Presence of Own Children Under 18 Years by Age of Own Children Under 18 Years by Employment Status for Females 20 to 64 Years',\n", - " 'B23006': 'Educational Attainment by Employment Status for the Population 25 to 64 Years',\n", - " 'B23007': 'Presence of Own Children Under 18 Years by Family Type by Employment Status',\n", - " 'B23008': 'Age of Own Children Under 18 Years in Families and Subfamilies by Living Arrangements by Employment Status of Parents',\n", - " 'B23009': 'Presence of Own Children Under 18 Years by Family Type by Number of Workers in Family in the Past 12 Months',\n", - " 'B23010': 'Presence of Own Children Under 18 Years in Married-Couple Families by Work Experience of Householder and Spouse',\n", - " 'B23013': 'Median Age by Sex for Workers 16 to 64 Years',\n", - " 'B23018': 'Aggregate Usual Hours Worked in the Past 12 Months by Sex for Workers 16 to 64 Years',\n", - " 'B23020': 'Mean Usual Hours Worked in the Past 12 Months for Workers 16 to 64 Years',\n", - " 'B23022': 'Sex by Work Status in the Past 12 Months by Usual Hours Worked per Week in the Past 12 Months by Weeks Worked in the Past 12 Months for the Population 16 to 64 Years',\n", - " 'B23024': 'Poverty Status in the Past 12 Months by Disability Status by Employment Status for the Population 20 to 64 Years',\n", - " 'B23025': 'Employment Status for the Population 16 Years and Over',\n", - " 'B23026': 'Sex by Work Status in the Past 12 Months by Usual Hours Worked per Week in the Past 12 Months by Weeks Worked in the Past 12 Months for the Population 65 Years and Over',\n", - " 'B23027': 'Full-Time, Year-Round Work Status in the Past 12 Months by Age for the Population 16 Years and Over',\n", - " 'B24011': 'Occupation by Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Civilian Employed Population 16 Years and Over',\n", - " 'B24012': 'Sex by Occupation and Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Civilian Employed Population 16 Years and Over',\n", - " 'B24021': 'Occupation by Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Full-Time, Year-Round Civilian Employed Population 16 Years and Over',\n", - " 'B24022': 'Sex by Occupation and Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Full-Time, Year-Round Civilian Employed Population 16 Years and Over',\n", - " 'B24031': 'Industry by Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Civilian Employed Population 16 Years and Over',\n", - " 'B24032': 'Sex by Industry and Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Civilian Employed Population 16 Years and Over',\n", - " 'B24041': 'Industry by Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Full-Time, Year-Round Civilian Employed Population 16 Years and Over',\n", - " 'B24042': 'Sex by Industry and Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Full-Time, Year-Round Civilian Employed Population 16 Years and Over',\n", - " 'B24080': 'Sex by Class of Worker for the Civilian Employed Population 16 Years and Over',\n", - " 'B24081': 'Class of Worker by Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Civilian Employed Population 16 Years and Over',\n", - " 'B24082': 'Sex by Class of Worker and Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Civilian Employed Population 16 Years and Over',\n", - " 'B24090': 'Sex by Class of Worker for the Full-Time, Year-Round Civilian Employed Population 16 Years and Over',\n", - " 'B24091': 'Class of Worker by Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Full-Time, Year-Round Civilian Employed Population 16 Years and Over',\n", - " 'B24092': 'Sex by Class of Worker and Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Full-Time, Year-Round Civilian Employed Population 16 Years and Over',\n", - " 'B24114': 'Detailed Occupation for the Civilian Employed Population 16 Years and Over',\n", - " 'B24115': 'Detailed Occupation for the Civilian Employed Male Population 16 Years and Over',\n", - " 'B24116': 'Detailed Occupation for the Civilian Employed Female Population 16 Years and Over',\n", - " 'B24121': 'Detailed Occupation by Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Full-Time, Year-Round Civilian Employed Population 16 Years and Over',\n", - " 'B24122': 'Detailed Occupation by Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Full-Time, Year-Round Civilian Employed Male Population 16 Years and Over',\n", - " 'B24123': 'Detailed Occupation by Median Earnings in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) for the Full-Time, Year-Round Civilian Employed Female Population 16 Years and Over',\n", - " 'B24124': 'Detailed Occupation for the Full-Time, Year-Round Civilian Employed Population 16 Years and Over',\n", - " 'B24125': 'Detailed Occupation for the Full-Time, Year-Round Civilian Employed Male Population 16 Years and Over',\n", - " 'B24126': 'Detailed Occupation for the Full-Time, Year-Round Civilian Employed Female Population 16 Years and Over',\n", - " 'B24134': 'Detailed Industry for the Civilian Employed Population 16 Years and Over',\n", - " 'B24135': 'Detailed Industry for the Civilian Employed Male Population 16 Years and Over',\n", - " 'B24136': 'Detailed Industry for the Civilian Employed Female Population 16 Years and Over',\n", - " 'B25001': 'Housing Units',\n", - " 'B25002': 'Occupancy Status',\n", - " 'B25003': 'Tenure',\n", - " 'B25003A': 'Tenure (White Alone Householder)',\n", - " 'B25003B': 'Tenure (Black or African American Alone Householder)',\n", - " 'B25003C': 'Tenure (American Indian and Alaska Native Alone Householder)',\n", - " 'B25003D': 'Tenure (Asian Alone Householder)',\n", - " 'B25003E': 'Tenure (Native Hawaiian and Other Pacific Islander Alone Householder)',\n", - " 'B25003F': 'Tenure (Some Other Race Alone Householder)',\n", - " 'B25003G': 'Tenure (Two or More Races Householder)',\n", - " 'B25003H': 'Tenure (White Alone, Not Hispanic or Latino Householder)',\n", - " 'B25003I': 'Tenure (Hispanic or Latino Householder)',\n", - " 'B25004': 'Vacancy Status',\n", - " 'B25005': 'Vacant - Current Residence Elsewhere',\n", - " 'B25006': 'Race of Householder',\n", - " 'B25007': 'Tenure by Age of Householder',\n", - " 'B25008': 'Total Population in Occupied Housing Units by Tenure',\n", - " 'B25008A': 'Total Population in Occupied Housing Units by Tenure (White Alone Householder)',\n", - " 'B25008B': 'Total Population in Occupied Housing Units by Tenure (Black or African American Alone Householder)',\n", - " 'B25008C': 'Total Population in Occupied Housing Units by Tenure (American Indian and Alaska Native Alone Householder)',\n", - " 'B25008D': 'Total Population in Occupied Housing Units by Tenure (Asian Alone Householder)',\n", - " 'B25008E': 'Total Population in Occupied Housing Units by Tenure (Native Hawaiian and Other Pacific Islander Alone Householder)',\n", - " 'B25008F': 'Total Population in Occupied Housing Units by Tenure (Some Other Race Alone Householder)',\n", - " 'B25008G': 'Total Population in Occupied Housing Units by Tenure (Two or More Races Householder)',\n", - " 'B25008H': 'Total Population in Occupied Housing Units by Tenure (White Alone, Not Hispanic or Latino Householder)',\n", - " 'B25008I': 'Total Population in Occupied Housing Units by Tenure (Hispanic or Latino Householder)',\n", - " 'B25009': 'Tenure by Household Size',\n", - " 'B25010': 'Average Household Size of Occupied Housing Units by Tenure',\n", - " 'B25010A': 'Average Household Size of Occupied Housing Units by Tenure (White Alone Householder)',\n", - " 'B25010B': 'Average Household Size of Occupied Housing Units by Tenure (Black or African American Alone Householder)',\n", - " 'B25010C': 'Average Household Size of Occupied Housing Units by Tenure (American Indian and Alaska Native Alone Householder)',\n", - " 'B25010D': 'Average Household Size of Occupied Housing Units by Tenure (Asian Alone Householder)',\n", - " 'B25010E': 'Average Household Size of Occupied Housing Units by Tenure (Native Hawaiian and Other Pacific Islander Alone Householder)',\n", - " 'B25010F': 'Average Household Size of Occupied Housing Units by Tenure (Some Other Race Alone Householder)',\n", - " 'B25010G': 'Average Household Size of Occupied Housing Units by Tenure (Two or More Races Householder)',\n", - " 'B25010H': 'Average Household Size of Occupied Housing Units by Tenure (White Alone, Not Hispanic or Latino Householder)',\n", - " 'B25010I': 'Average Household Size of Occupied Housing Units by Tenure (Hispanic or Latino Householder)',\n", - " 'B25011': 'Tenure by Household Type (Including Living Alone) and Age of Householder',\n", - " 'B25012': 'Tenure by Families and Presence of Own Children',\n", - " 'B25013': 'Tenure by Educational Attainment of Householder',\n", - " 'B25014': 'Tenure by Occupants per Room',\n", - " 'B25014A': 'Occupants per Room (White Alone Householder)',\n", - " 'B25014B': 'Occupants per Room (Black or African American Alone Householder)',\n", - " 'B25014C': 'Occupants per Room (American Indian and Alaska Native Alone Householder)',\n", - " 'B25014D': 'Occupants per Room (Asian Alone Householder)',\n", - " 'B25014E': 'Occupants per Room (Native Hawaiian and Other Pacific Islander Alone Householder)',\n", - " 'B25014F': 'Occupants per Room (Some Other Race Alone Householder)',\n", - " 'B25014G': 'Occupants per Room (Two or More Races Householder)',\n", - " 'B25014H': 'Occupants per Room (White Alone, Not Hispanic or Latino Householder)',\n", - " 'B25014I': 'Occupants per Room (Hispanic or Latino Householder)',\n", - " 'B25015': 'Tenure by Age of Householder by Occupants per Room',\n", - " 'B25016': 'Tenure by Plumbing Facilities by Occupants per Room',\n", - " 'B25017': 'Rooms',\n", - " 'B25018': 'Median Number of Rooms',\n", - " 'B25019': 'Aggregate Number of Rooms',\n", - " 'B25020': 'Tenure by Rooms',\n", - " 'B25021': 'Median Number of Rooms by Tenure',\n", - " 'B25022': 'Aggregate Number of Rooms by Tenure',\n", - " 'B25024': 'Units in Structure',\n", - " 'B25026': 'Total Population in Occupied Housing Units by Tenure by Year Householder Moved Into Unit',\n", - " 'B25027': 'Mortgage Status by Age of Householder',\n", - " 'B25031': 'Median Gross Rent by Bedrooms',\n", - " 'B25032': 'Tenure by Units in Structure',\n", - " 'B25032A': 'Units in Structure (White Alone Householder)',\n", - " 'B25032B': 'Units in Structure (Black or African American Alone Householder)',\n", - " 'B25032C': 'Units in Structure (American Indian and Alaska Native Alone Householder)',\n", - " 'B25032D': 'Units in Structure (Asian Alone Householder)',\n", - " 'B25032E': 'Units in Structure (Native Hawaiian and Other Pacific Islander Alone Householder)',\n", - " 'B25032F': 'Units in Structure (Some Other Race Alone Householder)',\n", - " 'B25032G': 'Units in Structure (Two or More Races Householder)',\n", - " 'B25032H': 'Units in Structure (White Alone, Not Hispanic or Latino Householder)',\n", - " 'B25032I': 'Units in Structure (Hispanic or Latino Householder)',\n", - " 'B25033': 'Total Population in Occupied Housing Units by Tenure by Units in Structure',\n", - " 'B25034': 'Year Structure Built',\n", - " 'B25035': 'Median Year Structure Built',\n", - " 'B25036': 'Tenure by Year Structure Built',\n", - " 'B25037': 'Median Year Structure Built by Tenure',\n", - " 'B25038': 'Tenure by Year Householder Moved Into Unit',\n", - " 'B25039': 'Median Year Householder Moved Into Unit by Tenure',\n", - " 'B25040': 'House Heating Fuel',\n", - " 'B25041': 'Bedrooms',\n", - " 'B25042': 'Tenure by Bedrooms',\n", - " 'B25043': 'Tenure by Telephone Service Available by Age of Householder',\n", - " 'B25044': 'Tenure by Vehicles Available',\n", - " 'B25045': 'Tenure by Vehicles Available by Age of Householder',\n", - " 'B25046': 'Aggregate Number of Vehicles Available by Tenure',\n", - " 'B25047': 'Plumbing Facilities for All Housing Units',\n", - " 'B25048': 'Plumbing Facilities for Occupied Housing Units',\n", - " 'B25049': 'Tenure by Plumbing Facilities',\n", - " 'B25050': 'Plumbing Facilities by Occupants per Room by Year Structure Built',\n", - " 'B25051': 'Kitchen Facilities for All Housing Units',\n", - " 'B25052': 'Kitchen Facilities for Occupied Housing Units',\n", - " 'B25053': 'Tenure by Kitchen Facilities',\n", - " 'B25054': 'Kitchen Facilities by Meals Included in Rent',\n", - " 'B25055': 'Age of Householder by Meals Included in Rent',\n", - " 'B25056': 'Contract Rent',\n", - " 'B25057': 'Lower Contract Rent Quartile (Dollars)',\n", - " 'B25058': 'Median Contract Rent (Dollars)',\n", - " 'B25059': 'Upper Contract Rent Quartile (Dollars)',\n", - " 'B25060': 'Aggregate Contract Rent (Dollars)',\n", - " 'B25061': 'Rent Asked',\n", - " 'B25062': 'Aggregate Rent Asked (Dollars)',\n", - " 'B25063': 'Gross Rent',\n", - " 'B25064': 'Median Gross Rent (Dollars)',\n", - " 'B25065': 'Aggregate Gross Rent (Dollars)',\n", - " 'B25066': 'Aggregate Gross Rent (Dollars) by Units in Structure',\n", - " 'B25067': 'Aggregate Gross Rent (Dollars) by Meals Included in Rent',\n", - " 'B25068': 'Bedrooms by Gross Rent',\n", - " 'B25069': 'Inclusion of Utilities in Rent',\n", - " 'B25070': 'Gross Rent as a Percentage of Household Income in the Past 12 Months',\n", - " 'B25071': 'Median Gross Rent as a Percentage of Household Income in the Past 12 Months (Dollars)',\n", - " 'B25072': 'Age of Householder by Gross Rent as a Percentage of Household Income in the Past 12 Months',\n", - " 'B25074': 'Household Income by Gross Rent as a Percentage of Household Income in the Past 12 Months',\n", - " 'B25075': 'Value',\n", - " 'B25076': 'Lower Value Quartile (Dollars)',\n", - " 'B25077': 'Median Value (Dollars)',\n", - " 'B25077A': 'Median Value (Dollars, White Alone Householder)',\n", - " 'B25077B': 'Median Value (Dollars, Black or African American Alone Householder)',\n", - " 'B25077C': 'Median Value (Dollars, American Indian and Alaska Native Alone Householder)',\n", - " 'B25077D': 'Median Value (Dollars, Asian Alone Householder)',\n", - " 'B25077E': 'Median Value (Dollars, Native Hawaiian and Other Pacific Islander Alone Householder)',\n", - " 'B25077F': 'Median Value (Dollars, Some Other Race Alone Householder)',\n", - " 'B25077G': 'Median Value (Dollars, Two or More Races Householder)',\n", - " 'B25077H': 'Median Value (Dollars, White Alone, Not Hispanic or Latino Householder)',\n", - " 'B25077I': 'Median Value (Dollars, Hispanic or Latino Householder)',\n", - " 'B25078': 'Upper Value Quartile (Dollars)',\n", - " 'B25079': 'Aggregate Value (Dollars) by Age of Householder',\n", - " 'B25080': 'Aggregate Value (Dollars) by Units in Structure',\n", - " 'B25081': 'Mortgage Status',\n", - " 'B25082': 'Aggregate Value (Dollars) by Mortgage Status',\n", - " 'B25083': 'Median Value (Dollars) for Mobile Homes',\n", - " 'B25085': 'Price Asked',\n", - " 'B25086': 'Aggregate Price Asked (Dollars)',\n", - " 'B25087': 'Mortgage Status and Selected Monthly Owner Costs',\n", - " 'B25088': 'Median Selected Monthly Owner Costs (Dollars) by Mortgage Status',\n", - " 'B25089': 'Aggregate Selected Monthly Owner Costs (Dollars) by Mortgage Status',\n", - " 'B25090': 'Mortgage Status by Aggregate Real Estate Taxes Paid (Dollars)',\n", - " 'B25091': 'Mortgage Status by Selected Monthly Owner Costs as a Percentage of Household Income in the Past 12 Months',\n", - " 'B25092': 'Median Selected Monthly Owner Costs as a Percentage of Household Income in the Past 12 Months',\n", - " 'B25093': 'Age of Householder by Selected Monthly Owner Costs as a Percentage of Household Income in the Past 12 Months',\n", - " 'B25094': 'Selected Monthly Owner Costs',\n", - " 'B25095': 'Household Income by Selected Monthly Owner Costs as a Percentage of Household Income in the Past 12 Months',\n", - " 'B25096': 'Mortgage Status by Value',\n", - " 'B25097': 'Mortgage Status by Median Value (Dollars)',\n", - " 'B25098': 'Mortgage Status by Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars)',\n", - " 'B25099': 'Mortgage Status by Median Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars)',\n", - " 'B25100': 'Mortgage Status by Ratio of Value to Household Income in the Past 12 Months',\n", - " 'B25101': 'Mortgage Status by Monthly Housing Costs as a Percentage of Household Income in the Past 12 Months',\n", - " 'B25102': 'Mortgage Status by Real Estate Taxes Paid',\n", - " 'B25103': 'Mortgage Status by Median Real Estate Taxes Paid (Dollars)',\n", - " 'B25104': 'Monthly Housing Costs',\n", - " 'B25105': 'Median Monthly Housing Costs (Dollars)',\n", - " 'B25106': 'Tenure by Housing Costs as a Percentage of Household Income in the Past 12 Months',\n", - " 'B25107': 'Median Value by Year Structure Built',\n", - " 'B25108': 'Aggregate Value (Dollars) by Year Structure Built',\n", - " 'B25109': 'Median Value by Year Householder Moved Into Unit',\n", - " 'B25110': 'Aggregate Value (Dollars) by Year Householder Moved Into Unit',\n", - " 'B25111': 'Median Gross Rent by Year Structure Built',\n", - " 'B25112': 'Aggregate Gross Rent (Dollars) by Year Structure Built',\n", - " 'B25113': 'Median Gross Rent by Year Householder Moved Into Unit',\n", - " 'B25114': 'Aggregate Gross Rent (Dollars) by Year Householder Moved Into Unit',\n", - " 'B25115': 'Tenure by Household Type and Presence and Age of Own Children',\n", - " 'B25116': 'Tenure by Household Size by Age of Householder',\n", - " 'B25117': 'Tenure by House Heating Fuel',\n", - " 'B25118': 'Tenure by Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars)',\n", - " 'B25119': 'Median Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Tenure',\n", - " 'B25120': 'Aggregate Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Tenure and Mortgage Status',\n", - " 'B25121': 'Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Value',\n", - " 'B25122': 'Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars) by Gross Rent',\n", - " 'B25123': 'Tenure by Selected Physical and Financial Conditions',\n", - " 'B25124': 'Tenure by Household Size by Units in Structure',\n", - " 'B25125': 'Tenure by Age of Householder by Units in Structure',\n", - " 'B25126': 'Tenure by Age of Householder by Year Structure Built',\n", - " 'B25127': 'Tenure by Year Structure Built by Units in Structure',\n", - " 'B25128': 'Tenure by Age of Householder by Year Householder Moved Into Unit',\n", - " 'B25129': 'Tenure by Year Householder Moved Into Unit by Units in Structure',\n", - " 'B25132': 'Monthly Electricity Costs',\n", - " 'B25133': 'Monthly Gas Costs',\n", - " 'B25134': 'Annual Water and Sewer Costs',\n", - " 'B25135': 'Annual Other Fuel Costs',\n", - " 'B25136': 'Structure Type by Occupancy Status',\n", - " 'B25137': 'Bedrooms by Occupancy Status',\n", - " 'B25138': 'Lower Gross Rent Quartile (Dollars)',\n", - " 'B25139': 'Upper Gross Rent Quartile (Dollars)',\n", - " 'B25140': 'Housing Costs as a Percentage of Household Income in the Past 12 Months',\n", - " 'B25140A': 'Housing Costs as a Percentage of Household Income in the Past 12 Months (White Alone Householder)',\n", - " 'B25140B': 'Housing Costs as a Percentage of Household Income in the Past 12 Months (Black Alone Householder)',\n", - " 'B25140C': 'Housing Costs as a Percentage of Household Income in the Past 12 Months (American Indian and Alaska Native Alone Householder)',\n", - " 'B25140D': 'Housing Costs as a Percentage of Household Income in the Past 12 Months (Asian Alone Householder)',\n", - " 'B25140E': 'Housing Costs as a Percentage of Household Income in the Past 12 Months (Native Hawaiian and Other Pacific Islander Alone Householder)',\n", - " 'B25140F': 'Housing Costs as a Percentage of Household Income in the Past 12 Months (Some Other Race Alone Householder)',\n", - " 'B25140G': 'Housing Costs as a Percentage of Household Income in the Past 12 Months (Two or More Races Householder)',\n", - " 'B25140H': 'Housing Costs as a Percentage of Household Income in the Past 12 Months (White Alone, Not Hispanic or Latino Householder)',\n", - " 'B25140I': 'Housing Costs as a Percentage of Household Income in the Past 12 Months (Hispanic or Latino Householder)',\n", - " 'B25141': 'Homeowners Insurance Costs by Mortgage Status (Yearly)',\n", - " 'B26001': 'Group Quarters Population',\n", - " 'B26101': 'Group Quarters Type (3 Types) by Sex by Age',\n", - " 'B26102': 'Median Age by Group Quarters Type (3 Types)',\n", - " 'B26103': 'Group Quarters Type (3 Types)',\n", - " 'B26103A': 'Group Quarters Type (3 Types) (White Alone)',\n", - " 'B26103B': 'Group Quarters Type (3 Types) (Black or African American Alone)',\n", - " 'B26103C': 'Group Quarters Type (3 Types) (American Indian and Alaska Native Alone)',\n", - " 'B26103D': 'Group Quarters Type (3 Types) (Asian Alone)',\n", - " 'B26103E': 'Group Quarters Type (3 Types) (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B26103F': 'Group Quarters Type (3 Types) (Some Other Race Alone)',\n", - " 'B26103G': 'Group Quarters Type (3 Types) (Two or More Races)',\n", - " 'B26103H': 'Group Quarters Type (3 Types) (White Alone, Not Hispanic or Latino)',\n", - " 'B26103I': 'Group Quarters Type (3 Types) (Hispanic or Latino)',\n", - " 'B26104': 'Group Quarters Type (3 Types) by Marital Status',\n", - " 'B26105': 'Group Quarters Type (3 Types) by School Enrollment',\n", - " 'B26106': 'Group Quarters Type (3 Types) by Educational Attainment',\n", - " 'B26107': 'Group Quarters Type (3 Types) by Veteran Status',\n", - " 'B26108': 'Group Quarters Type (3 Types) by Age by Disability Status',\n", - " 'B26109': 'Group Quarters Type (3 Types) by Geographical Mobility in the Past Year for Current Residence in the United States',\n", - " 'B26109PR': 'Group Quarters Type (3 Types) by Geographical Mobility in the Past Year for Current Residence in Puerto Rico',\n", - " 'B26110': 'Group Quarters Type (3 Types) by Nativity and Citizenship Status by Sex',\n", - " 'B26113': 'Group Quarters Type (3 Types) by Language Spoken at Home by Ability to Speak English',\n", - " 'B26114': 'Group Quarters Type (3 Types) by Employment Status',\n", - " 'B26115': 'Group Quarters Type (3 Types) by Occupation',\n", - " 'B26117': 'Group Quarters Type (3 Types) by Sex With Earnings in the Past 12 Months',\n", - " 'B26118': 'Aggregate Earnings in the Past 12 Months by Group Quarters Type (3 Types) by Sex',\n", - " 'B26119': 'Median Earnings in the Past 12 Months by Group Quarters Type (3 Types) by Sex',\n", - " 'B26120': 'Group Quarters Type (3 Types) by Receipt of Food Stamps/SNAP in the Past 12 Months',\n", - " 'B26201': 'Group Quarters Type (5 Types) by Sex by Age',\n", - " 'B26202': 'Median Age by Group Quarters Type (5 Types)',\n", - " 'B26203': 'Group Quarters Type (5 Types)',\n", - " 'B26203A': 'Group Quarters Type (5 Types) (White Alone)',\n", - " 'B26203B': 'Group Quarters Type (5 Types) (Black or African American Alone)',\n", - " 'B26203C': 'Group Quarters Type (5 Types) (American Indian and Alaska Native Alone)',\n", - " 'B26203D': 'Group Quarters Type (5 Types) (Asian Alone)',\n", - " 'B26203E': 'Group Quarters Type (5 Types) (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B26203F': 'Group Quarters Type (5 Types) (Some Other Race Alone)',\n", - " 'B26203G': 'Group Quarters Type (5 Types) (Two or More Races)',\n", - " 'B26203H': 'Group Quarters Type (5 Types) (White Alone, Not Hispanic or Latino)',\n", - " 'B26203I': 'Group Quarters Type (5 Types) (Hispanic or Latino)',\n", - " 'B26204': 'Group Quarters Type (5 Types) by Marital Status',\n", - " 'B26205': 'Group Quarters Type (5 Types) by School Enrollment',\n", - " 'B26206': 'Group Quarters Type (5 Types) by Educational Attainment',\n", - " 'B26207': 'Group Quarters Type (5 Types) by Veteran Status',\n", - " 'B26208': 'Group Quarters Type (5 Types) by Age by Disability Status',\n", - " 'B26209': 'Group Quarters Type (5 Types) by Geographical Mobility in the Past Year for Current Residence in the United States',\n", - " 'B26210': 'Group Quarters Type (5 Types) by Nativity and Citizenship Status by Sex',\n", - " 'B26211': 'Group Quarters Type (5 Types) by Year of Entry',\n", - " 'B26212': 'Group Quarters Type (5 Types) by World Region of Birth',\n", - " 'B26213': 'Group Quarters Type (5 Types) by Language Spoken at Home by Ability to Speak English',\n", - " 'B26214': 'Group Quarters Type (5 Types) by Employment Status',\n", - " 'B26215': 'Group Quarters Type (5 Types) by Occupation',\n", - " 'B26216': 'Aggregate Income in the Past 12 Months by Group Quarters Type (5 Types)',\n", - " 'B26217': 'Group Quarters Type (5 Types) by Sex With Earnings in the Past 12 Months',\n", - " 'B26218': 'Aggregate Earnings in the Past 12 Months by Group Quarters Type (5 Types) by Sex',\n", - " 'B26219': 'Median Earnings in the Past 12 Months by Group Quarters Type (5 Types) by Sex',\n", - " 'B26220': 'Group Quarters Type (5 Types) by Receipt of Food Stamps/SNAP in the Past 12 Months',\n", - " 'B27001': 'Health Insurance Coverage Status by Sex by Age',\n", - " 'B27002': 'Private Health Insurance Status by Sex by Age',\n", - " 'B27003': 'Public Health Insurance Status by Sex by Age',\n", - " 'B27010': 'Types of Health Insurance Coverage by Age',\n", - " 'B27011': 'Health Insurance Coverage Status and Type by Employment Status',\n", - " 'B27015': 'Health Insurance Coverage Status and Type by Household Income in the Past 12 Months (in 2023 Inflation-Adjusted Dollars)',\n", - " 'B27019': 'Health Insurance Coverage Status and Type by Age by Educational Attainment',\n", - " 'B27020': 'Health Insurance Coverage Status and Type by Citizenship Status',\n", - " 'B27022': 'Health Insurance Coverage Status by Sex by Enrollment Status for Young Adults Aged 19 to 25',\n", - " 'B27023': 'Private Health Insurance by Sex by Enrollment Status for Young Adults Aged 19 to 25',\n", - " 'B28001': 'Types of Computers in Household',\n", - " 'B28002': 'Presence and Types of Internet Subscriptions in Household',\n", - " 'B28003': 'Presence of a Computer and Type of Internet Subscription in Household',\n", - " 'B28004': 'Household Income in the Last 12 Months (in 2023 Inflation-Adjusted Dollars) by Presence and Type of Internet Subscription in Household',\n", - " 'B28005': 'Age by Presence of a Computer and Types of Internet Subscription in Household',\n", - " 'B28006': 'Educational Attainment by Presence of a Computer and Types of Internet Subscription in Household',\n", - " 'B28007': 'Labor Force Status by Presence of a Computer and Types of Internet Subscription in Household',\n", - " 'B28008': 'Presence of a Computer and Type of Internet Subscription in Household',\n", - " 'B28009A': 'Presence of a Computer and Type of Internet Subscription in Household (White Alone)',\n", - " 'B28009B': 'Presence of a Computer and Type of Internet Subscription in Household (Black or African American Alone)',\n", - " 'B28009C': 'Presence of a Computer and Type of Internet Subscription in Household (American Indian and Alaska Native Alone)',\n", - " 'B28009D': 'Presence of a Computer and Type of Internet Subscription in Household (Asian Alone)',\n", - " 'B28009E': 'Presence of a Computer and Type of Internet Subscription in Household (Native Hawaiian and Other Pacific Islander Alone)',\n", - " 'B28009F': 'Presence of a Computer and Type of Internet Subscription in Household (Some Other Race Alone)',\n", - " 'B28009G': 'Presence of a Computer and Type of Internet Subscription in Household (Two or More Races)',\n", - " 'B28009H': 'Presence of a Computer and Type of Internet Subscription in Household (White Alone, Not Hispanic or Latino)',\n", - " 'B28009I': 'Presence of a Computer and Type of Internet Subscription in Household (Hispanic or Latino)',\n", - " 'B28010': 'Computers in Household',\n", - " 'B28011': 'Internet Subscriptions in Household',\n", - " 'B28012': 'Age and Enrollment Status by Computer Ownership and Internet Subscription Status',\n", - " 'B29001': 'Citizen, Voting-Age Population by Age',\n", - " 'B29002': 'Citizen, Voting-Age Population by Educational Attainment',\n", - " 'B29003': 'Citizen, Voting-Age Population by Poverty Status',\n", - " 'B29004': 'Median Household Income for Households With a Citizen, Voting-Age Householder (in 2023 Inflation-Adjusted Dollars)',\n", - " 'B98001': 'Unweighted Housing Unit Sample',\n", - " 'B98002': 'Unweighted Group Quarters Population Sample',\n", - " 'B98003': 'Unweighted Total Population Sample',\n", - " 'B98011': 'Housing Unit Coverage Rate',\n", - " 'B98012': 'Total Population Coverage Rate by Sex',\n", - " 'B98013': 'Total Population Coverage Rate by Weighting Race and Hispanic or Latino Groups',\n", - " ...}" + "'Place of Birth for the Foreign-Born Population in the United States'" ] }, - "execution_count": 6, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } @@ -1247,7 +241,7 @@ "source": [ "from morpc.census.api import get_table_groups\n", "\n", - "{k: v['description'] for k, v in get_table_groups('acs/acs5', 2023).items()}\n", + "{k: v['description'] for k, v in get_table_groups('acs/acs5', 2023).items()}['B05006']\n", "\n", "# TODO: Hierarchical lookup for variables of interest." ] @@ -1270,100 +264,18 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 6, "id": "95f0c435", "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "{'us': {'for': 'us:1'},\n", - " 'region15': {'in': 'state:39',\n", - " 'for': 'county:041,045,049,089,097,129,159,083,101,117,047,073,091,127,141'},\n", - " 'region10': {'in': 'state:39',\n", - " 'for': 'county:041,045,049,089,097,129,159,083,101,117'},\n", - " 'region7': {'in': 'state:39', 'for': 'county:041,045,049,089,097,129,159'},\n", - " 'region-corpo': {'in': 'state:39',\n", - " 'for': 'county:045,083,097,101,117,129,159'},\n", - " 'alabama': {'for': 'state:01'},\n", - " 'alaska': {'for': 'state:02'},\n", - " 'arizona': {'for': 'state:04'},\n", - " 'arkansas': {'for': 'state:05'},\n", - " 'california': {'for': 'state:06'},\n", - " 'colorado': {'for': 'state:08'},\n", - " 'connecticut': {'for': 'state:09'},\n", - " 'delaware': {'in': 'state:39', 'for': 'county:041'},\n", - " 'district of columbia': {'for': 'state:11'},\n", - " 'florida': {'for': 'state:12'},\n", - " 'georgia': {'for': 'state:13'},\n", - " 'hawaii': {'for': 'state:15'},\n", - " 'idaho': {'for': 'state:16'},\n", - " 'illinois': {'for': 'state:17'},\n", - " 'indiana': {'for': 'state:18'},\n", - " 'iowa': {'for': 'state:19'},\n", - " 'kansas': {'for': 'state:20'},\n", - " 'kentucky': {'for': 'state:21'},\n", - " 'louisiana': {'for': 'state:22'},\n", - " 'maine': {'for': 'state:23'},\n", - " 'maryland': {'for': 'state:24'},\n", - " 'massachusetts': {'for': 'state:25'},\n", - " 'michigan': {'for': 'state:26'},\n", - " 'minnesota': {'for': 'state:27'},\n", - " 'mississippi': {'for': 'state:28'},\n", - " 'missouri': {'for': 'state:29'},\n", - " 'montana': {'for': 'state:30'},\n", - " 'nebraska': {'for': 'state:31'},\n", - " 'nevada': {'for': 'state:32'},\n", - " 'new hampshire': {'for': 'state:33'},\n", - " 'new jersey': {'for': 'state:34'},\n", - " 'new mexico': {'for': 'state:35'},\n", - " 'new york': {'for': 'state:36'},\n", - " 'north carolina': {'for': 'state:37'},\n", - " 'north dakota': {'for': 'state:38'},\n", - " 'ohio': {'for': 'state:39'},\n", - " 'oklahoma': {'for': 'state:40'},\n", - " 'oregon': {'for': 'state:41'},\n", - " 'pennsylvania': {'for': 'state:42'},\n", - " 'rhode island': {'for': 'state:44'},\n", - " 'south carolina': {'for': 'state:45'},\n", - " 'south dakota': {'for': 'state:46'},\n", - " 'tennessee': {'for': 'state:47'},\n", - " 'texas': {'for': 'state:48'},\n", - " 'utah': {'for': 'state:49'},\n", - " 'vermont': {'for': 'state:50'},\n", - " 'virginia': {'for': 'state:51'},\n", - " 'washington': {'for': 'state:53'},\n", - " 'west virginia': {'for': 'state:54'},\n", - " 'wisconsin': {'for': 'state:55'},\n", - " 'wyoming': {'for': 'state:56'},\n", - " 'puerto rico': {'for': 'state:72'},\n", - " 'fairfield': {'in': 'state:39', 'for': 'county:045'},\n", - " 'fayette': {'in': 'state:39', 'for': 'county:047'},\n", - " 'franklin': {'in': 'state:39', 'for': 'county:049'},\n", - " 'hocking': {'in': 'state:39', 'for': 'county:073'},\n", - " 'knox': {'in': 'state:39', 'for': 'county:083'},\n", - " 'licking': {'in': 'state:39', 'for': 'county:089'},\n", - " 'logan': {'in': 'state:39', 'for': 'county:091'},\n", - " 'madison': {'in': 'state:39', 'for': 'county:097'},\n", - " 'marion': {'in': 'state:39', 'for': 'county:101'},\n", - " 'morrow': {'in': 'state:39', 'for': 'county:117'},\n", - " 'perry': {'in': 'state:39', 'for': 'county:127'},\n", - " 'pickaway': {'in': 'state:39', 'for': 'county:129'},\n", - " 'ross': {'in': 'state:39', 'for': 'county:141'},\n", - " 'union': {'in': 'state:39', 'for': 'county:159'}}" - ] - }, - "execution_count": 7, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "from morpc.census.geos import SCOPES\n", "\n", "SCOPES\n", "\n", - "# TODO: Passing list of geoids to ucgid parameter in api call" + "# TODO: Passing list of geoids to ucgid parameter in api call\n", + "\n", + "scope=SCOPES['region15']" ] }, { @@ -1379,7 +291,14 @@ "id": "a3310593", "metadata": {}, "source": [ - "For example if you want to get all the tracts in the 15-county MORPC region.\n", + "For example if you want to get all the tracts in the 15-county MORPC region.\n" + ] + }, + { + "cell_type": "markdown", + "id": "d1883722", + "metadata": {}, + "source": [ "\n", "To see available combinations of scope and scale see morpc.census.geos.PSUEDOS.\n", "\n", @@ -1388,7 +307,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 7, "id": "2d76479c", "metadata": {}, "outputs": [ @@ -1406,7 +325,7 @@ " '8710000']" ] }, - "execution_count": 8, + "execution_count": 7, "metadata": {}, "output_type": "execute_result" } @@ -1429,9 +348,17 @@ "### (Optional) 6. A list of variables to get from the group." ] }, + { + "cell_type": "markdown", + "id": "add1598b", + "metadata": {}, + "source": [ + "To see all available variables for a given variable group use morpc.census.api.get_group_variables()" + ] + }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 8, "id": "81d6fd8b", "metadata": {}, "outputs": [ @@ -1439,91 +366,727 @@ "name": "stdout", "output_type": "stream", "text": [ - "2025-11-12 11:55:37,240 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2023/acs/acs5/groups/B12001.json with parameters None.\n" + "2026-01-06 15:55:40,324 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2023/acs/acs5/groups/B05006.json with parameters None.\n" ] }, { "data": { "text/plain": [ - "{'B12001_001E': 'Estimate!!Total:',\n", - " 'B12001_001EA': 'Annotation of Estimate!!Total:',\n", - " 'B12001_001M': 'Margin of Error!!Total:',\n", - " 'B12001_001MA': 'Annotation of Margin of Error!!Total:',\n", - " 'B12001_002E': 'Estimate!!Total:!!Male:',\n", - " 'B12001_002EA': 'Annotation of Estimate!!Total:!!Male:',\n", - " 'B12001_002M': 'Margin of Error!!Total:!!Male:',\n", - " 'B12001_002MA': 'Annotation of Margin of Error!!Total:!!Male:',\n", - " 'B12001_003E': 'Estimate!!Total:!!Male:!!Never married',\n", - " 'B12001_003EA': 'Annotation of Estimate!!Total:!!Male:!!Never married',\n", - " 'B12001_003M': 'Margin of Error!!Total:!!Male:!!Never married',\n", - " 'B12001_003MA': 'Annotation of Margin of Error!!Total:!!Male:!!Never married',\n", - " 'B12001_004E': 'Estimate!!Total:!!Male:!!Now married:',\n", - " 'B12001_004EA': 'Annotation of Estimate!!Total:!!Male:!!Now married:',\n", - " 'B12001_004M': 'Margin of Error!!Total:!!Male:!!Now married:',\n", - " 'B12001_004MA': 'Annotation of Margin of Error!!Total:!!Male:!!Now married:',\n", - " 'B12001_005E': 'Estimate!!Total:!!Male:!!Now married:!!Married, spouse present',\n", - " 'B12001_005EA': 'Annotation of Estimate!!Total:!!Male:!!Now married:!!Married, spouse present',\n", - " 'B12001_005M': 'Margin of Error!!Total:!!Male:!!Now married:!!Married, spouse present',\n", - " 'B12001_005MA': 'Annotation of Margin of Error!!Total:!!Male:!!Now married:!!Married, spouse present',\n", - " 'B12001_006E': 'Estimate!!Total:!!Male:!!Now married:!!Married, spouse absent:',\n", - " 'B12001_006EA': 'Annotation of Estimate!!Total:!!Male:!!Now married:!!Married, spouse absent:',\n", - " 'B12001_006M': 'Margin of Error!!Total:!!Male:!!Now married:!!Married, spouse absent:',\n", - " 'B12001_006MA': 'Annotation of Margin of Error!!Total:!!Male:!!Now married:!!Married, spouse absent:',\n", - " 'B12001_007E': 'Estimate!!Total:!!Male:!!Now married:!!Married, spouse absent:!!Separated',\n", - " 'B12001_007EA': 'Annotation of Estimate!!Total:!!Male:!!Now married:!!Married, spouse absent:!!Separated',\n", - " 'B12001_007M': 'Margin of Error!!Total:!!Male:!!Now married:!!Married, spouse absent:!!Separated',\n", - " 'B12001_007MA': 'Annotation of Margin of Error!!Total:!!Male:!!Now married:!!Married, spouse absent:!!Separated',\n", - " 'B12001_008E': 'Estimate!!Total:!!Male:!!Now married:!!Married, spouse absent:!!Other',\n", - " 'B12001_008EA': 'Annotation of Estimate!!Total:!!Male:!!Now married:!!Married, spouse absent:!!Other',\n", - " 'B12001_008M': 'Margin of Error!!Total:!!Male:!!Now married:!!Married, spouse absent:!!Other',\n", - " 'B12001_008MA': 'Annotation of Margin of Error!!Total:!!Male:!!Now married:!!Married, spouse absent:!!Other',\n", - " 'B12001_009E': 'Estimate!!Total:!!Male:!!Widowed',\n", - " 'B12001_009EA': 'Annotation of Estimate!!Total:!!Male:!!Widowed',\n", - " 'B12001_009M': 'Margin of Error!!Total:!!Male:!!Widowed',\n", - " 'B12001_009MA': 'Annotation of Margin of Error!!Total:!!Male:!!Widowed',\n", - " 'B12001_010E': 'Estimate!!Total:!!Male:!!Divorced',\n", - " 'B12001_010EA': 'Annotation of Estimate!!Total:!!Male:!!Divorced',\n", - " 'B12001_010M': 'Margin of Error!!Total:!!Male:!!Divorced',\n", - " 'B12001_010MA': 'Annotation of Margin of Error!!Total:!!Male:!!Divorced',\n", - " 'B12001_011E': 'Estimate!!Total:!!Female:',\n", - " 'B12001_011EA': 'Annotation of Estimate!!Total:!!Female:',\n", - " 'B12001_011M': 'Margin of Error!!Total:!!Female:',\n", - " 'B12001_011MA': 'Annotation of Margin of Error!!Total:!!Female:',\n", - " 'B12001_012E': 'Estimate!!Total:!!Female:!!Never married',\n", - " 'B12001_012EA': 'Annotation of Estimate!!Total:!!Female:!!Never married',\n", - " 'B12001_012M': 'Margin of Error!!Total:!!Female:!!Never married',\n", - " 'B12001_012MA': 'Annotation of Margin of Error!!Total:!!Female:!!Never married',\n", - " 'B12001_013E': 'Estimate!!Total:!!Female:!!Now married:',\n", - " 'B12001_013EA': 'Annotation of Estimate!!Total:!!Female:!!Now married:',\n", - " 'B12001_013M': 'Margin of Error!!Total:!!Female:!!Now married:',\n", - " 'B12001_013MA': 'Annotation of Margin of Error!!Total:!!Female:!!Now married:',\n", - " 'B12001_014E': 'Estimate!!Total:!!Female:!!Now married:!!Married, spouse present',\n", - " 'B12001_014EA': 'Annotation of Estimate!!Total:!!Female:!!Now married:!!Married, spouse present',\n", - " 'B12001_014M': 'Margin of Error!!Total:!!Female:!!Now married:!!Married, spouse present',\n", - " 'B12001_014MA': 'Annotation of Margin of Error!!Total:!!Female:!!Now married:!!Married, spouse present',\n", - " 'B12001_015E': 'Estimate!!Total:!!Female:!!Now married:!!Married, spouse absent:',\n", - " 'B12001_015EA': 'Annotation of Estimate!!Total:!!Female:!!Now married:!!Married, spouse absent:',\n", - " 'B12001_015M': 'Margin of Error!!Total:!!Female:!!Now married:!!Married, spouse absent:',\n", - " 'B12001_015MA': 'Annotation of Margin of Error!!Total:!!Female:!!Now married:!!Married, spouse absent:',\n", - " 'B12001_016E': 'Estimate!!Total:!!Female:!!Now married:!!Married, spouse absent:!!Separated',\n", - " 'B12001_016EA': 'Annotation of Estimate!!Total:!!Female:!!Now married:!!Married, spouse absent:!!Separated',\n", - " 'B12001_016M': 'Margin of Error!!Total:!!Female:!!Now married:!!Married, spouse absent:!!Separated',\n", - " 'B12001_016MA': 'Annotation of Margin of Error!!Total:!!Female:!!Now married:!!Married, spouse absent:!!Separated',\n", - " 'B12001_017E': 'Estimate!!Total:!!Female:!!Now married:!!Married, spouse absent:!!Other',\n", - " 'B12001_017EA': 'Annotation of Estimate!!Total:!!Female:!!Now married:!!Married, spouse absent:!!Other',\n", - " 'B12001_017M': 'Margin of Error!!Total:!!Female:!!Now married:!!Married, spouse absent:!!Other',\n", - " 'B12001_017MA': 'Annotation of Margin of Error!!Total:!!Female:!!Now married:!!Married, spouse absent:!!Other',\n", - " 'B12001_018E': 'Estimate!!Total:!!Female:!!Widowed',\n", - " 'B12001_018EA': 'Annotation of Estimate!!Total:!!Female:!!Widowed',\n", - " 'B12001_018M': 'Margin of Error!!Total:!!Female:!!Widowed',\n", - " 'B12001_018MA': 'Annotation of Margin of Error!!Total:!!Female:!!Widowed',\n", - " 'B12001_019E': 'Estimate!!Total:!!Female:!!Divorced',\n", - " 'B12001_019EA': 'Annotation of Estimate!!Total:!!Female:!!Divorced',\n", - " 'B12001_019M': 'Margin of Error!!Total:!!Female:!!Divorced',\n", - " 'B12001_019MA': 'Annotation of Margin of Error!!Total:!!Female:!!Divorced'}" + "{'B05006_001E': 'Estimate!!Total:',\n", + " 'B05006_001EA': 'Annotation of Estimate!!Total:',\n", + " 'B05006_001M': 'Margin of Error!!Total:',\n", + " 'B05006_001MA': 'Annotation of Margin of Error!!Total:',\n", + " 'B05006_002E': 'Estimate!!Total:!!Europe:',\n", + " 'B05006_002EA': 'Annotation of Estimate!!Total:!!Europe:',\n", + " 'B05006_002M': 'Margin of Error!!Total:!!Europe:',\n", + " 'B05006_002MA': 'Annotation of Margin of Error!!Total:!!Europe:',\n", + " 'B05006_003E': 'Estimate!!Total:!!Europe:!!Northern Europe:',\n", + " 'B05006_003EA': 'Annotation of Estimate!!Total:!!Europe:!!Northern Europe:',\n", + " 'B05006_003M': 'Margin of Error!!Total:!!Europe:!!Northern Europe:',\n", + " 'B05006_003MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Northern Europe:',\n", + " 'B05006_004E': 'Estimate!!Total:!!Europe:!!Northern Europe:!!Denmark',\n", + " 'B05006_004EA': 'Annotation of Estimate!!Total:!!Europe:!!Northern Europe:!!Denmark',\n", + " 'B05006_004M': 'Margin of Error!!Total:!!Europe:!!Northern Europe:!!Denmark',\n", + " 'B05006_004MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Northern Europe:!!Denmark',\n", + " 'B05006_005E': 'Estimate!!Total:!!Europe:!!Northern Europe:!!Ireland',\n", + " 'B05006_005EA': 'Annotation of Estimate!!Total:!!Europe:!!Northern Europe:!!Ireland',\n", + " 'B05006_005M': 'Margin of Error!!Total:!!Europe:!!Northern Europe:!!Ireland',\n", + " 'B05006_005MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Northern Europe:!!Ireland',\n", + " 'B05006_006E': 'Estimate!!Total:!!Europe:!!Northern Europe:!!Norway',\n", + " 'B05006_006EA': 'Annotation of Estimate!!Total:!!Europe:!!Northern Europe:!!Norway',\n", + " 'B05006_006M': 'Margin of Error!!Total:!!Europe:!!Northern Europe:!!Norway',\n", + " 'B05006_006MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Northern Europe:!!Norway',\n", + " 'B05006_007E': 'Estimate!!Total:!!Europe:!!Northern Europe:!!Sweden',\n", + " 'B05006_007EA': 'Annotation of Estimate!!Total:!!Europe:!!Northern Europe:!!Sweden',\n", + " 'B05006_007M': 'Margin of Error!!Total:!!Europe:!!Northern Europe:!!Sweden',\n", + " 'B05006_007MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Northern Europe:!!Sweden',\n", + " 'B05006_008E': 'Estimate!!Total:!!Europe:!!Northern Europe:!!United Kingdom (inc. Crown Dependencies):',\n", + " 'B05006_008EA': 'Annotation of Estimate!!Total:!!Europe:!!Northern Europe:!!United Kingdom (inc. Crown Dependencies):',\n", + " 'B05006_008M': 'Margin of Error!!Total:!!Europe:!!Northern Europe:!!United Kingdom (inc. Crown Dependencies):',\n", + " 'B05006_008MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Northern Europe:!!United Kingdom (inc. Crown Dependencies):',\n", + " 'B05006_009E': 'Estimate!!Total:!!Europe:!!Northern Europe:!!United Kingdom (inc. Crown Dependencies):!!United Kingdom, excluding England and Scotland',\n", + " 'B05006_009EA': 'Annotation of Estimate!!Total:!!Europe:!!Northern Europe:!!United Kingdom (inc. Crown Dependencies):!!United Kingdom, excluding England and Scotland',\n", + " 'B05006_009M': 'Margin of Error!!Total:!!Europe:!!Northern Europe:!!United Kingdom (inc. Crown Dependencies):!!United Kingdom, excluding England and Scotland',\n", + " 'B05006_009MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Northern Europe:!!United Kingdom (inc. Crown Dependencies):!!United Kingdom, excluding England and Scotland',\n", + " 'B05006_010E': 'Estimate!!Total:!!Europe:!!Northern Europe:!!United Kingdom (inc. Crown Dependencies):!!England',\n", + " 'B05006_010EA': 'Annotation of Estimate!!Total:!!Europe:!!Northern Europe:!!United Kingdom (inc. Crown Dependencies):!!England',\n", + " 'B05006_010M': 'Margin of Error!!Total:!!Europe:!!Northern Europe:!!United Kingdom (inc. Crown Dependencies):!!England',\n", + " 'B05006_010MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Northern Europe:!!United Kingdom (inc. Crown Dependencies):!!England',\n", + " 'B05006_011E': 'Estimate!!Total:!!Europe:!!Northern Europe:!!United Kingdom (inc. Crown Dependencies):!!Scotland',\n", + " 'B05006_011EA': 'Annotation of Estimate!!Total:!!Europe:!!Northern Europe:!!United Kingdom (inc. Crown Dependencies):!!Scotland',\n", + " 'B05006_011M': 'Margin of Error!!Total:!!Europe:!!Northern Europe:!!United Kingdom (inc. Crown Dependencies):!!Scotland',\n", + " 'B05006_011MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Northern Europe:!!United Kingdom (inc. Crown Dependencies):!!Scotland',\n", + " 'B05006_012E': 'Estimate!!Total:!!Europe:!!Northern Europe:!!Other Northern Europe',\n", + " 'B05006_012EA': 'Annotation of Estimate!!Total:!!Europe:!!Northern Europe:!!Other Northern Europe',\n", + " 'B05006_012M': 'Margin of Error!!Total:!!Europe:!!Northern Europe:!!Other Northern Europe',\n", + " 'B05006_012MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Northern Europe:!!Other Northern Europe',\n", + " 'B05006_013E': 'Estimate!!Total:!!Europe:!!Western Europe:',\n", + " 'B05006_013EA': 'Annotation of Estimate!!Total:!!Europe:!!Western Europe:',\n", + " 'B05006_013M': 'Margin of Error!!Total:!!Europe:!!Western Europe:',\n", + " 'B05006_013MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Western Europe:',\n", + " 'B05006_014E': 'Estimate!!Total:!!Europe:!!Western Europe:!!Austria',\n", + " 'B05006_014EA': 'Annotation of Estimate!!Total:!!Europe:!!Western Europe:!!Austria',\n", + " 'B05006_014M': 'Margin of Error!!Total:!!Europe:!!Western Europe:!!Austria',\n", + " 'B05006_014MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Western Europe:!!Austria',\n", + " 'B05006_015E': 'Estimate!!Total:!!Europe:!!Western Europe:!!Belgium',\n", + " 'B05006_015EA': 'Annotation of Estimate!!Total:!!Europe:!!Western Europe:!!Belgium',\n", + " 'B05006_015M': 'Margin of Error!!Total:!!Europe:!!Western Europe:!!Belgium',\n", + " 'B05006_015MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Western Europe:!!Belgium',\n", + " 'B05006_016E': 'Estimate!!Total:!!Europe:!!Western Europe:!!France',\n", + " 'B05006_016EA': 'Annotation of Estimate!!Total:!!Europe:!!Western Europe:!!France',\n", + " 'B05006_016M': 'Margin of Error!!Total:!!Europe:!!Western Europe:!!France',\n", + " 'B05006_016MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Western Europe:!!France',\n", + " 'B05006_017E': 'Estimate!!Total:!!Europe:!!Western Europe:!!Germany',\n", + " 'B05006_017EA': 'Annotation of Estimate!!Total:!!Europe:!!Western Europe:!!Germany',\n", + " 'B05006_017M': 'Margin of Error!!Total:!!Europe:!!Western Europe:!!Germany',\n", + " 'B05006_017MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Western Europe:!!Germany',\n", + " 'B05006_018E': 'Estimate!!Total:!!Europe:!!Western Europe:!!Netherlands',\n", + " 'B05006_018EA': 'Annotation of Estimate!!Total:!!Europe:!!Western Europe:!!Netherlands',\n", + " 'B05006_018M': 'Margin of Error!!Total:!!Europe:!!Western Europe:!!Netherlands',\n", + " 'B05006_018MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Western Europe:!!Netherlands',\n", + " 'B05006_019E': 'Estimate!!Total:!!Europe:!!Western Europe:!!Switzerland',\n", + " 'B05006_019EA': 'Annotation of Estimate!!Total:!!Europe:!!Western Europe:!!Switzerland',\n", + " 'B05006_019M': 'Margin of Error!!Total:!!Europe:!!Western Europe:!!Switzerland',\n", + " 'B05006_019MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Western Europe:!!Switzerland',\n", + " 'B05006_020E': 'Estimate!!Total:!!Europe:!!Western Europe:!!Other Western Europe',\n", + " 'B05006_020EA': 'Annotation of Estimate!!Total:!!Europe:!!Western Europe:!!Other Western Europe',\n", + " 'B05006_020M': 'Margin of Error!!Total:!!Europe:!!Western Europe:!!Other Western Europe',\n", + " 'B05006_020MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Western Europe:!!Other Western Europe',\n", + " 'B05006_021E': 'Estimate!!Total:!!Europe:!!Southern Europe:',\n", + " 'B05006_021EA': 'Annotation of Estimate!!Total:!!Europe:!!Southern Europe:',\n", + " 'B05006_021M': 'Margin of Error!!Total:!!Europe:!!Southern Europe:',\n", + " 'B05006_021MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Southern Europe:',\n", + " 'B05006_022E': 'Estimate!!Total:!!Europe:!!Southern Europe:!!Greece',\n", + " 'B05006_022EA': 'Annotation of Estimate!!Total:!!Europe:!!Southern Europe:!!Greece',\n", + " 'B05006_022M': 'Margin of Error!!Total:!!Europe:!!Southern Europe:!!Greece',\n", + " 'B05006_022MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Southern Europe:!!Greece',\n", + " 'B05006_023E': 'Estimate!!Total:!!Europe:!!Southern Europe:!!Italy',\n", + " 'B05006_023EA': 'Annotation of Estimate!!Total:!!Europe:!!Southern Europe:!!Italy',\n", + " 'B05006_023M': 'Margin of Error!!Total:!!Europe:!!Southern Europe:!!Italy',\n", + " 'B05006_023MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Southern Europe:!!Italy',\n", + " 'B05006_024E': 'Estimate!!Total:!!Europe:!!Southern Europe:!!Portugal',\n", + " 'B05006_024EA': 'Annotation of Estimate!!Total:!!Europe:!!Southern Europe:!!Portugal',\n", + " 'B05006_024M': 'Margin of Error!!Total:!!Europe:!!Southern Europe:!!Portugal',\n", + " 'B05006_024MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Southern Europe:!!Portugal',\n", + " 'B05006_025E': 'Estimate!!Total:!!Europe:!!Southern Europe:!!Portugal!!Azores Islands',\n", + " 'B05006_025EA': 'Annotation of Estimate!!Total:!!Europe:!!Southern Europe:!!Portugal!!Azores Islands',\n", + " 'B05006_025M': 'Margin of Error!!Total:!!Europe:!!Southern Europe:!!Portugal!!Azores Islands',\n", + " 'B05006_025MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Southern Europe:!!Portugal!!Azores Islands',\n", + " 'B05006_026E': 'Estimate!!Total:!!Europe:!!Southern Europe:!!Spain',\n", + " 'B05006_026EA': 'Annotation of Estimate!!Total:!!Europe:!!Southern Europe:!!Spain',\n", + " 'B05006_026M': 'Margin of Error!!Total:!!Europe:!!Southern Europe:!!Spain',\n", + " 'B05006_026MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Southern Europe:!!Spain',\n", + " 'B05006_027E': 'Estimate!!Total:!!Europe:!!Southern Europe:!!Other Southern Europe',\n", + " 'B05006_027EA': 'Annotation of Estimate!!Total:!!Europe:!!Southern Europe:!!Other Southern Europe',\n", + " 'B05006_027M': 'Margin of Error!!Total:!!Europe:!!Southern Europe:!!Other Southern Europe',\n", + " 'B05006_027MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Southern Europe:!!Other Southern Europe',\n", + " 'B05006_028E': 'Estimate!!Total:!!Europe:!!Eastern Europe:',\n", + " 'B05006_028EA': 'Annotation of Estimate!!Total:!!Europe:!!Eastern Europe:',\n", + " 'B05006_028M': 'Margin of Error!!Total:!!Europe:!!Eastern Europe:',\n", + " 'B05006_028MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Eastern Europe:',\n", + " 'B05006_029E': 'Estimate!!Total:!!Europe:!!Eastern Europe:!!Albania',\n", + " 'B05006_029EA': 'Annotation of Estimate!!Total:!!Europe:!!Eastern Europe:!!Albania',\n", + " 'B05006_029M': 'Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Albania',\n", + " 'B05006_029MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Albania',\n", + " 'B05006_030E': 'Estimate!!Total:!!Europe:!!Eastern Europe:!!Belarus',\n", + " 'B05006_030EA': 'Annotation of Estimate!!Total:!!Europe:!!Eastern Europe:!!Belarus',\n", + " 'B05006_030M': 'Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Belarus',\n", + " 'B05006_030MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Belarus',\n", + " 'B05006_031E': 'Estimate!!Total:!!Europe:!!Eastern Europe:!!Bosnia and Herzegovina',\n", + " 'B05006_031EA': 'Annotation of Estimate!!Total:!!Europe:!!Eastern Europe:!!Bosnia and Herzegovina',\n", + " 'B05006_031M': 'Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Bosnia and Herzegovina',\n", + " 'B05006_031MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Bosnia and Herzegovina',\n", + " 'B05006_032E': 'Estimate!!Total:!!Europe:!!Eastern Europe:!!Bulgaria',\n", + " 'B05006_032EA': 'Annotation of Estimate!!Total:!!Europe:!!Eastern Europe:!!Bulgaria',\n", + " 'B05006_032M': 'Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Bulgaria',\n", + " 'B05006_032MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Bulgaria',\n", + " 'B05006_033E': 'Estimate!!Total:!!Europe:!!Eastern Europe:!!Croatia',\n", + " 'B05006_033EA': 'Annotation of Estimate!!Total:!!Europe:!!Eastern Europe:!!Croatia',\n", + " 'B05006_033M': 'Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Croatia',\n", + " 'B05006_033MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Croatia',\n", + " 'B05006_034E': 'Estimate!!Total:!!Europe:!!Eastern Europe:!!Czechoslovakia (includes Czech Republic and Slovakia)',\n", + " 'B05006_034EA': 'Annotation of Estimate!!Total:!!Europe:!!Eastern Europe:!!Czechoslovakia (includes Czech Republic and Slovakia)',\n", + " 'B05006_034M': 'Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Czechoslovakia (includes Czech Republic and Slovakia)',\n", + " 'B05006_034MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Czechoslovakia (includes Czech Republic and Slovakia)',\n", + " 'B05006_035E': 'Estimate!!Total:!!Europe:!!Eastern Europe:!!Hungary',\n", + " 'B05006_035EA': 'Annotation of Estimate!!Total:!!Europe:!!Eastern Europe:!!Hungary',\n", + " 'B05006_035M': 'Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Hungary',\n", + " 'B05006_035MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Hungary',\n", + " 'B05006_036E': 'Estimate!!Total:!!Europe:!!Eastern Europe:!!Latvia',\n", + " 'B05006_036EA': 'Annotation of Estimate!!Total:!!Europe:!!Eastern Europe:!!Latvia',\n", + " 'B05006_036M': 'Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Latvia',\n", + " 'B05006_036MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Latvia',\n", + " 'B05006_037E': 'Estimate!!Total:!!Europe:!!Eastern Europe:!!Lithuania',\n", + " 'B05006_037EA': 'Annotation of Estimate!!Total:!!Europe:!!Eastern Europe:!!Lithuania',\n", + " 'B05006_037M': 'Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Lithuania',\n", + " 'B05006_037MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Lithuania',\n", + " 'B05006_038E': 'Estimate!!Total:!!Europe:!!Eastern Europe:!!Moldova',\n", + " 'B05006_038EA': 'Annotation of Estimate!!Total:!!Europe:!!Eastern Europe:!!Moldova',\n", + " 'B05006_038M': 'Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Moldova',\n", + " 'B05006_038MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Moldova',\n", + " 'B05006_039E': 'Estimate!!Total:!!Europe:!!Eastern Europe:!!North Macedonia (Macedonia)',\n", + " 'B05006_039EA': 'Annotation of Estimate!!Total:!!Europe:!!Eastern Europe:!!North Macedonia (Macedonia)',\n", + " 'B05006_039M': 'Margin of Error!!Total:!!Europe:!!Eastern Europe:!!North Macedonia (Macedonia)',\n", + " 'B05006_039MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Eastern Europe:!!North Macedonia (Macedonia)',\n", + " 'B05006_040E': 'Estimate!!Total:!!Europe:!!Eastern Europe:!!Poland',\n", + " 'B05006_040EA': 'Annotation of Estimate!!Total:!!Europe:!!Eastern Europe:!!Poland',\n", + " 'B05006_040M': 'Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Poland',\n", + " 'B05006_040MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Poland',\n", + " 'B05006_041E': 'Estimate!!Total:!!Europe:!!Eastern Europe:!!Romania',\n", + " 'B05006_041EA': 'Annotation of Estimate!!Total:!!Europe:!!Eastern Europe:!!Romania',\n", + " 'B05006_041M': 'Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Romania',\n", + " 'B05006_041MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Romania',\n", + " 'B05006_042E': 'Estimate!!Total:!!Europe:!!Eastern Europe:!!Russia',\n", + " 'B05006_042EA': 'Annotation of Estimate!!Total:!!Europe:!!Eastern Europe:!!Russia',\n", + " 'B05006_042M': 'Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Russia',\n", + " 'B05006_042MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Russia',\n", + " 'B05006_043E': 'Estimate!!Total:!!Europe:!!Eastern Europe:!!Serbia',\n", + " 'B05006_043EA': 'Annotation of Estimate!!Total:!!Europe:!!Eastern Europe:!!Serbia',\n", + " 'B05006_043M': 'Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Serbia',\n", + " 'B05006_043MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Serbia',\n", + " 'B05006_044E': 'Estimate!!Total:!!Europe:!!Eastern Europe:!!Ukraine',\n", + " 'B05006_044EA': 'Annotation of Estimate!!Total:!!Europe:!!Eastern Europe:!!Ukraine',\n", + " 'B05006_044M': 'Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Ukraine',\n", + " 'B05006_044MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Ukraine',\n", + " 'B05006_045E': 'Estimate!!Total:!!Europe:!!Eastern Europe:!!Other Eastern Europe',\n", + " 'B05006_045EA': 'Annotation of Estimate!!Total:!!Europe:!!Eastern Europe:!!Other Eastern Europe',\n", + " 'B05006_045M': 'Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Other Eastern Europe',\n", + " 'B05006_045MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Eastern Europe:!!Other Eastern Europe',\n", + " 'B05006_046E': 'Estimate!!Total:!!Europe:!!Europe, n.e.c.',\n", + " 'B05006_046EA': 'Annotation of Estimate!!Total:!!Europe:!!Europe, n.e.c.',\n", + " 'B05006_046M': 'Margin of Error!!Total:!!Europe:!!Europe, n.e.c.',\n", + " 'B05006_046MA': 'Annotation of Margin of Error!!Total:!!Europe:!!Europe, n.e.c.',\n", + " 'B05006_047E': 'Estimate!!Total:!!Asia:',\n", + " 'B05006_047EA': 'Annotation of Estimate!!Total:!!Asia:',\n", + " 'B05006_047M': 'Margin of Error!!Total:!!Asia:',\n", + " 'B05006_047MA': 'Annotation of Margin of Error!!Total:!!Asia:',\n", + " 'B05006_048E': 'Estimate!!Total:!!Asia:!!Eastern Asia:',\n", + " 'B05006_048EA': 'Annotation of Estimate!!Total:!!Asia:!!Eastern Asia:',\n", + " 'B05006_048M': 'Margin of Error!!Total:!!Asia:!!Eastern Asia:',\n", + " 'B05006_048MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Eastern Asia:',\n", + " 'B05006_049E': 'Estimate!!Total:!!Asia:!!Eastern Asia:!!China:',\n", + " 'B05006_049EA': 'Annotation of Estimate!!Total:!!Asia:!!Eastern Asia:!!China:',\n", + " 'B05006_049M': 'Margin of Error!!Total:!!Asia:!!Eastern Asia:!!China:',\n", + " 'B05006_049MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Eastern Asia:!!China:',\n", + " 'B05006_050E': 'Estimate!!Total:!!Asia:!!Eastern Asia:!!China:!!China, excluding Hong Kong and Taiwan',\n", + " 'B05006_050EA': 'Annotation of Estimate!!Total:!!Asia:!!Eastern Asia:!!China:!!China, excluding Hong Kong and Taiwan',\n", + " 'B05006_050M': 'Margin of Error!!Total:!!Asia:!!Eastern Asia:!!China:!!China, excluding Hong Kong and Taiwan',\n", + " 'B05006_050MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Eastern Asia:!!China:!!China, excluding Hong Kong and Taiwan',\n", + " 'B05006_051E': 'Estimate!!Total:!!Asia:!!Eastern Asia:!!China:!!Hong Kong',\n", + " 'B05006_051EA': 'Annotation of Estimate!!Total:!!Asia:!!Eastern Asia:!!China:!!Hong Kong',\n", + " 'B05006_051M': 'Margin of Error!!Total:!!Asia:!!Eastern Asia:!!China:!!Hong Kong',\n", + " 'B05006_051MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Eastern Asia:!!China:!!Hong Kong',\n", + " 'B05006_052E': 'Estimate!!Total:!!Asia:!!Eastern Asia:!!China:!!Taiwan',\n", + " 'B05006_052EA': 'Annotation of Estimate!!Total:!!Asia:!!Eastern Asia:!!China:!!Taiwan',\n", + " 'B05006_052M': 'Margin of Error!!Total:!!Asia:!!Eastern Asia:!!China:!!Taiwan',\n", + " 'B05006_052MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Eastern Asia:!!China:!!Taiwan',\n", + " 'B05006_053E': 'Estimate!!Total:!!Asia:!!Eastern Asia:!!Japan',\n", + " 'B05006_053EA': 'Annotation of Estimate!!Total:!!Asia:!!Eastern Asia:!!Japan',\n", + " 'B05006_053M': 'Margin of Error!!Total:!!Asia:!!Eastern Asia:!!Japan',\n", + " 'B05006_053MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Eastern Asia:!!Japan',\n", + " 'B05006_054E': 'Estimate!!Total:!!Asia:!!Eastern Asia:!!Korea',\n", + " 'B05006_054EA': 'Annotation of Estimate!!Total:!!Asia:!!Eastern Asia:!!Korea',\n", + " 'B05006_054M': 'Margin of Error!!Total:!!Asia:!!Eastern Asia:!!Korea',\n", + " 'B05006_054MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Eastern Asia:!!Korea',\n", + " 'B05006_055E': 'Estimate!!Total:!!Asia:!!Eastern Asia:!!Other Eastern Asia',\n", + " 'B05006_055EA': 'Annotation of Estimate!!Total:!!Asia:!!Eastern Asia:!!Other Eastern Asia',\n", + " 'B05006_055M': 'Margin of Error!!Total:!!Asia:!!Eastern Asia:!!Other Eastern Asia',\n", + " 'B05006_055MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Eastern Asia:!!Other Eastern Asia',\n", + " 'B05006_056E': 'Estimate!!Total:!!Asia:!!South Central Asia:',\n", + " 'B05006_056EA': 'Annotation of Estimate!!Total:!!Asia:!!South Central Asia:',\n", + " 'B05006_056M': 'Margin of Error!!Total:!!Asia:!!South Central Asia:',\n", + " 'B05006_056MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Central Asia:',\n", + " 'B05006_057E': 'Estimate!!Total:!!Asia:!!South Central Asia:!!Afghanistan',\n", + " 'B05006_057EA': 'Annotation of Estimate!!Total:!!Asia:!!South Central Asia:!!Afghanistan',\n", + " 'B05006_057M': 'Margin of Error!!Total:!!Asia:!!South Central Asia:!!Afghanistan',\n", + " 'B05006_057MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Central Asia:!!Afghanistan',\n", + " 'B05006_058E': 'Estimate!!Total:!!Asia:!!South Central Asia:!!Bangladesh',\n", + " 'B05006_058EA': 'Annotation of Estimate!!Total:!!Asia:!!South Central Asia:!!Bangladesh',\n", + " 'B05006_058M': 'Margin of Error!!Total:!!Asia:!!South Central Asia:!!Bangladesh',\n", + " 'B05006_058MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Central Asia:!!Bangladesh',\n", + " 'B05006_059E': 'Estimate!!Total:!!Asia:!!South Central Asia:!!Bhutan',\n", + " 'B05006_059EA': 'Annotation of Estimate!!Total:!!Asia:!!South Central Asia:!!Bhutan',\n", + " 'B05006_059M': 'Margin of Error!!Total:!!Asia:!!South Central Asia:!!Bhutan',\n", + " 'B05006_059MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Central Asia:!!Bhutan',\n", + " 'B05006_060E': 'Estimate!!Total:!!Asia:!!South Central Asia:!!India',\n", + " 'B05006_060EA': 'Annotation of Estimate!!Total:!!Asia:!!South Central Asia:!!India',\n", + " 'B05006_060M': 'Margin of Error!!Total:!!Asia:!!South Central Asia:!!India',\n", + " 'B05006_060MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Central Asia:!!India',\n", + " 'B05006_061E': 'Estimate!!Total:!!Asia:!!South Central Asia:!!Iran',\n", + " 'B05006_061EA': 'Annotation of Estimate!!Total:!!Asia:!!South Central Asia:!!Iran',\n", + " 'B05006_061M': 'Margin of Error!!Total:!!Asia:!!South Central Asia:!!Iran',\n", + " 'B05006_061MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Central Asia:!!Iran',\n", + " 'B05006_062E': 'Estimate!!Total:!!Asia:!!South Central Asia:!!Kazakhstan',\n", + " 'B05006_062EA': 'Annotation of Estimate!!Total:!!Asia:!!South Central Asia:!!Kazakhstan',\n", + " 'B05006_062M': 'Margin of Error!!Total:!!Asia:!!South Central Asia:!!Kazakhstan',\n", + " 'B05006_062MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Central Asia:!!Kazakhstan',\n", + " 'B05006_063E': 'Estimate!!Total:!!Asia:!!South Central Asia:!!Nepal',\n", + " 'B05006_063EA': 'Annotation of Estimate!!Total:!!Asia:!!South Central Asia:!!Nepal',\n", + " 'B05006_063M': 'Margin of Error!!Total:!!Asia:!!South Central Asia:!!Nepal',\n", + " 'B05006_063MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Central Asia:!!Nepal',\n", + " 'B05006_064E': 'Estimate!!Total:!!Asia:!!South Central Asia:!!Pakistan',\n", + " 'B05006_064EA': 'Annotation of Estimate!!Total:!!Asia:!!South Central Asia:!!Pakistan',\n", + " 'B05006_064M': 'Margin of Error!!Total:!!Asia:!!South Central Asia:!!Pakistan',\n", + " 'B05006_064MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Central Asia:!!Pakistan',\n", + " 'B05006_065E': 'Estimate!!Total:!!Asia:!!South Central Asia:!!Sri Lanka',\n", + " 'B05006_065EA': 'Annotation of Estimate!!Total:!!Asia:!!South Central Asia:!!Sri Lanka',\n", + " 'B05006_065M': 'Margin of Error!!Total:!!Asia:!!South Central Asia:!!Sri Lanka',\n", + " 'B05006_065MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Central Asia:!!Sri Lanka',\n", + " 'B05006_066E': 'Estimate!!Total:!!Asia:!!South Central Asia:!!Uzbekistan',\n", + " 'B05006_066EA': 'Annotation of Estimate!!Total:!!Asia:!!South Central Asia:!!Uzbekistan',\n", + " 'B05006_066M': 'Margin of Error!!Total:!!Asia:!!South Central Asia:!!Uzbekistan',\n", + " 'B05006_066MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Central Asia:!!Uzbekistan',\n", + " 'B05006_067E': 'Estimate!!Total:!!Asia:!!South Central Asia:!!Other South Central Asia',\n", + " 'B05006_067EA': 'Annotation of Estimate!!Total:!!Asia:!!South Central Asia:!!Other South Central Asia',\n", + " 'B05006_067M': 'Margin of Error!!Total:!!Asia:!!South Central Asia:!!Other South Central Asia',\n", + " 'B05006_067MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Central Asia:!!Other South Central Asia',\n", + " 'B05006_068E': 'Estimate!!Total:!!Asia:!!South Eastern Asia:',\n", + " 'B05006_068EA': 'Annotation of Estimate!!Total:!!Asia:!!South Eastern Asia:',\n", + " 'B05006_068M': 'Margin of Error!!Total:!!Asia:!!South Eastern Asia:',\n", + " 'B05006_068MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Eastern Asia:',\n", + " 'B05006_069E': 'Estimate!!Total:!!Asia:!!South Eastern Asia:!!Burma (Myanmar)',\n", + " 'B05006_069EA': 'Annotation of Estimate!!Total:!!Asia:!!South Eastern Asia:!!Burma (Myanmar)',\n", + " 'B05006_069M': 'Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Burma (Myanmar)',\n", + " 'B05006_069MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Burma (Myanmar)',\n", + " 'B05006_070E': 'Estimate!!Total:!!Asia:!!South Eastern Asia:!!Cambodia',\n", + " 'B05006_070EA': 'Annotation of Estimate!!Total:!!Asia:!!South Eastern Asia:!!Cambodia',\n", + " 'B05006_070M': 'Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Cambodia',\n", + " 'B05006_070MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Cambodia',\n", + " 'B05006_071E': 'Estimate!!Total:!!Asia:!!South Eastern Asia:!!Indonesia',\n", + " 'B05006_071EA': 'Annotation of Estimate!!Total:!!Asia:!!South Eastern Asia:!!Indonesia',\n", + " 'B05006_071M': 'Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Indonesia',\n", + " 'B05006_071MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Indonesia',\n", + " 'B05006_072E': 'Estimate!!Total:!!Asia:!!South Eastern Asia:!!Laos',\n", + " 'B05006_072EA': 'Annotation of Estimate!!Total:!!Asia:!!South Eastern Asia:!!Laos',\n", + " 'B05006_072M': 'Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Laos',\n", + " 'B05006_072MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Laos',\n", + " 'B05006_073E': 'Estimate!!Total:!!Asia:!!South Eastern Asia:!!Malaysia',\n", + " 'B05006_073EA': 'Annotation of Estimate!!Total:!!Asia:!!South Eastern Asia:!!Malaysia',\n", + " 'B05006_073M': 'Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Malaysia',\n", + " 'B05006_073MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Malaysia',\n", + " 'B05006_074E': 'Estimate!!Total:!!Asia:!!South Eastern Asia:!!Philippines',\n", + " 'B05006_074EA': 'Annotation of Estimate!!Total:!!Asia:!!South Eastern Asia:!!Philippines',\n", + " 'B05006_074M': 'Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Philippines',\n", + " 'B05006_074MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Philippines',\n", + " 'B05006_075E': 'Estimate!!Total:!!Asia:!!South Eastern Asia:!!Singapore',\n", + " 'B05006_075EA': 'Annotation of Estimate!!Total:!!Asia:!!South Eastern Asia:!!Singapore',\n", + " 'B05006_075M': 'Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Singapore',\n", + " 'B05006_075MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Singapore',\n", + " 'B05006_076E': 'Estimate!!Total:!!Asia:!!South Eastern Asia:!!Thailand',\n", + " 'B05006_076EA': 'Annotation of Estimate!!Total:!!Asia:!!South Eastern Asia:!!Thailand',\n", + " 'B05006_076M': 'Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Thailand',\n", + " 'B05006_076MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Thailand',\n", + " 'B05006_077E': 'Estimate!!Total:!!Asia:!!South Eastern Asia:!!Vietnam',\n", + " 'B05006_077EA': 'Annotation of Estimate!!Total:!!Asia:!!South Eastern Asia:!!Vietnam',\n", + " 'B05006_077M': 'Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Vietnam',\n", + " 'B05006_077MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Vietnam',\n", + " 'B05006_078E': 'Estimate!!Total:!!Asia:!!South Eastern Asia:!!Other South Eastern Asia',\n", + " 'B05006_078EA': 'Annotation of Estimate!!Total:!!Asia:!!South Eastern Asia:!!Other South Eastern Asia',\n", + " 'B05006_078M': 'Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Other South Eastern Asia',\n", + " 'B05006_078MA': 'Annotation of Margin of Error!!Total:!!Asia:!!South Eastern Asia:!!Other South Eastern Asia',\n", + " 'B05006_079E': 'Estimate!!Total:!!Asia:!!Western Asia:',\n", + " 'B05006_079EA': 'Annotation of Estimate!!Total:!!Asia:!!Western Asia:',\n", + " 'B05006_079M': 'Margin of Error!!Total:!!Asia:!!Western Asia:',\n", + " 'B05006_079MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Western Asia:',\n", + " 'B05006_080E': 'Estimate!!Total:!!Asia:!!Western Asia:!!Armenia',\n", + " 'B05006_080EA': 'Annotation of Estimate!!Total:!!Asia:!!Western Asia:!!Armenia',\n", + " 'B05006_080M': 'Margin of Error!!Total:!!Asia:!!Western Asia:!!Armenia',\n", + " 'B05006_080MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Western Asia:!!Armenia',\n", + " 'B05006_081E': 'Estimate!!Total:!!Asia:!!Western Asia:!!Azerbaijan',\n", + " 'B05006_081EA': 'Annotation of Estimate!!Total:!!Asia:!!Western Asia:!!Azerbaijan',\n", + " 'B05006_081M': 'Margin of Error!!Total:!!Asia:!!Western Asia:!!Azerbaijan',\n", + " 'B05006_081MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Western Asia:!!Azerbaijan',\n", + " 'B05006_082E': 'Estimate!!Total:!!Asia:!!Western Asia:!!Georgia',\n", + " 'B05006_082EA': 'Annotation of Estimate!!Total:!!Asia:!!Western Asia:!!Georgia',\n", + " 'B05006_082M': 'Margin of Error!!Total:!!Asia:!!Western Asia:!!Georgia',\n", + " 'B05006_082MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Western Asia:!!Georgia',\n", + " 'B05006_083E': 'Estimate!!Total:!!Asia:!!Western Asia:!!Iraq',\n", + " 'B05006_083EA': 'Annotation of Estimate!!Total:!!Asia:!!Western Asia:!!Iraq',\n", + " 'B05006_083M': 'Margin of Error!!Total:!!Asia:!!Western Asia:!!Iraq',\n", + " 'B05006_083MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Western Asia:!!Iraq',\n", + " 'B05006_084E': 'Estimate!!Total:!!Asia:!!Western Asia:!!Israel',\n", + " 'B05006_084EA': 'Annotation of Estimate!!Total:!!Asia:!!Western Asia:!!Israel',\n", + " 'B05006_084M': 'Margin of Error!!Total:!!Asia:!!Western Asia:!!Israel',\n", + " 'B05006_084MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Western Asia:!!Israel',\n", + " 'B05006_085E': 'Estimate!!Total:!!Asia:!!Western Asia:!!Jordan',\n", + " 'B05006_085EA': 'Annotation of Estimate!!Total:!!Asia:!!Western Asia:!!Jordan',\n", + " 'B05006_085M': 'Margin of Error!!Total:!!Asia:!!Western Asia:!!Jordan',\n", + " 'B05006_085MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Western Asia:!!Jordan',\n", + " 'B05006_086E': 'Estimate!!Total:!!Asia:!!Western Asia:!!Kuwait',\n", + " 'B05006_086EA': 'Annotation of Estimate!!Total:!!Asia:!!Western Asia:!!Kuwait',\n", + " 'B05006_086M': 'Margin of Error!!Total:!!Asia:!!Western Asia:!!Kuwait',\n", + " 'B05006_086MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Western Asia:!!Kuwait',\n", + " 'B05006_087E': 'Estimate!!Total:!!Asia:!!Western Asia:!!Lebanon',\n", + " 'B05006_087EA': 'Annotation of Estimate!!Total:!!Asia:!!Western Asia:!!Lebanon',\n", + " 'B05006_087M': 'Margin of Error!!Total:!!Asia:!!Western Asia:!!Lebanon',\n", + " 'B05006_087MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Western Asia:!!Lebanon',\n", + " 'B05006_088E': 'Estimate!!Total:!!Asia:!!Western Asia:!!Saudi Arabia',\n", + " 'B05006_088EA': 'Annotation of Estimate!!Total:!!Asia:!!Western Asia:!!Saudi Arabia',\n", + " 'B05006_088M': 'Margin of Error!!Total:!!Asia:!!Western Asia:!!Saudi Arabia',\n", + " 'B05006_088MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Western Asia:!!Saudi Arabia',\n", + " 'B05006_089E': 'Estimate!!Total:!!Asia:!!Western Asia:!!Syria',\n", + " 'B05006_089EA': 'Annotation of Estimate!!Total:!!Asia:!!Western Asia:!!Syria',\n", + " 'B05006_089M': 'Margin of Error!!Total:!!Asia:!!Western Asia:!!Syria',\n", + " 'B05006_089MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Western Asia:!!Syria',\n", + " 'B05006_090E': 'Estimate!!Total:!!Asia:!!Western Asia:!!Turkey',\n", + " 'B05006_090EA': 'Annotation of Estimate!!Total:!!Asia:!!Western Asia:!!Turkey',\n", + " 'B05006_090M': 'Margin of Error!!Total:!!Asia:!!Western Asia:!!Turkey',\n", + " 'B05006_090MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Western Asia:!!Turkey',\n", + " 'B05006_091E': 'Estimate!!Total:!!Asia:!!Western Asia:!!United Arab Emirates',\n", + " 'B05006_091EA': 'Annotation of Estimate!!Total:!!Asia:!!Western Asia:!!United Arab Emirates',\n", + " 'B05006_091M': 'Margin of Error!!Total:!!Asia:!!Western Asia:!!United Arab Emirates',\n", + " 'B05006_091MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Western Asia:!!United Arab Emirates',\n", + " 'B05006_092E': 'Estimate!!Total:!!Asia:!!Western Asia:!!Yemen',\n", + " 'B05006_092EA': 'Annotation of Estimate!!Total:!!Asia:!!Western Asia:!!Yemen',\n", + " 'B05006_092M': 'Margin of Error!!Total:!!Asia:!!Western Asia:!!Yemen',\n", + " 'B05006_092MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Western Asia:!!Yemen',\n", + " 'B05006_093E': 'Estimate!!Total:!!Asia:!!Western Asia:!!Other Western Asia',\n", + " 'B05006_093EA': 'Annotation of Estimate!!Total:!!Asia:!!Western Asia:!!Other Western Asia',\n", + " 'B05006_093M': 'Margin of Error!!Total:!!Asia:!!Western Asia:!!Other Western Asia',\n", + " 'B05006_093MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Western Asia:!!Other Western Asia',\n", + " 'B05006_094E': 'Estimate!!Total:!!Asia:!!Asia, n.e.c.',\n", + " 'B05006_094EA': 'Annotation of Estimate!!Total:!!Asia:!!Asia, n.e.c.',\n", + " 'B05006_094M': 'Margin of Error!!Total:!!Asia:!!Asia, n.e.c.',\n", + " 'B05006_094MA': 'Annotation of Margin of Error!!Total:!!Asia:!!Asia, n.e.c.',\n", + " 'B05006_095E': 'Estimate!!Total:!!Africa:',\n", + " 'B05006_095EA': 'Annotation of Estimate!!Total:!!Africa:',\n", + " 'B05006_095M': 'Margin of Error!!Total:!!Africa:',\n", + " 'B05006_095MA': 'Annotation of Margin of Error!!Total:!!Africa:',\n", + " 'B05006_096E': 'Estimate!!Total:!!Africa:!!Eastern Africa:',\n", + " 'B05006_096EA': 'Annotation of Estimate!!Total:!!Africa:!!Eastern Africa:',\n", + " 'B05006_096M': 'Margin of Error!!Total:!!Africa:!!Eastern Africa:',\n", + " 'B05006_096MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Eastern Africa:',\n", + " 'B05006_097E': 'Estimate!!Total:!!Africa:!!Eastern Africa:!!Eritrea',\n", + " 'B05006_097EA': 'Annotation of Estimate!!Total:!!Africa:!!Eastern Africa:!!Eritrea',\n", + " 'B05006_097M': 'Margin of Error!!Total:!!Africa:!!Eastern Africa:!!Eritrea',\n", + " 'B05006_097MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Eastern Africa:!!Eritrea',\n", + " 'B05006_098E': 'Estimate!!Total:!!Africa:!!Eastern Africa:!!Ethiopia',\n", + " 'B05006_098EA': 'Annotation of Estimate!!Total:!!Africa:!!Eastern Africa:!!Ethiopia',\n", + " 'B05006_098M': 'Margin of Error!!Total:!!Africa:!!Eastern Africa:!!Ethiopia',\n", + " 'B05006_098MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Eastern Africa:!!Ethiopia',\n", + " 'B05006_099E': 'Estimate!!Total:!!Africa:!!Eastern Africa:!!Kenya',\n", + " 'B05006_099EA': 'Annotation of Estimate!!Total:!!Africa:!!Eastern Africa:!!Kenya',\n", + " 'B05006_099M': 'Margin of Error!!Total:!!Africa:!!Eastern Africa:!!Kenya',\n", + " 'B05006_099MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Eastern Africa:!!Kenya',\n", + " 'B05006_100E': 'Estimate!!Total:!!Africa:!!Eastern Africa:!!Somalia',\n", + " 'B05006_100EA': 'Annotation of Estimate!!Total:!!Africa:!!Eastern Africa:!!Somalia',\n", + " 'B05006_100M': 'Margin of Error!!Total:!!Africa:!!Eastern Africa:!!Somalia',\n", + " 'B05006_100MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Eastern Africa:!!Somalia',\n", + " 'B05006_101E': 'Estimate!!Total:!!Africa:!!Eastern Africa:!!Tanzania',\n", + " 'B05006_101EA': 'Annotation of Estimate!!Total:!!Africa:!!Eastern Africa:!!Tanzania',\n", + " 'B05006_101M': 'Margin of Error!!Total:!!Africa:!!Eastern Africa:!!Tanzania',\n", + " 'B05006_101MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Eastern Africa:!!Tanzania',\n", + " 'B05006_102E': 'Estimate!!Total:!!Africa:!!Eastern Africa:!!Uganda',\n", + " 'B05006_102EA': 'Annotation of Estimate!!Total:!!Africa:!!Eastern Africa:!!Uganda',\n", + " 'B05006_102M': 'Margin of Error!!Total:!!Africa:!!Eastern Africa:!!Uganda',\n", + " 'B05006_102MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Eastern Africa:!!Uganda',\n", + " 'B05006_103E': 'Estimate!!Total:!!Africa:!!Eastern Africa:!!Zimbabwe',\n", + " 'B05006_103EA': 'Annotation of Estimate!!Total:!!Africa:!!Eastern Africa:!!Zimbabwe',\n", + " 'B05006_103M': 'Margin of Error!!Total:!!Africa:!!Eastern Africa:!!Zimbabwe',\n", + " 'B05006_103MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Eastern Africa:!!Zimbabwe',\n", + " 'B05006_104E': 'Estimate!!Total:!!Africa:!!Eastern Africa:!!Other Eastern Africa',\n", + " 'B05006_104EA': 'Annotation of Estimate!!Total:!!Africa:!!Eastern Africa:!!Other Eastern Africa',\n", + " 'B05006_104M': 'Margin of Error!!Total:!!Africa:!!Eastern Africa:!!Other Eastern Africa',\n", + " 'B05006_104MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Eastern Africa:!!Other Eastern Africa',\n", + " 'B05006_105E': 'Estimate!!Total:!!Africa:!!Middle Africa:',\n", + " 'B05006_105EA': 'Annotation of Estimate!!Total:!!Africa:!!Middle Africa:',\n", + " 'B05006_105M': 'Margin of Error!!Total:!!Africa:!!Middle Africa:',\n", + " 'B05006_105MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Middle Africa:',\n", + " 'B05006_106E': 'Estimate!!Total:!!Africa:!!Middle Africa:!!Cameroon',\n", + " 'B05006_106EA': 'Annotation of Estimate!!Total:!!Africa:!!Middle Africa:!!Cameroon',\n", + " 'B05006_106M': 'Margin of Error!!Total:!!Africa:!!Middle Africa:!!Cameroon',\n", + " 'B05006_106MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Middle Africa:!!Cameroon',\n", + " 'B05006_107E': 'Estimate!!Total:!!Africa:!!Middle Africa:!!Congo',\n", + " 'B05006_107EA': 'Annotation of Estimate!!Total:!!Africa:!!Middle Africa:!!Congo',\n", + " 'B05006_107M': 'Margin of Error!!Total:!!Africa:!!Middle Africa:!!Congo',\n", + " 'B05006_107MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Middle Africa:!!Congo',\n", + " 'B05006_108E': 'Estimate!!Total:!!Africa:!!Middle Africa:!!Democratic Republic of Congo (Zaire)',\n", + " 'B05006_108EA': 'Annotation of Estimate!!Total:!!Africa:!!Middle Africa:!!Democratic Republic of Congo (Zaire)',\n", + " 'B05006_108M': 'Margin of Error!!Total:!!Africa:!!Middle Africa:!!Democratic Republic of Congo (Zaire)',\n", + " 'B05006_108MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Middle Africa:!!Democratic Republic of Congo (Zaire)',\n", + " 'B05006_109E': 'Estimate!!Total:!!Africa:!!Middle Africa:!!Other Middle Africa',\n", + " 'B05006_109EA': 'Annotation of Estimate!!Total:!!Africa:!!Middle Africa:!!Other Middle Africa',\n", + " 'B05006_109M': 'Margin of Error!!Total:!!Africa:!!Middle Africa:!!Other Middle Africa',\n", + " 'B05006_109MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Middle Africa:!!Other Middle Africa',\n", + " 'B05006_110E': 'Estimate!!Total:!!Africa:!!Northern Africa:',\n", + " 'B05006_110EA': 'Annotation of Estimate!!Total:!!Africa:!!Northern Africa:',\n", + " 'B05006_110M': 'Margin of Error!!Total:!!Africa:!!Northern Africa:',\n", + " 'B05006_110MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Northern Africa:',\n", + " 'B05006_111E': 'Estimate!!Total:!!Africa:!!Northern Africa:!!Algeria',\n", + " 'B05006_111EA': 'Annotation of Estimate!!Total:!!Africa:!!Northern Africa:!!Algeria',\n", + " 'B05006_111M': 'Margin of Error!!Total:!!Africa:!!Northern Africa:!!Algeria',\n", + " 'B05006_111MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Northern Africa:!!Algeria',\n", + " 'B05006_112E': 'Estimate!!Total:!!Africa:!!Northern Africa:!!Egypt',\n", + " 'B05006_112EA': 'Annotation of Estimate!!Total:!!Africa:!!Northern Africa:!!Egypt',\n", + " 'B05006_112M': 'Margin of Error!!Total:!!Africa:!!Northern Africa:!!Egypt',\n", + " 'B05006_112MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Northern Africa:!!Egypt',\n", + " 'B05006_113E': 'Estimate!!Total:!!Africa:!!Northern Africa:!!Morocco',\n", + " 'B05006_113EA': 'Annotation of Estimate!!Total:!!Africa:!!Northern Africa:!!Morocco',\n", + " 'B05006_113M': 'Margin of Error!!Total:!!Africa:!!Northern Africa:!!Morocco',\n", + " 'B05006_113MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Northern Africa:!!Morocco',\n", + " 'B05006_114E': 'Estimate!!Total:!!Africa:!!Northern Africa:!!Sudan',\n", + " 'B05006_114EA': 'Annotation of Estimate!!Total:!!Africa:!!Northern Africa:!!Sudan',\n", + " 'B05006_114M': 'Margin of Error!!Total:!!Africa:!!Northern Africa:!!Sudan',\n", + " 'B05006_114MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Northern Africa:!!Sudan',\n", + " 'B05006_115E': 'Estimate!!Total:!!Africa:!!Northern Africa:!!Other Northern Africa',\n", + " 'B05006_115EA': 'Annotation of Estimate!!Total:!!Africa:!!Northern Africa:!!Other Northern Africa',\n", + " 'B05006_115M': 'Margin of Error!!Total:!!Africa:!!Northern Africa:!!Other Northern Africa',\n", + " 'B05006_115MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Northern Africa:!!Other Northern Africa',\n", + " 'B05006_116E': 'Estimate!!Total:!!Africa:!!Southern Africa:',\n", + " 'B05006_116EA': 'Annotation of Estimate!!Total:!!Africa:!!Southern Africa:',\n", + " 'B05006_116M': 'Margin of Error!!Total:!!Africa:!!Southern Africa:',\n", + " 'B05006_116MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Southern Africa:',\n", + " 'B05006_117E': 'Estimate!!Total:!!Africa:!!Southern Africa:!!South Africa',\n", + " 'B05006_117EA': 'Annotation of Estimate!!Total:!!Africa:!!Southern Africa:!!South Africa',\n", + " 'B05006_117M': 'Margin of Error!!Total:!!Africa:!!Southern Africa:!!South Africa',\n", + " 'B05006_117MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Southern Africa:!!South Africa',\n", + " 'B05006_118E': 'Estimate!!Total:!!Africa:!!Southern Africa:!!Other Southern Africa',\n", + " 'B05006_118EA': 'Annotation of Estimate!!Total:!!Africa:!!Southern Africa:!!Other Southern Africa',\n", + " 'B05006_118M': 'Margin of Error!!Total:!!Africa:!!Southern Africa:!!Other Southern Africa',\n", + " 'B05006_118MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Southern Africa:!!Other Southern Africa',\n", + " 'B05006_119E': 'Estimate!!Total:!!Africa:!!Western Africa:',\n", + " 'B05006_119EA': 'Annotation of Estimate!!Total:!!Africa:!!Western Africa:',\n", + " 'B05006_119M': 'Margin of Error!!Total:!!Africa:!!Western Africa:',\n", + " 'B05006_119MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Western Africa:',\n", + " 'B05006_120E': 'Estimate!!Total:!!Africa:!!Western Africa:!!Cabo Verde',\n", + " 'B05006_120EA': 'Annotation of Estimate!!Total:!!Africa:!!Western Africa:!!Cabo Verde',\n", + " 'B05006_120M': 'Margin of Error!!Total:!!Africa:!!Western Africa:!!Cabo Verde',\n", + " 'B05006_120MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Western Africa:!!Cabo Verde',\n", + " 'B05006_121E': 'Estimate!!Total:!!Africa:!!Western Africa:!!Ghana',\n", + " 'B05006_121EA': 'Annotation of Estimate!!Total:!!Africa:!!Western Africa:!!Ghana',\n", + " 'B05006_121M': 'Margin of Error!!Total:!!Africa:!!Western Africa:!!Ghana',\n", + " 'B05006_121MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Western Africa:!!Ghana',\n", + " 'B05006_122E': 'Estimate!!Total:!!Africa:!!Western Africa:!!Ivory Coast',\n", + " 'B05006_122EA': 'Annotation of Estimate!!Total:!!Africa:!!Western Africa:!!Ivory Coast',\n", + " 'B05006_122M': 'Margin of Error!!Total:!!Africa:!!Western Africa:!!Ivory Coast',\n", + " 'B05006_122MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Western Africa:!!Ivory Coast',\n", + " 'B05006_123E': 'Estimate!!Total:!!Africa:!!Western Africa:!!Liberia',\n", + " 'B05006_123EA': 'Annotation of Estimate!!Total:!!Africa:!!Western Africa:!!Liberia',\n", + " 'B05006_123M': 'Margin of Error!!Total:!!Africa:!!Western Africa:!!Liberia',\n", + " 'B05006_123MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Western Africa:!!Liberia',\n", + " 'B05006_124E': 'Estimate!!Total:!!Africa:!!Western Africa:!!Nigeria',\n", + " 'B05006_124EA': 'Annotation of Estimate!!Total:!!Africa:!!Western Africa:!!Nigeria',\n", + " 'B05006_124M': 'Margin of Error!!Total:!!Africa:!!Western Africa:!!Nigeria',\n", + " 'B05006_124MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Western Africa:!!Nigeria',\n", + " 'B05006_125E': 'Estimate!!Total:!!Africa:!!Western Africa:!!Senegal',\n", + " 'B05006_125EA': 'Annotation of Estimate!!Total:!!Africa:!!Western Africa:!!Senegal',\n", + " 'B05006_125M': 'Margin of Error!!Total:!!Africa:!!Western Africa:!!Senegal',\n", + " 'B05006_125MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Western Africa:!!Senegal',\n", + " 'B05006_126E': 'Estimate!!Total:!!Africa:!!Western Africa:!!Sierra Leone',\n", + " 'B05006_126EA': 'Annotation of Estimate!!Total:!!Africa:!!Western Africa:!!Sierra Leone',\n", + " 'B05006_126M': 'Margin of Error!!Total:!!Africa:!!Western Africa:!!Sierra Leone',\n", + " 'B05006_126MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Western Africa:!!Sierra Leone',\n", + " 'B05006_127E': 'Estimate!!Total:!!Africa:!!Western Africa:!!Togo',\n", + " 'B05006_127EA': 'Annotation of Estimate!!Total:!!Africa:!!Western Africa:!!Togo',\n", + " 'B05006_127M': 'Margin of Error!!Total:!!Africa:!!Western Africa:!!Togo',\n", + " 'B05006_127MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Western Africa:!!Togo',\n", + " 'B05006_128E': 'Estimate!!Total:!!Africa:!!Western Africa:!!Other Western Africa',\n", + " 'B05006_128EA': 'Annotation of Estimate!!Total:!!Africa:!!Western Africa:!!Other Western Africa',\n", + " 'B05006_128M': 'Margin of Error!!Total:!!Africa:!!Western Africa:!!Other Western Africa',\n", + " 'B05006_128MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Western Africa:!!Other Western Africa',\n", + " 'B05006_129E': 'Estimate!!Total:!!Africa:!!Africa, n.e.c.',\n", + " 'B05006_129EA': 'Annotation of Estimate!!Total:!!Africa:!!Africa, n.e.c.',\n", + " 'B05006_129M': 'Margin of Error!!Total:!!Africa:!!Africa, n.e.c.',\n", + " 'B05006_129MA': 'Annotation of Margin of Error!!Total:!!Africa:!!Africa, n.e.c.',\n", + " 'B05006_130E': 'Estimate!!Total:!!Oceania:',\n", + " 'B05006_130EA': 'Annotation of Estimate!!Total:!!Oceania:',\n", + " 'B05006_130M': 'Margin of Error!!Total:!!Oceania:',\n", + " 'B05006_130MA': 'Annotation of Margin of Error!!Total:!!Oceania:',\n", + " 'B05006_131E': 'Estimate!!Total:!!Oceania:!!Australia and New Zealand Subregion:',\n", + " 'B05006_131EA': 'Annotation of Estimate!!Total:!!Oceania:!!Australia and New Zealand Subregion:',\n", + " 'B05006_131M': 'Margin of Error!!Total:!!Oceania:!!Australia and New Zealand Subregion:',\n", + " 'B05006_131MA': 'Annotation of Margin of Error!!Total:!!Oceania:!!Australia and New Zealand Subregion:',\n", + " 'B05006_132E': 'Estimate!!Total:!!Oceania:!!Australia and New Zealand Subregion:!!Australia',\n", + " 'B05006_132EA': 'Annotation of Estimate!!Total:!!Oceania:!!Australia and New Zealand Subregion:!!Australia',\n", + " 'B05006_132M': 'Margin of Error!!Total:!!Oceania:!!Australia and New Zealand Subregion:!!Australia',\n", + " 'B05006_132MA': 'Annotation of Margin of Error!!Total:!!Oceania:!!Australia and New Zealand Subregion:!!Australia',\n", + " 'B05006_133E': 'Estimate!!Total:!!Oceania:!!Australia and New Zealand Subregion:!!Other Australian and New Zealand Subregion',\n", + " 'B05006_133EA': 'Annotation of Estimate!!Total:!!Oceania:!!Australia and New Zealand Subregion:!!Other Australian and New Zealand Subregion',\n", + " 'B05006_133M': 'Margin of Error!!Total:!!Oceania:!!Australia and New Zealand Subregion:!!Other Australian and New Zealand Subregion',\n", + " 'B05006_133MA': 'Annotation of Margin of Error!!Total:!!Oceania:!!Australia and New Zealand Subregion:!!Other Australian and New Zealand Subregion',\n", + " 'B05006_134E': 'Estimate!!Total:!!Oceania:!!Fiji',\n", + " 'B05006_134EA': 'Annotation of Estimate!!Total:!!Oceania:!!Fiji',\n", + " 'B05006_134M': 'Margin of Error!!Total:!!Oceania:!!Fiji',\n", + " 'B05006_134MA': 'Annotation of Margin of Error!!Total:!!Oceania:!!Fiji',\n", + " 'B05006_135E': 'Estimate!!Total:!!Oceania:!!Marshall Islands',\n", + " 'B05006_135EA': 'Annotation of Estimate!!Total:!!Oceania:!!Marshall Islands',\n", + " 'B05006_135M': 'Margin of Error!!Total:!!Oceania:!!Marshall Islands',\n", + " 'B05006_135MA': 'Annotation of Margin of Error!!Total:!!Oceania:!!Marshall Islands',\n", + " 'B05006_136E': 'Estimate!!Total:!!Oceania:!!Micronesia',\n", + " 'B05006_136EA': 'Annotation of Estimate!!Total:!!Oceania:!!Micronesia',\n", + " 'B05006_136M': 'Margin of Error!!Total:!!Oceania:!!Micronesia',\n", + " 'B05006_136MA': 'Annotation of Margin of Error!!Total:!!Oceania:!!Micronesia',\n", + " 'B05006_137E': 'Estimate!!Total:!!Oceania:!!Oceania, n.e.c.',\n", + " 'B05006_137EA': 'Annotation of Estimate!!Total:!!Oceania:!!Oceania, n.e.c.',\n", + " 'B05006_137M': 'Margin of Error!!Total:!!Oceania:!!Oceania, n.e.c.',\n", + " 'B05006_137MA': 'Annotation of Margin of Error!!Total:!!Oceania:!!Oceania, n.e.c.',\n", + " 'B05006_138E': 'Estimate!!Total:!!Americas:',\n", + " 'B05006_138EA': 'Annotation of Estimate!!Total:!!Americas:',\n", + " 'B05006_138M': 'Margin of Error!!Total:!!Americas:',\n", + " 'B05006_138MA': 'Annotation of Margin of Error!!Total:!!Americas:',\n", + " 'B05006_139E': 'Estimate!!Total:!!Americas:!!Latin America:',\n", + " 'B05006_139EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:',\n", + " 'B05006_139M': 'Margin of Error!!Total:!!Americas:!!Latin America:',\n", + " 'B05006_139MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:',\n", + " 'B05006_140E': 'Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:',\n", + " 'B05006_140EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:',\n", + " 'B05006_140M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:',\n", + " 'B05006_140MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:',\n", + " 'B05006_141E': 'Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Bahamas',\n", + " 'B05006_141EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Bahamas',\n", + " 'B05006_141M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Bahamas',\n", + " 'B05006_141MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Bahamas',\n", + " 'B05006_142E': 'Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Barbados',\n", + " 'B05006_142EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Barbados',\n", + " 'B05006_142M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Barbados',\n", + " 'B05006_142MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Barbados',\n", + " 'B05006_143E': 'Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Cuba',\n", + " 'B05006_143EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Cuba',\n", + " 'B05006_143M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Cuba',\n", + " 'B05006_143MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Cuba',\n", + " 'B05006_144E': 'Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Dominica',\n", + " 'B05006_144EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Dominica',\n", + " 'B05006_144M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Dominica',\n", + " 'B05006_144MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Dominica',\n", + " 'B05006_145E': 'Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Dominican Republic',\n", + " 'B05006_145EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Dominican Republic',\n", + " 'B05006_145M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Dominican Republic',\n", + " 'B05006_145MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Dominican Republic',\n", + " 'B05006_146E': 'Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Grenada',\n", + " 'B05006_146EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Grenada',\n", + " 'B05006_146M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Grenada',\n", + " 'B05006_146MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Grenada',\n", + " 'B05006_147E': 'Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Haiti',\n", + " 'B05006_147EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Haiti',\n", + " 'B05006_147M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Haiti',\n", + " 'B05006_147MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Haiti',\n", + " 'B05006_148E': 'Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Jamaica',\n", + " 'B05006_148EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Jamaica',\n", + " 'B05006_148M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Jamaica',\n", + " 'B05006_148MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Jamaica',\n", + " 'B05006_149E': 'Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!St. Lucia',\n", + " 'B05006_149EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!St. Lucia',\n", + " 'B05006_149M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!St. Lucia',\n", + " 'B05006_149MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!St. Lucia',\n", + " 'B05006_150E': 'Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!St. Vincent and the Grenadines',\n", + " 'B05006_150EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!St. Vincent and the Grenadines',\n", + " 'B05006_150M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!St. Vincent and the Grenadines',\n", + " 'B05006_150MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!St. Vincent and the Grenadines',\n", + " 'B05006_151E': 'Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Trinidad and Tobago',\n", + " 'B05006_151EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Trinidad and Tobago',\n", + " 'B05006_151M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Trinidad and Tobago',\n", + " 'B05006_151MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Trinidad and Tobago',\n", + " 'B05006_152E': 'Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!West Indies',\n", + " 'B05006_152EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!West Indies',\n", + " 'B05006_152M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!West Indies',\n", + " 'B05006_152MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!West Indies',\n", + " 'B05006_153E': 'Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Other Caribbean',\n", + " 'B05006_153EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Caribbean:!!Other Caribbean',\n", + " 'B05006_153M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Other Caribbean',\n", + " 'B05006_153MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Caribbean:!!Other Caribbean',\n", + " 'B05006_154E': 'Estimate!!Total:!!Americas:!!Latin America:!!Central America:',\n", + " 'B05006_154EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Central America:',\n", + " 'B05006_154M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:',\n", + " 'B05006_154MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:',\n", + " 'B05006_155E': 'Estimate!!Total:!!Americas:!!Latin America:!!Central America:!!Belize',\n", + " 'B05006_155EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Central America:!!Belize',\n", + " 'B05006_155M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:!!Belize',\n", + " 'B05006_155MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:!!Belize',\n", + " 'B05006_156E': 'Estimate!!Total:!!Americas:!!Latin America:!!Central America:!!Costa Rica',\n", + " 'B05006_156EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Central America:!!Costa Rica',\n", + " 'B05006_156M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:!!Costa Rica',\n", + " 'B05006_156MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:!!Costa Rica',\n", + " 'B05006_157E': 'Estimate!!Total:!!Americas:!!Latin America:!!Central America:!!El Salvador',\n", + " 'B05006_157EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Central America:!!El Salvador',\n", + " 'B05006_157M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:!!El Salvador',\n", + " 'B05006_157MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:!!El Salvador',\n", + " 'B05006_158E': 'Estimate!!Total:!!Americas:!!Latin America:!!Central America:!!Guatemala',\n", + " 'B05006_158EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Central America:!!Guatemala',\n", + " 'B05006_158M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:!!Guatemala',\n", + " 'B05006_158MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:!!Guatemala',\n", + " 'B05006_159E': 'Estimate!!Total:!!Americas:!!Latin America:!!Central America:!!Honduras',\n", + " 'B05006_159EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Central America:!!Honduras',\n", + " 'B05006_159M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:!!Honduras',\n", + " 'B05006_159MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:!!Honduras',\n", + " 'B05006_160E': 'Estimate!!Total:!!Americas:!!Latin America:!!Central America:!!Mexico',\n", + " 'B05006_160EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Central America:!!Mexico',\n", + " 'B05006_160M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:!!Mexico',\n", + " 'B05006_160MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:!!Mexico',\n", + " 'B05006_161E': 'Estimate!!Total:!!Americas:!!Latin America:!!Central America:!!Nicaragua',\n", + " 'B05006_161EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Central America:!!Nicaragua',\n", + " 'B05006_161M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:!!Nicaragua',\n", + " 'B05006_161MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:!!Nicaragua',\n", + " 'B05006_162E': 'Estimate!!Total:!!Americas:!!Latin America:!!Central America:!!Panama',\n", + " 'B05006_162EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Central America:!!Panama',\n", + " 'B05006_162M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:!!Panama',\n", + " 'B05006_162MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:!!Panama',\n", + " 'B05006_163E': 'Estimate!!Total:!!Americas:!!Latin America:!!Central America:!!Other Central America',\n", + " 'B05006_163EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!Central America:!!Other Central America',\n", + " 'B05006_163M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:!!Other Central America',\n", + " 'B05006_163MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!Central America:!!Other Central America',\n", + " 'B05006_164E': 'Estimate!!Total:!!Americas:!!Latin America:!!South America:',\n", + " 'B05006_164EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!South America:',\n", + " 'B05006_164M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!South America:',\n", + " 'B05006_164MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!South America:',\n", + " 'B05006_165E': 'Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Argentina',\n", + " 'B05006_165EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Argentina',\n", + " 'B05006_165M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Argentina',\n", + " 'B05006_165MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Argentina',\n", + " 'B05006_166E': 'Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Bolivia',\n", + " 'B05006_166EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Bolivia',\n", + " 'B05006_166M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Bolivia',\n", + " 'B05006_166MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Bolivia',\n", + " 'B05006_167E': 'Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Brazil',\n", + " 'B05006_167EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Brazil',\n", + " 'B05006_167M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Brazil',\n", + " 'B05006_167MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Brazil',\n", + " 'B05006_168E': 'Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Chile',\n", + " 'B05006_168EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Chile',\n", + " 'B05006_168M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Chile',\n", + " 'B05006_168MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Chile',\n", + " 'B05006_169E': 'Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Colombia',\n", + " 'B05006_169EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Colombia',\n", + " 'B05006_169M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Colombia',\n", + " 'B05006_169MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Colombia',\n", + " 'B05006_170E': 'Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Ecuador',\n", + " 'B05006_170EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Ecuador',\n", + " 'B05006_170M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Ecuador',\n", + " 'B05006_170MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Ecuador',\n", + " 'B05006_171E': 'Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Guyana',\n", + " 'B05006_171EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Guyana',\n", + " 'B05006_171M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Guyana',\n", + " 'B05006_171MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Guyana',\n", + " 'B05006_172E': 'Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Peru',\n", + " 'B05006_172EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Peru',\n", + " 'B05006_172M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Peru',\n", + " 'B05006_172MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Peru',\n", + " 'B05006_173E': 'Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Uruguay',\n", + " 'B05006_173EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Uruguay',\n", + " 'B05006_173M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Uruguay',\n", + " 'B05006_173MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Uruguay',\n", + " 'B05006_174E': 'Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Venezuela',\n", + " 'B05006_174EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Venezuela',\n", + " 'B05006_174M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Venezuela',\n", + " 'B05006_174MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Venezuela',\n", + " 'B05006_175E': 'Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Other South America',\n", + " 'B05006_175EA': 'Annotation of Estimate!!Total:!!Americas:!!Latin America:!!South America:!!Other South America',\n", + " 'B05006_175M': 'Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Other South America',\n", + " 'B05006_175MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Latin America:!!South America:!!Other South America',\n", + " 'B05006_176E': 'Estimate!!Total:!!Americas:!!Northern America:',\n", + " 'B05006_176EA': 'Annotation of Estimate!!Total:!!Americas:!!Northern America:',\n", + " 'B05006_176M': 'Margin of Error!!Total:!!Americas:!!Northern America:',\n", + " 'B05006_176MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Northern America:',\n", + " 'B05006_177E': 'Estimate!!Total:!!Americas:!!Northern America:!!Canada',\n", + " 'B05006_177EA': 'Annotation of Estimate!!Total:!!Americas:!!Northern America:!!Canada',\n", + " 'B05006_177M': 'Margin of Error!!Total:!!Americas:!!Northern America:!!Canada',\n", + " 'B05006_177MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Northern America:!!Canada',\n", + " 'B05006_178E': 'Estimate!!Total:!!Americas:!!Northern America:!!Other Northern America',\n", + " 'B05006_178EA': 'Annotation of Estimate!!Total:!!Americas:!!Northern America:!!Other Northern America',\n", + " 'B05006_178M': 'Margin of Error!!Total:!!Americas:!!Northern America:!!Other Northern America',\n", + " 'B05006_178MA': 'Annotation of Margin of Error!!Total:!!Americas:!!Northern America:!!Other Northern America'}" ] }, - "execution_count": 9, + "execution_count": 8, "metadata": {}, "output_type": "execute_result" } @@ -1531,30 +1094,28 @@ "source": [ "from morpc.census.api import get_group_variables\n", "\n", - "{k: v['label'] for k, v in get_group_variables('acs/acs5', 2023, 'B12001').items()}" + "{k: v['label'] for k, v in get_group_variables('acs/acs5', 2023, 'B05006').items()}" ] }, { - "cell_type": "code", - "execution_count": 10, - "id": "5f05a2b5", + "cell_type": "markdown", + "id": "ec8b1853", "metadata": {}, - "outputs": [], "source": [ - "variables =['B12001_001E', 'B12001_002E', 'B12001_010E', 'B12001_011E', 'B12001_019E']" + "### Get the data by calling CensusAPI" ] }, { "cell_type": "markdown", - "id": "ec8b1853", + "id": "6f4fff16", "metadata": {}, "source": [ - "### Get the data by calling CensusAPI" + "To call the data simply use the above attributes in the CensusAPI class." ] }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 9, "id": "d6b4161c", "metadata": {}, "outputs": [ @@ -1562,35 +1123,33 @@ "name": "stdout", "output_type": "stream", "text": [ - "2025-11-12 11:55:37,508 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-tract-region15-b12001.__init__: Initializing CENSUS_API_DATA object for census-acs-acs5-2023-tract-region15-b12001.\n", - "2025-11-12 11:55:37,509 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2023/acs/acs5/groups.json with parameters None.\n", - "2025-11-12 11:55:37,880 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-tract-region15-b12001.validate: Validating selected parameters\n", - "2025-11-12 11:55:37,881 | INFO | morpc.census.api.valid_survey_table: acs/acs5 is valid and implemented.\n", - "2025-11-12 11:55:37,881 | INFO | morpc.census.api.valid_vintage: 2023 is valid vintage for acs/acs5\n", - "2025-11-12 11:55:37,882 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2023/acs/acs5/groups.json with parameters None.\n", - "2025-11-12 11:55:38,223 | INFO | morpc.census.api.valid_group: Group B12001 valid group for 2023 acs/acs5.\n", - "2025-11-12 11:55:38,225 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2023/acs/acs5/groups/B12001.json with parameters None.\n", - "2025-11-12 11:55:38,444 | INFO | morpc.census.api.__init__: Building Request URL and Parameters.\n", - "2025-11-12 11:55:38,445 | INFO | morpc.census.api.get_query_url: Base URL for query is https://api.census.gov/data/2023/acs/acs5?\n", - "2025-11-12 11:55:38,446 | INFO | morpc.census.api.get_params: 'get' parameters for query are GEO_ID,NAME,B12001_001E,B12001_002E,B12001_010E,B12001_011E,B12001_019E\n", - "2025-11-12 11:55:38,446 | INFO | morpc.census.api.geo_params_from_scope_scale: Scale tract specified for scope region15.\n", - "2025-11-12 11:55:38,447 | INFO | morpc.census.api.geo_params_from_scope_scale: Scope region15 already has 'in' parameter. Converting to ucgid=pseudo() type predicate.\n", - "2025-11-12 11:55:38,448 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2023/geoinfo?get=GEO_ID with parameters {'in': 'state:39', 'for': 'county:041,045,049,089,097,129,159,083,101,117,047,073,091,127,141'}.\n", - "2025-11-12 11:55:39,007 | INFO | morpc.census.api.pseudos_from_scale_scope: Returning pseudos for 1400000 in ['0500000US39041', '0500000US39045', '0500000US39047', '0500000US39049', '0500000US39073', '0500000US39083', '0500000US39089', '0500000US39091', '0500000US39097', '0500000US39101', '0500000US39117', '0500000US39127', '0500000US39129', '0500000US39141', '0500000US39159']\n", - "2025-11-12 11:55:39,009 | INFO | morpc.census.api.get_api_request: api request as URL: https://api.census.gov/data/2023/acs/acs5? and PARAMETERS: {'get': 'GEO_ID,NAME,B12001_001E,B12001_002E,B12001_010E,B12001_011E,B12001_019E', 'ucgid': 'pseudo(0500000US39041$1400000,0500000US39045$1400000,0500000US39047$1400000,0500000US39049$1400000,0500000US39073$1400000,0500000US39083$1400000,0500000US39089$1400000,0500000US39091$1400000,0500000US39097$1400000,0500000US39101$1400000,0500000US39117$1400000,0500000US39127$1400000,0500000US39129$1400000,0500000US39141$1400000,0500000US39159$1400000)'}\n", - "2025-11-12 11:55:39,011 | INFO | morpc.census.api.__init__: Getting data from https://api.census.gov/data/2023/acs/acs5? with parameters {'get': 'GEO_ID,NAME,B12001_001E,B12001_002E,B12001_010E,B12001_011E,B12001_019E', 'ucgid': 'pseudo(0500000US39041$1400000,0500000US39045$1400000,0500000US39047$1400000,0500000US39049$1400000,0500000US39073$1400000,0500000US39083$1400000,0500000US39089$1400000,0500000US39091$1400000,0500000US39097$1400000,0500000US39101$1400000,0500000US39117$1400000,0500000US39127$1400000,0500000US39129$1400000,0500000US39141$1400000,0500000US39159$1400000)'}.\n", - "2025-11-12 11:55:39,012 | INFO | morpc.census.api.get: Total variables requested: 7\n", - "2025-11-12 11:55:39,012 | INFO | morpc.census.api.get: Starting request #1. 7 variables remain.\n", - "2025-11-12 11:55:39,013 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2023/acs/acs5? with parameters {'get': 'GEO_ID,NAME,B12001_001E,B12001_002E,B12001_010E,B12001_011E,B12001_019E', 'ucgid': 'pseudo(0500000US39041$1400000,0500000US39045$1400000,0500000US39047$1400000,0500000US39049$1400000,0500000US39073$1400000,0500000US39083$1400000,0500000US39089$1400000,0500000US39091$1400000,0500000US39097$1400000,0500000US39101$1400000,0500000US39117$1400000,0500000US39127$1400000,0500000US39129$1400000,0500000US39141$1400000,0500000US39159$1400000)'}.\n", - "2025-11-12 11:55:39,904 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2023/acs/acs5/groups/B12001.json with parameters None.\n", - "2025-11-12 11:55:40,169 | INFO | morpc.census.api.melt: Melting data into long format.\n" + "2026-01-06 15:55:41,982 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-county-tract-region15-b05006.__init__: Initializing CENSUS_API_DATA object for census-acs-acs5-2023-county-tract-region15-b05006.\n", + "2026-01-06 15:55:41,983 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2023/acs/acs5/groups.json with parameters None.\n", + "2026-01-06 15:55:42,822 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-county-tract-region15-b05006.validate: Validating selected parameters\n", + "2026-01-06 15:55:42,823 | INFO | morpc.census.api.valid_survey_table: acs/acs5 is valid and implemented.\n", + "2026-01-06 15:55:42,825 | INFO | morpc.census.api.valid_vintage: 2023 is valid vintage for acs/acs5\n", + "2026-01-06 15:55:42,827 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2023/acs/acs5/groups.json with parameters None.\n", + "2026-01-06 15:55:43,471 | INFO | morpc.census.api.valid_group: Group B05006 valid group for 2023 acs/acs5.\n", + "2026-01-06 15:55:43,473 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2023/acs/acs5/groups/B05006.json with parameters None.\n", + "2026-01-06 15:55:43,771 | INFO | morpc.census.api.__init__: Building Request URL and Parameters.\n", + "2026-01-06 15:55:43,772 | INFO | morpc.census.api.get_query_url: Base URL for query is https://api.census.gov/data/2023/acs/acs5?\n", + "2026-01-06 15:55:43,774 | INFO | morpc.census.api.get_params: 'get' parameters for query are GEO_ID,NAME,group(B05006)\n", + "2026-01-06 15:55:43,775 | INFO | morpc.census.api.geo_params_from_scope_scale: Scale tract specified for scope region15.\n", + "2026-01-06 15:55:43,776 | INFO | morpc.census.api.geo_params_from_scope_scale: Scope region15 already has 'in' parameter. Converting to ucgid=pseudo() type predicate.\n", + "2026-01-06 15:55:43,777 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2023/geoinfo?get=GEO_ID with parameters {'in': 'state:39', 'for': 'county:041,045,049,089,097,129,159,083,101,117,047,073,091,127,141'}.\n", + "2026-01-06 15:55:44,272 | INFO | morpc.census.api.pseudos_from_scale_scope: Returning pseudos for 1400000 in ['0500000US39041', '0500000US39045', '0500000US39047', '0500000US39049', '0500000US39073', '0500000US39083', '0500000US39089', '0500000US39091', '0500000US39097', '0500000US39101', '0500000US39117', '0500000US39127', '0500000US39129', '0500000US39141', '0500000US39159']\n", + "2026-01-06 15:55:44,273 | INFO | morpc.census.api.get_api_request: api request as URL: https://api.census.gov/data/2023/acs/acs5? and PARAMETERS: {'get': 'GEO_ID,NAME,group(B05006)', 'ucgid': 'pseudo(0500000US39041$1400000,0500000US39045$1400000,0500000US39047$1400000,0500000US39049$1400000,0500000US39073$1400000,0500000US39083$1400000,0500000US39089$1400000,0500000US39091$1400000,0500000US39097$1400000,0500000US39101$1400000,0500000US39117$1400000,0500000US39127$1400000,0500000US39129$1400000,0500000US39141$1400000,0500000US39159$1400000)'}\n", + "2026-01-06 15:55:44,274 | INFO | morpc.census.api.__init__: Getting data from https://api.census.gov/data/2023/acs/acs5? with parameters {'get': 'GEO_ID,NAME,group(B05006)', 'ucgid': 'pseudo(0500000US39041$1400000,0500000US39045$1400000,0500000US39047$1400000,0500000US39049$1400000,0500000US39073$1400000,0500000US39083$1400000,0500000US39089$1400000,0500000US39091$1400000,0500000US39097$1400000,0500000US39101$1400000,0500000US39117$1400000,0500000US39127$1400000,0500000US39129$1400000,0500000US39141$1400000,0500000US39159$1400000)'}.\n", + "2026-01-06 15:55:44,275 | INFO | morpc.census.api.get: Found group B05006 parameter. Ignoring variable limits.\n", + "2026-01-06 15:55:44,276 | INFO | morpc.req.get_text_safely: Getting data from https://api.census.gov/data/2023/acs/acs5?get=GEO_ID,NAME,group(B05006)&ucgid=pseudo(0500000US39041$1400000,0500000US39045$1400000,0500000US39047$1400000,0500000US39049$1400000,0500000US39073$1400000,0500000US39083$1400000,0500000US39089$1400000,0500000US39091$1400000,0500000US39097$1400000,0500000US39101$1400000,0500000US39117$1400000,0500000US39127$1400000,0500000US39129$1400000,0500000US39141$1400000,0500000US39159$1400000) with parameters None.\n", + "2026-01-06 15:55:46,532 | INFO | morpc.census.api.melt: Melting data into long format.\n" ] } ], "source": [ "from morpc.census.api import CensusAPI\n", "\n", - "b12001_2023 = CensusAPI('acs/acs5', 2023, 'B12001', 'region15', scale = 'tract', variables=variables)" + "b05006_2023 = CensusAPI('acs/acs5', 2023, 'B05006', 'region15', scale='tract')" ] }, { @@ -1603,7 +1162,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 10, "id": "c13835e9", "metadata": {}, "outputs": [ @@ -1630,11 +1189,25 @@ " \n", " GEO_ID\n", " NAME\n", - " B12001_001E\n", - " B12001_002E\n", - " B12001_010E\n", - " B12001_011E\n", - " B12001_019E\n", + " B05006_001E\n", + " B05006_001EA\n", + " B05006_001M\n", + " B05006_001MA\n", + " B05006_002E\n", + " B05006_002EA\n", + " B05006_002M\n", + " B05006_002MA\n", + " ...\n", + " B05006_177M\n", + " B05006_177MA\n", + " B05006_178E\n", + " B05006_178EA\n", + " B05006_178M\n", + " B05006_178MA\n", + " GEO_ID.1\n", + " NAME.1\n", + " ucgid\n", + " Unnamed: 717\n", " \n", " \n", " \n", @@ -1642,51 +1215,121 @@ " 0\n", " 1400000US39041010100\n", " Census Tract 101; Delaware County; Ohio\n", - " 4670\n", - " 2370\n", - " 170\n", - " 2300\n", - " 240\n", + " 214\n", + " NaN\n", + " 98\n", + " NaN\n", + " 23\n", + " NaN\n", + " 38\n", + " NaN\n", + " ...\n", + " 18\n", + " NaN\n", + " 0\n", + " NaN\n", + " 18\n", + " NaN\n", + " 1400000US39041010100\n", + " Census Tract 101; Delaware County; Ohio\n", + " 1400000US39041010100\n", + " NaN\n", " \n", " \n", " 1\n", " 1400000US39041010200\n", " Census Tract 102; Delaware County; Ohio\n", - " 5073\n", - " 2596\n", - " 385\n", - " 2477\n", - " 463\n", + " 150\n", + " NaN\n", + " 114\n", + " NaN\n", + " 20\n", + " NaN\n", + " 32\n", + " NaN\n", + " ...\n", + " 18\n", + " NaN\n", + " 0\n", + " NaN\n", + " 18\n", + " NaN\n", + " 1400000US39041010200\n", + " Census Tract 102; Delaware County; Ohio\n", + " 1400000US39041010200\n", + " NaN\n", " \n", " \n", " 2\n", " 1400000US39041010420\n", " Census Tract 104.20; Delaware County; Ohio\n", - " 2443\n", - " 1240\n", - " 144\n", - " 1203\n", - " 212\n", + " 0\n", + " NaN\n", + " 13\n", + " NaN\n", + " 0\n", + " NaN\n", + " 13\n", + " NaN\n", + " ...\n", + " 13\n", + " NaN\n", + " 0\n", + " NaN\n", + " 13\n", + " NaN\n", + " 1400000US39041010420\n", + " Census Tract 104.20; Delaware County; Ohio\n", + " 1400000US39041010420\n", + " NaN\n", " \n", " \n", " 3\n", " 1400000US39041010421\n", " Census Tract 104.21; Delaware County; Ohio\n", - " 2240\n", - " 1062\n", - " 81\n", - " 1178\n", - " 145\n", + " 108\n", + " NaN\n", + " 83\n", + " NaN\n", + " 23\n", + " NaN\n", + " 25\n", + " NaN\n", + " ...\n", + " 13\n", + " NaN\n", + " 0\n", + " NaN\n", + " 13\n", + " NaN\n", + " 1400000US39041010421\n", + " Census Tract 104.21; Delaware County; Ohio\n", + " 1400000US39041010421\n", + " NaN\n", " \n", " \n", " 4\n", " 1400000US39041010422\n", " Census Tract 104.22; Delaware County; Ohio\n", - " 4845\n", - " 2355\n", - " 44\n", - " 2490\n", - " 290\n", + " 40\n", + " NaN\n", + " 64\n", + " NaN\n", + " 0\n", + " NaN\n", + " 18\n", + " NaN\n", + " ...\n", + " 18\n", + " NaN\n", + " 0\n", + " NaN\n", + " 18\n", + " NaN\n", + " 1400000US39041010422\n", + " Census Tract 104.22; Delaware County; Ohio\n", + " 1400000US39041010422\n", + " NaN\n", " \n", " \n", " ...\n", @@ -1697,60 +1340,144 @@ " ...\n", " ...\n", " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", " \n", " \n", " 578\n", " 1400000US39159050502\n", " Census Tract 505.02; Union County; Ohio\n", - " 1959\n", - " 928\n", - " 132\n", - " 1031\n", - " 179\n", + " 11\n", + " NaN\n", + " 28\n", + " NaN\n", + " 0\n", + " NaN\n", + " 13\n", + " NaN\n", + " ...\n", + " 13\n", + " NaN\n", + " 0\n", + " NaN\n", + " 13\n", + " NaN\n", + " 1400000US39159050502\n", + " Census Tract 505.02; Union County; Ohio\n", + " 1400000US39159050502\n", + " NaN\n", " \n", " \n", " 579\n", " 1400000US39159050601\n", " Census Tract 506.01; Union County; Ohio\n", - " 8524\n", - " 4337\n", - " 188\n", - " 4187\n", - " 197\n", + " 2241\n", + " NaN\n", + " 296\n", + " NaN\n", + " 112\n", + " NaN\n", + " 102\n", + " NaN\n", + " ...\n", + " 60\n", + " NaN\n", + " 0\n", + " NaN\n", + " 20\n", + " NaN\n", + " 1400000US39159050601\n", + " Census Tract 506.01; Union County; Ohio\n", + " 1400000US39159050601\n", + " NaN\n", " \n", " \n", " 580\n", " 1400000US39159050602\n", " Census Tract 506.02; Union County; Ohio\n", - " 3654\n", - " 1995\n", - " 156\n", - " 1659\n", - " 188\n", + " 291\n", + " NaN\n", + " 123\n", + " NaN\n", + " 10\n", + " NaN\n", + " 16\n", + " NaN\n", + " ...\n", + " 29\n", + " NaN\n", + " 0\n", + " NaN\n", + " 13\n", + " NaN\n", + " 1400000US39159050602\n", + " Census Tract 506.02; Union County; Ohio\n", + " 1400000US39159050602\n", + " NaN\n", " \n", " \n", " 581\n", " 1400000US39159050701\n", " Census Tract 507.01; Union County; Ohio\n", - " 3479\n", - " 1662\n", - " 70\n", - " 1817\n", - " 72\n", + " 83\n", + " NaN\n", + " 84\n", + " NaN\n", + " 0\n", + " NaN\n", + " 13\n", + " NaN\n", + " ...\n", + " 15\n", + " NaN\n", + " 0\n", + " NaN\n", + " 13\n", + " NaN\n", + " 1400000US39159050701\n", + " Census Tract 507.01; Union County; Ohio\n", + " 1400000US39159050701\n", + " NaN\n", " \n", " \n", " 582\n", " 1400000US39159050702\n", " Census Tract 507.02; Union County; Ohio\n", - " 2494\n", - " 1197\n", - " 50\n", - " 1297\n", - " 127\n", + " 24\n", + " NaN\n", + " 29\n", + " NaN\n", + " 2\n", + " NaN\n", + " 4\n", + " NaN\n", + " ...\n", + " 13\n", + " NaN\n", + " 0\n", + " NaN\n", + " 13\n", + " NaN\n", + " 1400000US39159050702\n", + " Census Tract 507.02; Union County; Ohio\n", + " 1400000US39159050702\n", + " NaN\n", " \n", " \n", "\n", - "

583 rows × 7 columns

\n", + "

583 rows × 718 columns

\n", "" ], "text/plain": [ @@ -1767,29 +1494,81 @@ "581 1400000US39159050701 Census Tract 507.01; Union County; Ohio \n", "582 1400000US39159050702 Census Tract 507.02; Union County; Ohio \n", "\n", - " B12001_001E B12001_002E B12001_010E B12001_011E B12001_019E \n", - "0 4670 2370 170 2300 240 \n", - "1 5073 2596 385 2477 463 \n", - "2 2443 1240 144 1203 212 \n", - "3 2240 1062 81 1178 145 \n", - "4 4845 2355 44 2490 290 \n", - ".. ... ... ... ... ... \n", - "578 1959 928 132 1031 179 \n", - "579 8524 4337 188 4187 197 \n", - "580 3654 1995 156 1659 188 \n", - "581 3479 1662 70 1817 72 \n", - "582 2494 1197 50 1297 127 \n", - "\n", - "[583 rows x 7 columns]" + " B05006_001E B05006_001EA B05006_001M B05006_001MA B05006_002E \\\n", + "0 214 NaN 98 NaN 23 \n", + "1 150 NaN 114 NaN 20 \n", + "2 0 NaN 13 NaN 0 \n", + "3 108 NaN 83 NaN 23 \n", + "4 40 NaN 64 NaN 0 \n", + ".. ... ... ... ... ... \n", + "578 11 NaN 28 NaN 0 \n", + "579 2241 NaN 296 NaN 112 \n", + "580 291 NaN 123 NaN 10 \n", + "581 83 NaN 84 NaN 0 \n", + "582 24 NaN 29 NaN 2 \n", + "\n", + " B05006_002EA B05006_002M B05006_002MA ... B05006_177M B05006_177MA \\\n", + "0 NaN 38 NaN ... 18 NaN \n", + "1 NaN 32 NaN ... 18 NaN \n", + "2 NaN 13 NaN ... 13 NaN \n", + "3 NaN 25 NaN ... 13 NaN \n", + "4 NaN 18 NaN ... 18 NaN \n", + ".. ... ... ... ... ... ... \n", + "578 NaN 13 NaN ... 13 NaN \n", + "579 NaN 102 NaN ... 60 NaN \n", + "580 NaN 16 NaN ... 29 NaN \n", + "581 NaN 13 NaN ... 15 NaN \n", + "582 NaN 4 NaN ... 13 NaN \n", + "\n", + " B05006_178E B05006_178EA B05006_178M B05006_178MA \\\n", + "0 0 NaN 18 NaN \n", + "1 0 NaN 18 NaN \n", + "2 0 NaN 13 NaN \n", + "3 0 NaN 13 NaN \n", + "4 0 NaN 18 NaN \n", + ".. ... ... ... ... \n", + "578 0 NaN 13 NaN \n", + "579 0 NaN 20 NaN \n", + "580 0 NaN 13 NaN \n", + "581 0 NaN 13 NaN \n", + "582 0 NaN 13 NaN \n", + "\n", + " GEO_ID.1 NAME.1 \\\n", + "0 1400000US39041010100 Census Tract 101; Delaware County; Ohio \n", + "1 1400000US39041010200 Census Tract 102; Delaware County; Ohio \n", + "2 1400000US39041010420 Census Tract 104.20; Delaware County; Ohio \n", + "3 1400000US39041010421 Census Tract 104.21; Delaware County; Ohio \n", + "4 1400000US39041010422 Census Tract 104.22; Delaware County; Ohio \n", + ".. ... ... \n", + "578 1400000US39159050502 Census Tract 505.02; Union County; Ohio \n", + "579 1400000US39159050601 Census Tract 506.01; Union County; Ohio \n", + "580 1400000US39159050602 Census Tract 506.02; Union County; Ohio \n", + "581 1400000US39159050701 Census Tract 507.01; Union County; Ohio \n", + "582 1400000US39159050702 Census Tract 507.02; Union County; Ohio \n", + "\n", + " ucgid Unnamed: 717 \n", + "0 1400000US39041010100 NaN \n", + "1 1400000US39041010200 NaN \n", + "2 1400000US39041010420 NaN \n", + "3 1400000US39041010421 NaN \n", + "4 1400000US39041010422 NaN \n", + ".. ... ... \n", + "578 1400000US39159050502 NaN \n", + "579 1400000US39159050601 NaN \n", + "580 1400000US39159050602 NaN \n", + "581 1400000US39159050701 NaN \n", + "582 1400000US39159050702 NaN \n", + "\n", + "[583 rows x 718 columns]" ] }, - "execution_count": 12, + "execution_count": 10, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "b12001_2023.DATA" + "b05006_2023.DATA" ] }, { @@ -1802,7 +1581,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 11, "id": "efd039bc", "metadata": {}, "outputs": [ @@ -1833,6 +1612,7 @@ " variable_label\n", " variable\n", " estimate\n", + " moe\n", " \n", " \n", " \n", @@ -1842,44 +1622,49 @@ " Census Tract 101; Delaware County; Ohio\n", " 2023\n", " Total:\n", - " B12001_001\n", - " 4670\n", + " B05006_001\n", + " 214\n", + " 98\n", " \n", " \n", - " 3\n", + " 125\n", " 1400000US39041010100\n", " Census Tract 101; Delaware County; Ohio\n", " 2023\n", - " Total:!!Male:\n", - " B12001_002\n", - " 2370\n", + " Total:!!Europe:\n", + " B05006_002\n", + " 23\n", + " 38\n", " \n", " \n", - " 4\n", + " 145\n", " 1400000US39041010100\n", " Census Tract 101; Delaware County; Ohio\n", " 2023\n", - " Total:!!Male:!!Divorced\n", - " B12001_010\n", - " 170\n", + " Total:!!Europe:!!Northern Europe:\n", + " B05006_003\n", + " 0\n", + " 18\n", " \n", " \n", - " 1\n", + " 146\n", " 1400000US39041010100\n", " Census Tract 101; Delaware County; Ohio\n", " 2023\n", - " Total:!!Female:\n", - " B12001_011\n", - " 2300\n", + " Total:!!Europe:!!Northern Europe:!!Denmark\n", + " B05006_004\n", + " 0\n", + " 18\n", " \n", " \n", - " 2\n", + " 147\n", " 1400000US39041010100\n", " Census Tract 101; Delaware County; Ohio\n", " 2023\n", - " Total:!!Female:!!Divorced\n", - " B12001_019\n", - " 240\n", + " Total:!!Europe:!!Northern Europe:!!Ireland\n", + " B05006_005\n", + " 0\n", + " 18\n", " \n", " \n", " ...\n", @@ -1889,94 +1674,113 @@ " ...\n", " ...\n", " ...\n", + " ...\n", " \n", " \n", - " 2910\n", + " 103669\n", " 1400000US39159050702\n", " Census Tract 507.02; Union County; Ohio\n", " 2023\n", - " Total:\n", - " B12001_001\n", - " 2494\n", + " Total:!!Americas:!!Latin America:!!South Ameri...\n", + " B05006_174\n", + " 0\n", + " 13\n", " \n", " \n", - " 2913\n", + " 103666\n", " 1400000US39159050702\n", " Census Tract 507.02; Union County; Ohio\n", " 2023\n", - " Total:!!Male:\n", - " B12001_002\n", - " 1197\n", + " Total:!!Americas:!!Latin America:!!South Ameri...\n", + " B05006_175\n", + " 0\n", + " 13\n", " \n", " \n", - " 2914\n", + " 103670\n", " 1400000US39159050702\n", " Census Tract 507.02; Union County; Ohio\n", " 2023\n", - " Total:!!Male:!!Divorced\n", - " B12001_010\n", - " 50\n", + " Total:!!Americas:!!Northern America:\n", + " B05006_176\n", + " 0\n", + " 13\n", " \n", " \n", - " 2911\n", + " 103671\n", " 1400000US39159050702\n", " Census Tract 507.02; Union County; Ohio\n", " 2023\n", - " Total:!!Female:\n", - " B12001_011\n", - " 1297\n", + " Total:!!Americas:!!Northern America:!!Canada\n", + " B05006_177\n", + " 0\n", + " 13\n", " \n", " \n", - " 2912\n", + " 103672\n", " 1400000US39159050702\n", " Census Tract 507.02; Union County; Ohio\n", " 2023\n", - " Total:!!Female:!!Divorced\n", - " B12001_019\n", - " 127\n", + " Total:!!Americas:!!Northern America:!!Other No...\n", + " B05006_178\n", + " 0\n", + " 13\n", " \n", " \n", "\n", - "

2915 rows × 6 columns

\n", + "

103774 rows × 7 columns

\n", "" ], "text/plain": [ - " GEO_ID NAME \\\n", - "0 1400000US39041010100 Census Tract 101; Delaware County; Ohio \n", - "3 1400000US39041010100 Census Tract 101; Delaware County; Ohio \n", - "4 1400000US39041010100 Census Tract 101; Delaware County; Ohio \n", - "1 1400000US39041010100 Census Tract 101; Delaware County; Ohio \n", - "2 1400000US39041010100 Census Tract 101; Delaware County; Ohio \n", - "... ... ... \n", - "2910 1400000US39159050702 Census Tract 507.02; Union County; Ohio \n", - "2913 1400000US39159050702 Census Tract 507.02; Union County; Ohio \n", - "2914 1400000US39159050702 Census Tract 507.02; Union County; Ohio \n", - "2911 1400000US39159050702 Census Tract 507.02; Union County; Ohio \n", - "2912 1400000US39159050702 Census Tract 507.02; Union County; Ohio \n", - "\n", - " reference_period variable_label variable estimate \n", - "0 2023 Total: B12001_001 4670 \n", - "3 2023 Total:!!Male: B12001_002 2370 \n", - "4 2023 Total:!!Male:!!Divorced B12001_010 170 \n", - "1 2023 Total:!!Female: B12001_011 2300 \n", - "2 2023 Total:!!Female:!!Divorced B12001_019 240 \n", - "... ... ... ... ... \n", - "2910 2023 Total: B12001_001 2494 \n", - "2913 2023 Total:!!Male: B12001_002 1197 \n", - "2914 2023 Total:!!Male:!!Divorced B12001_010 50 \n", - "2911 2023 Total:!!Female: B12001_011 1297 \n", - "2912 2023 Total:!!Female:!!Divorced B12001_019 127 \n", - "\n", - "[2915 rows x 6 columns]" + " GEO_ID NAME \\\n", + "0 1400000US39041010100 Census Tract 101; Delaware County; Ohio \n", + "125 1400000US39041010100 Census Tract 101; Delaware County; Ohio \n", + "145 1400000US39041010100 Census Tract 101; Delaware County; Ohio \n", + "146 1400000US39041010100 Census Tract 101; Delaware County; Ohio \n", + "147 1400000US39041010100 Census Tract 101; Delaware County; Ohio \n", + "... ... ... \n", + "103669 1400000US39159050702 Census Tract 507.02; Union County; Ohio \n", + "103666 1400000US39159050702 Census Tract 507.02; Union County; Ohio \n", + "103670 1400000US39159050702 Census Tract 507.02; Union County; Ohio \n", + "103671 1400000US39159050702 Census Tract 507.02; Union County; Ohio \n", + "103672 1400000US39159050702 Census Tract 507.02; Union County; Ohio \n", + "\n", + " reference_period variable_label \\\n", + "0 2023 Total: \n", + "125 2023 Total:!!Europe: \n", + "145 2023 Total:!!Europe:!!Northern Europe: \n", + "146 2023 Total:!!Europe:!!Northern Europe:!!Denmark \n", + "147 2023 Total:!!Europe:!!Northern Europe:!!Ireland \n", + "... ... ... \n", + "103669 2023 Total:!!Americas:!!Latin America:!!South Ameri... \n", + "103666 2023 Total:!!Americas:!!Latin America:!!South Ameri... \n", + "103670 2023 Total:!!Americas:!!Northern America: \n", + "103671 2023 Total:!!Americas:!!Northern America:!!Canada \n", + "103672 2023 Total:!!Americas:!!Northern America:!!Other No... \n", + "\n", + " variable estimate moe \n", + "0 B05006_001 214 98 \n", + "125 B05006_002 23 38 \n", + "145 B05006_003 0 18 \n", + "146 B05006_004 0 18 \n", + "147 B05006_005 0 18 \n", + "... ... ... ... \n", + "103669 B05006_174 0 13 \n", + "103666 B05006_175 0 13 \n", + "103670 B05006_176 0 13 \n", + "103671 B05006_177 0 13 \n", + "103672 B05006_178 0 13 \n", + "\n", + "[103774 rows x 7 columns]" ] }, - "execution_count": 13, + "execution_count": 11, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "b12001_2023.LONG" + "b05006_2023.LONG" ] }, { @@ -1999,7 +1803,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 12, "id": "6b1dfc95", "metadata": {}, "outputs": [ @@ -2007,19 +1811,19 @@ "name": "stdout", "output_type": "stream", "text": [ - "2025-11-12 11:55:40,247 | INFO | morpc.census.api.DimensionTable.2025-11-12 11:55:40.247656.__init__: Initializing DIMENSION_TABLE object.\n" + "2026-01-06 15:55:53,177 | INFO | morpc.census.api.DimensionTable.2026-01-06 15:55:53.177584.__init__: Initializing DIMENSION_TABLE object.\n" ] } ], "source": [ "from morpc.census.api import DimensionTable\n", "\n", - "dim_table = DimensionTable(b12001_2023.LONG)" + "dim_table = DimensionTable(b05006_2023.LONG)" ] }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 13, "id": "fe646d6c", "metadata": {}, "outputs": [ @@ -2027,8 +1831,8 @@ "name": "stdout", "output_type": "stream", "text": [ - "2025-11-12 11:55:40,262 | INFO | morpc.census.api.DimensionTable.2025-11-12 11:55:40.247656.wide: Pivoting data into wide format.\n", - "2025-11-12 11:55:40,263 | INFO | morpc.census.api.DimensionTable.2025-11-12 11:55:40.247656.create_description_table: Creating description table from variable labels.\n" + "2026-01-06 15:55:54,613 | INFO | morpc.census.api.DimensionTable.2026-01-06 15:55:53.177584.wide: Pivoting data into wide format.\n", + "2026-01-06 15:55:54,614 | INFO | morpc.census.api.DimensionTable.2026-01-06 15:55:53.177584.create_description_table: Creating description table from variable labels.\n" ] }, { @@ -2058,30 +1862,108 @@ " \n", " \n", " \n", - " Total:\n", + " \n", + " GEO_ID\n", + " 1400000US39041010100\n", + " 1400000US39041010200\n", + " 1400000US39041010420\n", + " 1400000US39041010421\n", + " 1400000US39041010422\n", + " 1400000US39041010520\n", + " 1400000US39041010530\n", + " 1400000US39041011101\n", + " 1400000US39041011102\n", + " 1400000US39041011200\n", + " ...\n", + " 1400000US39159050303\n", + " 1400000US39159050304\n", + " 1400000US39159050401\n", + " 1400000US39159050402\n", + " 1400000US39159050501\n", + " 1400000US39159050502\n", + " 1400000US39159050601\n", + " 1400000US39159050602\n", + " 1400000US39159050701\n", + " 1400000US39159050702\n", " \n", " \n", " \n", " \n", - " 1\n", " \n", - " Male:\n", - " Female:\n", + " \n", + " NAME\n", + " Census Tract 101; Delaware County; Ohio\n", + " Census Tract 102; Delaware County; Ohio\n", + " Census Tract 104.20; Delaware County; Ohio\n", + " Census Tract 104.21; Delaware County; Ohio\n", + " Census Tract 104.22; Delaware County; Ohio\n", + " Census Tract 105.20; Delaware County; Ohio\n", + " Census Tract 105.30; Delaware County; Ohio\n", + " Census Tract 111.01; Delaware County; Ohio\n", + " Census Tract 111.02; Delaware County; Ohio\n", + " Census Tract 112; Delaware County; Ohio\n", + " ...\n", + " Census Tract 503.03; Union County; Ohio\n", + " Census Tract 503.04; Union County; Ohio\n", + " Census Tract 504.01; Union County; Ohio\n", + " Census Tract 504.02; Union County; Ohio\n", + " Census Tract 505.01; Union County; Ohio\n", + " Census Tract 505.02; Union County; Ohio\n", + " Census Tract 506.01; Union County; Ohio\n", + " Census Tract 506.02; Union County; Ohio\n", + " Census Tract 507.01; Union County; Ohio\n", + " Census Tract 507.02; Union County; Ohio\n", " \n", " \n", " \n", " \n", - " 2\n", - " \n", " \n", - " Divorced\n", " \n", - " Divorced\n", + " reference_period\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " ...\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", " \n", " \n", - " GEO_ID\n", - " NAME\n", - " reference_period\n", + " 0\n", + " 1\n", + " 2\n", + " 3\n", + " 4\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", " \n", @@ -2091,59 +1973,157 @@ " \n", " \n", " \n", - " 1400000US39041010100\n", - " Census Tract 101; Delaware County; Ohio\n", - " 2023\n", - " 4670\n", - " 2370\n", - " 170\n", - " 2300\n", - " 240\n", + " Total:\n", + " \n", + " \n", + " \n", + " \n", + " 214\n", + " 150\n", + " 0\n", + " 108\n", + " 40\n", + " 663\n", + " 57\n", + " 4\n", + " 124\n", + " 72\n", + " ...\n", + " 562\n", + " 57\n", + " 90\n", + " 99\n", + " 163\n", + " 11\n", + " 2241\n", + " 291\n", + " 83\n", + " 24\n", " \n", " \n", - " 1400000US39041010200\n", - " Census Tract 102; Delaware County; Ohio\n", - " 2023\n", - " 5073\n", - " 2596\n", - " 385\n", - " 2477\n", - " 463\n", + " Europe:\n", + " \n", + " \n", + " \n", + " 23\n", + " 20\n", + " 0\n", + " 23\n", + " 0\n", + " 26\n", + " 7\n", + " 0\n", + " 50\n", + " 34\n", + " ...\n", + " 56\n", + " 8\n", + " 5\n", + " 0\n", + " 0\n", + " 0\n", + " 112\n", + " 10\n", + " 0\n", + " 2\n", " \n", " \n", - " 1400000US39041010420\n", - " Census Tract 104.20; Delaware County; Ohio\n", - " 2023\n", - " 2443\n", - " 1240\n", - " 144\n", - " 1203\n", - " 212\n", + " Northern Europe:\n", + " \n", + " \n", + " 0\n", + " 20\n", + " 0\n", + " 12\n", + " 0\n", + " 12\n", + " 0\n", + " 0\n", + " 0\n", + " 9\n", + " ...\n", + " 28\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 26\n", + " 0\n", + " 0\n", + " 2\n", " \n", " \n", - " 1400000US39041010421\n", - " Census Tract 104.21; Delaware County; Ohio\n", - " 2023\n", - " 2240\n", - " 1062\n", - " 81\n", - " 1178\n", - " 145\n", + " Denmark\n", + " \n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", " \n", " \n", - " 1400000US39041010422\n", - " Census Tract 104.22; Delaware County; Ohio\n", - " 2023\n", - " 4845\n", - " 2355\n", - " 44\n", - " 2490\n", - " 290\n", + " Ireland\n", + " \n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", " \n", " \n", " ...\n", " ...\n", " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", " ...\n", " ...\n", " ...\n", @@ -2151,151 +2131,484 @@ " ...\n", " \n", " \n", - " 1400000US39159050502\n", - " Census Tract 505.02; Union County; Ohio\n", - " 2023\n", - " 1959\n", - " 928\n", - " 132\n", - " 1031\n", - " 179\n", + " Americas:\n", + " Latin America:\n", + " South America:\n", + " Venezuela\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 28\n", + " 0\n", + " 0\n", " \n", " \n", - " 1400000US39159050601\n", - " Census Tract 506.01; Union County; Ohio\n", - " 2023\n", - " 8524\n", - " 4337\n", - " 188\n", - " 4187\n", - " 197\n", + " Other South America\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", " \n", " \n", - " 1400000US39159050602\n", - " Census Tract 506.02; Union County; Ohio\n", - " 2023\n", - " 3654\n", - " 1995\n", - " 156\n", - " 1659\n", - " 188\n", + " Northern America:\n", + " \n", + " \n", + " 15\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 12\n", + " 0\n", + " 0\n", + " 0\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 58\n", + " 0\n", + " 58\n", + " 17\n", + " 9\n", + " 0\n", " \n", " \n", - " 1400000US39159050701\n", - " Census Tract 507.01; Union County; Ohio\n", - " 2023\n", - " 3479\n", - " 1662\n", - " 70\n", - " 1817\n", - " 72\n", + " Canada\n", + " \n", + " 15\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 12\n", + " 0\n", + " 0\n", + " 0\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 58\n", + " 0\n", + " 58\n", + " 17\n", + " 9\n", + " 0\n", " \n", " \n", - " 1400000US39159050702\n", - " Census Tract 507.02; Union County; Ohio\n", - " 2023\n", - " 2494\n", - " 1197\n", - " 50\n", - " 1297\n", - " 127\n", + " Other Northern America\n", + " \n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", " \n", " \n", "\n", - "

583 rows × 5 columns

\n", + "

174 rows × 583 columns

\n", "" ], "text/plain": [ - "0 Total: \\\n", - "1 \n", - "2 \n", - "GEO_ID NAME reference_period \n", - "1400000US39041010100 Census Tract 101; Delaware County; Ohio 2023 4670 \n", - "1400000US39041010200 Census Tract 102; Delaware County; Ohio 2023 5073 \n", - "1400000US39041010420 Census Tract 104.20; Delaware County; Ohio 2023 2443 \n", - "1400000US39041010421 Census Tract 104.21; Delaware County; Ohio 2023 2240 \n", - "1400000US39041010422 Census Tract 104.22; Delaware County; Ohio 2023 4845 \n", - "... ... \n", - "1400000US39159050502 Census Tract 505.02; Union County; Ohio 2023 1959 \n", - "1400000US39159050601 Census Tract 506.01; Union County; Ohio 2023 8524 \n", - "1400000US39159050602 Census Tract 506.02; Union County; Ohio 2023 3654 \n", - "1400000US39159050701 Census Tract 507.01; Union County; Ohio 2023 3479 \n", - "1400000US39159050702 Census Tract 507.02; Union County; Ohio 2023 2494 \n", - "\n", - "0 \\\n", - "1 Male: \n", - "2 \n", - "GEO_ID NAME reference_period \n", - "1400000US39041010100 Census Tract 101; Delaware County; Ohio 2023 2370 \n", - "1400000US39041010200 Census Tract 102; Delaware County; Ohio 2023 2596 \n", - "1400000US39041010420 Census Tract 104.20; Delaware County; Ohio 2023 1240 \n", - "1400000US39041010421 Census Tract 104.21; Delaware County; Ohio 2023 1062 \n", - "1400000US39041010422 Census Tract 104.22; Delaware County; Ohio 2023 2355 \n", - "... ... \n", - "1400000US39159050502 Census Tract 505.02; Union County; Ohio 2023 928 \n", - "1400000US39159050601 Census Tract 506.01; Union County; Ohio 2023 4337 \n", - "1400000US39159050602 Census Tract 506.02; Union County; Ohio 2023 1995 \n", - "1400000US39159050701 Census Tract 507.01; Union County; Ohio 2023 1662 \n", - "1400000US39159050702 Census Tract 507.02; Union County; Ohio 2023 1197 \n", - "\n", - "0 \\\n", - "1 \n", - "2 Divorced \n", - "GEO_ID NAME reference_period \n", - "1400000US39041010100 Census Tract 101; Delaware County; Ohio 2023 170 \n", - "1400000US39041010200 Census Tract 102; Delaware County; Ohio 2023 385 \n", - "1400000US39041010420 Census Tract 104.20; Delaware County; Ohio 2023 144 \n", - "1400000US39041010421 Census Tract 104.21; Delaware County; Ohio 2023 81 \n", - "1400000US39041010422 Census Tract 104.22; Delaware County; Ohio 2023 44 \n", - "... ... \n", - "1400000US39159050502 Census Tract 505.02; Union County; Ohio 2023 132 \n", - "1400000US39159050601 Census Tract 506.01; Union County; Ohio 2023 188 \n", - "1400000US39159050602 Census Tract 506.02; Union County; Ohio 2023 156 \n", - "1400000US39159050701 Census Tract 507.01; Union County; Ohio 2023 70 \n", - "1400000US39159050702 Census Tract 507.02; Union County; Ohio 2023 50 \n", - "\n", - "0 \\\n", - "1 Female: \n", - "2 \n", - "GEO_ID NAME reference_period \n", - "1400000US39041010100 Census Tract 101; Delaware County; Ohio 2023 2300 \n", - "1400000US39041010200 Census Tract 102; Delaware County; Ohio 2023 2477 \n", - "1400000US39041010420 Census Tract 104.20; Delaware County; Ohio 2023 1203 \n", - "1400000US39041010421 Census Tract 104.21; Delaware County; Ohio 2023 1178 \n", - "1400000US39041010422 Census Tract 104.22; Delaware County; Ohio 2023 2490 \n", - "... ... \n", - "1400000US39159050502 Census Tract 505.02; Union County; Ohio 2023 1031 \n", - "1400000US39159050601 Census Tract 506.01; Union County; Ohio 2023 4187 \n", - "1400000US39159050602 Census Tract 506.02; Union County; Ohio 2023 1659 \n", - "1400000US39159050701 Census Tract 507.01; Union County; Ohio 2023 1817 \n", - "1400000US39159050702 Census Tract 507.02; Union County; Ohio 2023 1297 \n", - "\n", - "0 \n", - "1 \n", - "2 Divorced \n", - "GEO_ID NAME reference_period \n", - "1400000US39041010100 Census Tract 101; Delaware County; Ohio 2023 240 \n", - "1400000US39041010200 Census Tract 102; Delaware County; Ohio 2023 463 \n", - "1400000US39041010420 Census Tract 104.20; Delaware County; Ohio 2023 212 \n", - "1400000US39041010421 Census Tract 104.21; Delaware County; Ohio 2023 145 \n", - "1400000US39041010422 Census Tract 104.22; Delaware County; Ohio 2023 290 \n", - "... ... \n", - "1400000US39159050502 Census Tract 505.02; Union County; Ohio 2023 179 \n", - "1400000US39159050601 Census Tract 506.01; Union County; Ohio 2023 197 \n", - "1400000US39159050602 Census Tract 506.02; Union County; Ohio 2023 188 \n", - "1400000US39159050701 Census Tract 507.01; Union County; Ohio 2023 72 \n", - "1400000US39159050702 Census Tract 507.02; Union County; Ohio 2023 127 \n", - "\n", - "[583 rows x 5 columns]" + "GEO_ID 1400000US39041010100 \\\n", + "NAME Census Tract 101; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 214 \n", + " Europe: 23 \n", + " Northern Europe: 0 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0 \n", + " Other South America 0 \n", + " Northern America: 15 \n", + " Canada 15 \n", + " Other Northern America 0 \n", + "\n", + "GEO_ID 1400000US39041010200 \\\n", + "NAME Census Tract 102; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 150 \n", + " Europe: 20 \n", + " Northern Europe: 20 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0 \n", + " Other South America 0 \n", + " Northern America: 0 \n", + " Canada 0 \n", + " Other Northern America 0 \n", + "\n", + "GEO_ID 1400000US39041010420 \\\n", + "NAME Census Tract 104.20; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 0 \n", + " Europe: 0 \n", + " Northern Europe: 0 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0 \n", + " Other South America 0 \n", + " Northern America: 0 \n", + " Canada 0 \n", + " Other Northern America 0 \n", + "\n", + "GEO_ID 1400000US39041010421 \\\n", + "NAME Census Tract 104.21; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 108 \n", + " Europe: 23 \n", + " Northern Europe: 12 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0 \n", + " Other South America 0 \n", + " Northern America: 0 \n", + " Canada 0 \n", + " Other Northern America 0 \n", + "\n", + "GEO_ID 1400000US39041010422 \\\n", + "NAME Census Tract 104.22; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 40 \n", + " Europe: 0 \n", + " Northern Europe: 0 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0 \n", + " Other South America 0 \n", + " Northern America: 0 \n", + " Canada 0 \n", + " Other Northern America 0 \n", + "\n", + "GEO_ID 1400000US39041010520 \\\n", + "NAME Census Tract 105.20; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 663 \n", + " Europe: 26 \n", + " Northern Europe: 12 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0 \n", + " Other South America 0 \n", + " Northern America: 0 \n", + " Canada 0 \n", + " Other Northern America 0 \n", + "\n", + "GEO_ID 1400000US39041010530 \\\n", + "NAME Census Tract 105.30; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 57 \n", + " Europe: 7 \n", + " Northern Europe: 0 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0 \n", + " Other South America 0 \n", + " Northern America: 12 \n", + " Canada 12 \n", + " Other Northern America 0 \n", + "\n", + "GEO_ID 1400000US39041011101 \\\n", + "NAME Census Tract 111.01; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 4 \n", + " Europe: 0 \n", + " Northern Europe: 0 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0 \n", + " Other South America 0 \n", + " Northern America: 0 \n", + " Canada 0 \n", + " Other Northern America 0 \n", + "\n", + "GEO_ID 1400000US39041011102 \\\n", + "NAME Census Tract 111.02; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 124 \n", + " Europe: 50 \n", + " Northern Europe: 0 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0 \n", + " Other South America 0 \n", + " Northern America: 0 \n", + " Canada 0 \n", + " Other Northern America 0 \n", + "\n", + "GEO_ID 1400000US39041011200 \\\n", + "NAME Census Tract 112; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 72 \n", + " Europe: 34 \n", + " Northern Europe: 9 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0 \n", + " Other South America 0 \n", + " Northern America: 0 \n", + " Canada 0 \n", + " Other Northern America 0 \n", + "\n", + "GEO_ID ... \\\n", + "NAME ... \n", + "reference_period ... \n", + "0 1 2 3 4 ... \n", + "Total: ... \n", + " Europe: ... \n", + " Northern Europe: ... \n", + " Denmark ... \n", + " Ireland ... \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela ... \n", + " Other South America ... \n", + " Northern America: ... \n", + " Canada ... \n", + " Other Northern America ... \n", + "\n", + "GEO_ID 1400000US39159050303 \\\n", + "NAME Census Tract 503.03; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 562 \n", + " Europe: 56 \n", + " Northern Europe: 28 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0 \n", + " Other South America 0 \n", + " Northern America: 0 \n", + " Canada 0 \n", + " Other Northern America 0 \n", + "\n", + "GEO_ID 1400000US39159050304 \\\n", + "NAME Census Tract 503.04; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 57 \n", + " Europe: 8 \n", + " Northern Europe: 0 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0 \n", + " Other South America 0 \n", + " Northern America: 0 \n", + " Canada 0 \n", + " Other Northern America 0 \n", + "\n", + "GEO_ID 1400000US39159050401 \\\n", + "NAME Census Tract 504.01; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 90 \n", + " Europe: 5 \n", + " Northern Europe: 0 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0 \n", + " Other South America 0 \n", + " Northern America: 0 \n", + " Canada 0 \n", + " Other Northern America 0 \n", + "\n", + "GEO_ID 1400000US39159050402 \\\n", + "NAME Census Tract 504.02; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 99 \n", + " Europe: 0 \n", + " Northern Europe: 0 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0 \n", + " Other South America 0 \n", + " Northern America: 0 \n", + " Canada 0 \n", + " Other Northern America 0 \n", + "\n", + "GEO_ID 1400000US39159050501 \\\n", + "NAME Census Tract 505.01; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 163 \n", + " Europe: 0 \n", + " Northern Europe: 0 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0 \n", + " Other South America 0 \n", + " Northern America: 58 \n", + " Canada 58 \n", + " Other Northern America 0 \n", + "\n", + "GEO_ID 1400000US39159050502 \\\n", + "NAME Census Tract 505.02; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 11 \n", + " Europe: 0 \n", + " Northern Europe: 0 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0 \n", + " Other South America 0 \n", + " Northern America: 0 \n", + " Canada 0 \n", + " Other Northern America 0 \n", + "\n", + "GEO_ID 1400000US39159050601 \\\n", + "NAME Census Tract 506.01; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 2241 \n", + " Europe: 112 \n", + " Northern Europe: 26 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0 \n", + " Other South America 0 \n", + " Northern America: 58 \n", + " Canada 58 \n", + " Other Northern America 0 \n", + "\n", + "GEO_ID 1400000US39159050602 \\\n", + "NAME Census Tract 506.02; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 291 \n", + " Europe: 10 \n", + " Northern Europe: 0 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 28 \n", + " Other South America 0 \n", + " Northern America: 17 \n", + " Canada 17 \n", + " Other Northern America 0 \n", + "\n", + "GEO_ID 1400000US39159050701 \\\n", + "NAME Census Tract 507.01; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 83 \n", + " Europe: 0 \n", + " Northern Europe: 0 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0 \n", + " Other South America 0 \n", + " Northern America: 9 \n", + " Canada 9 \n", + " Other Northern America 0 \n", + "\n", + "GEO_ID 1400000US39159050702 \n", + "NAME Census Tract 507.02; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 24 \n", + " Europe: 2 \n", + " Northern Europe: 2 \n", + " Denmark 0 \n", + " Ireland 0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0 \n", + " Other South America 0 \n", + " Northern America: 0 \n", + " Canada 0 \n", + " Other Northern America 0 \n", + "\n", + "[174 rows x 583 columns]" ] }, - "execution_count": 15, + "execution_count": 13, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "dim_table.wide().T" + "dim_table.wide()" ] }, { @@ -2303,12 +2616,12 @@ "id": "bf13bae7", "metadata": {}, "source": [ - "Also implemented is the percent table. Which shows the data as a percentage of the total (ie. univierse)" + "Also implemented is the percent table. Which shows the data as a percentage of the total (ie. universe)" ] }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 14, "id": "4a107b42", "metadata": {}, "outputs": [ @@ -2316,9 +2629,9 @@ "name": "stdout", "output_type": "stream", "text": [ - "2025-11-12 11:55:40,392 | INFO | morpc.census.api.DimensionTable.2025-11-12 11:55:40.247656.wide: Pivoting data into wide format.\n", - "2025-11-12 11:55:40,393 | INFO | morpc.census.api.DimensionTable.2025-11-12 11:55:40.247656.create_description_table: Creating description table from variable labels.\n", - "2025-11-12 11:55:40,504 | INFO | morpc.census.api.DimensionTable.2025-11-12 11:55:40.247656.percent: Creating percent table.\n" + "2026-01-06 15:55:57,665 | INFO | morpc.census.api.DimensionTable.2026-01-06 15:55:53.177584.wide: Pivoting data into wide format.\n", + "2026-01-06 15:55:57,667 | INFO | morpc.census.api.DimensionTable.2026-01-06 15:55:53.177584.create_description_table: Creating description table from variable labels.\n", + "2026-01-06 15:55:58,231 | INFO | morpc.census.api.DimensionTable.2026-01-06 15:55:53.177584.percent: Creating percent table.\n" ] }, { @@ -2348,28 +2661,109 @@ " \n", " \n", " \n", - " Total:\n", + " \n", + " GEO_ID\n", + " 1400000US39041010100\n", + " 1400000US39041010200\n", + " 1400000US39041010420\n", + " 1400000US39041010421\n", + " 1400000US39041010422\n", + " 1400000US39041010520\n", + " 1400000US39041010530\n", + " 1400000US39041011101\n", + " 1400000US39041011102\n", + " 1400000US39041011200\n", + " ...\n", + " 1400000US39159050303\n", + " 1400000US39159050304\n", + " 1400000US39159050401\n", + " 1400000US39159050402\n", + " 1400000US39159050501\n", + " 1400000US39159050502\n", + " 1400000US39159050601\n", + " 1400000US39159050602\n", + " 1400000US39159050701\n", + " 1400000US39159050702\n", " \n", " \n", " \n", " \n", - " 1\n", - " Male:\n", - " Female:\n", + " \n", + " \n", + " NAME\n", + " Census Tract 101; Delaware County; Ohio\n", + " Census Tract 102; Delaware County; Ohio\n", + " Census Tract 104.20; Delaware County; Ohio\n", + " Census Tract 104.21; Delaware County; Ohio\n", + " Census Tract 104.22; Delaware County; Ohio\n", + " Census Tract 105.20; Delaware County; Ohio\n", + " Census Tract 105.30; Delaware County; Ohio\n", + " Census Tract 111.01; Delaware County; Ohio\n", + " Census Tract 111.02; Delaware County; Ohio\n", + " Census Tract 112; Delaware County; Ohio\n", + " ...\n", + " Census Tract 503.03; Union County; Ohio\n", + " Census Tract 503.04; Union County; Ohio\n", + " Census Tract 504.01; Union County; Ohio\n", + " Census Tract 504.02; Union County; Ohio\n", + " Census Tract 505.01; Union County; Ohio\n", + " Census Tract 505.02; Union County; Ohio\n", + " Census Tract 506.01; Union County; Ohio\n", + " Census Tract 506.02; Union County; Ohio\n", + " Census Tract 507.01; Union County; Ohio\n", + " Census Tract 507.02; Union County; Ohio\n", " \n", " \n", " \n", " \n", - " 2\n", " \n", - " Divorced\n", " \n", - " Divorced\n", + " reference_period\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " ...\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", + " 2023\n", " \n", " \n", - " GEO_ID\n", - " NAME\n", - " reference_period\n", + " 0\n", + " 1\n", + " 2\n", + " 3\n", + " 4\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", " \n", @@ -2378,276 +2772,1719 @@ " \n", " \n", " \n", - " 1400000US39041010100\n", - " Census Tract 101; Delaware County; Ohio\n", - " 2023\n", - " 50.749465\n", - " 3.640257\n", - " 49.250535\n", - " 5.139186\n", + " Total:\n", + " Europe:\n", + " \n", + " \n", + " \n", + " 10.747664\n", + " 13.333333\n", + " NaN\n", + " 21.296296\n", + " 0.0\n", + " 3.921569\n", + " 12.280702\n", + " 0.0\n", + " 40.322581\n", + " 47.222222\n", + " ...\n", + " 9.964413\n", + " 14.035088\n", + " 5.555556\n", + " 0.0\n", + " 0.000000\n", + " 0.0\n", + " 4.997769\n", + " 3.436426\n", + " 0.000000\n", + " 8.333333\n", + " \n", + " \n", + " Northern Europe:\n", + " \n", + " \n", + " 0.000000\n", + " 13.333333\n", + " NaN\n", + " 11.111111\n", + " 0.0\n", + " 1.809955\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 12.500000\n", + " ...\n", + " 4.982206\n", + " 0.000000\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.0\n", + " 1.160196\n", + " 0.000000\n", + " 0.000000\n", + " 8.333333\n", + " \n", + " \n", + " Denmark\n", + " \n", + " 0.000000\n", + " 0.000000\n", + " NaN\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.000000\n", + " ...\n", + " 0.000000\n", + " 0.000000\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.000000\n", + " 0.000000\n", + " 0.000000\n", + " \n", + " \n", + " Ireland\n", + " \n", + " 0.000000\n", + " 0.000000\n", + " NaN\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.000000\n", + " ...\n", + " 0.000000\n", + " 0.000000\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.000000\n", + " 0.000000\n", + " 0.000000\n", + " \n", + " \n", + " Norway\n", + " \n", + " 0.000000\n", + " 0.000000\n", + " NaN\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.000000\n", + " ...\n", + " 0.000000\n", + " 0.000000\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.000000\n", + " 0.000000\n", + " 0.000000\n", + " \n", + " \n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " \n", + " \n", + " Americas:\n", + " Latin America:\n", + " South America:\n", + " Venezuela\n", + " 0.000000\n", + " 0.000000\n", + " NaN\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.000000\n", + " ...\n", + " 0.000000\n", + " 0.000000\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 9.621993\n", + " 0.000000\n", + " 0.000000\n", + " \n", + " \n", + " Other South America\n", + " 0.000000\n", + " 0.000000\n", + " NaN\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.000000\n", + " ...\n", + " 0.000000\n", + " 0.000000\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.000000\n", + " 0.000000\n", + " 0.000000\n", + " \n", + " \n", + " Northern America:\n", + " \n", + " \n", + " 7.009346\n", + " 0.000000\n", + " NaN\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 21.052632\n", + " 0.0\n", + " 0.000000\n", + " 0.000000\n", + " ...\n", + " 0.000000\n", + " 0.000000\n", + " 0.000000\n", + " 0.0\n", + " 35.582822\n", + " 0.0\n", + " 2.588130\n", + " 5.841924\n", + " 10.843373\n", + " 0.000000\n", + " \n", + " \n", + " Canada\n", + " \n", + " 7.009346\n", + " 0.000000\n", + " NaN\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 21.052632\n", + " 0.0\n", + " 0.000000\n", + " 0.000000\n", + " ...\n", + " 0.000000\n", + " 0.000000\n", + " 0.000000\n", + " 0.0\n", + " 35.582822\n", + " 0.0\n", + " 2.588130\n", + " 5.841924\n", + " 10.843373\n", + " 0.000000\n", + " \n", + " \n", + " Other Northern America\n", + " \n", + " 0.000000\n", + " 0.000000\n", + " NaN\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.000000\n", + " ...\n", + " 0.000000\n", + " 0.000000\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.0\n", + " 0.000000\n", + " 0.000000\n", + " 0.000000\n", + " 0.000000\n", + " \n", + " \n", + "\n", + "

173 rows × 583 columns

\n", + "" + ], + "text/plain": [ + "GEO_ID 1400000US39041010100 \\\n", + "NAME Census Tract 101; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 10.747664 \n", + " Northern Europe: 0.000000 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0.000000 \n", + " Other South America 0.000000 \n", + " Northern America: 7.009346 \n", + " Canada 7.009346 \n", + " Other Northern America 0.000000 \n", + "\n", + "GEO_ID 1400000US39041010200 \\\n", + "NAME Census Tract 102; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 13.333333 \n", + " Northern Europe: 13.333333 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0.000000 \n", + " Other South America 0.000000 \n", + " Northern America: 0.000000 \n", + " Canada 0.000000 \n", + " Other Northern America 0.000000 \n", + "\n", + "GEO_ID 1400000US39041010420 \\\n", + "NAME Census Tract 104.20; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + " Norway NaN \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela NaN \n", + " Other South America NaN \n", + " Northern America: NaN \n", + " Canada NaN \n", + " Other Northern America NaN \n", + "\n", + "GEO_ID 1400000US39041010421 \\\n", + "NAME Census Tract 104.21; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 21.296296 \n", + " Northern Europe: 11.111111 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0.000000 \n", + " Other South America 0.000000 \n", + " Northern America: 0.000000 \n", + " Canada 0.000000 \n", + " Other Northern America 0.000000 \n", + "\n", + "GEO_ID 1400000US39041010422 \\\n", + "NAME Census Tract 104.22; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 0.0 \n", + " Northern Europe: 0.0 \n", + " Denmark 0.0 \n", + " Ireland 0.0 \n", + " Norway 0.0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0.0 \n", + " Other South America 0.0 \n", + " Northern America: 0.0 \n", + " Canada 0.0 \n", + " Other Northern America 0.0 \n", + "\n", + "GEO_ID 1400000US39041010520 \\\n", + "NAME Census Tract 105.20; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 3.921569 \n", + " Northern Europe: 1.809955 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0.000000 \n", + " Other South America 0.000000 \n", + " Northern America: 0.000000 \n", + " Canada 0.000000 \n", + " Other Northern America 0.000000 \n", + "\n", + "GEO_ID 1400000US39041010530 \\\n", + "NAME Census Tract 105.30; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 12.280702 \n", + " Northern Europe: 0.000000 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0.000000 \n", + " Other South America 0.000000 \n", + " Northern America: 21.052632 \n", + " Canada 21.052632 \n", + " Other Northern America 0.000000 \n", + "\n", + "GEO_ID 1400000US39041011101 \\\n", + "NAME Census Tract 111.01; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 0.0 \n", + " Northern Europe: 0.0 \n", + " Denmark 0.0 \n", + " Ireland 0.0 \n", + " Norway 0.0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0.0 \n", + " Other South America 0.0 \n", + " Northern America: 0.0 \n", + " Canada 0.0 \n", + " Other Northern America 0.0 \n", + "\n", + "GEO_ID 1400000US39041011102 \\\n", + "NAME Census Tract 111.02; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 40.322581 \n", + " Northern Europe: 0.000000 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0.000000 \n", + " Other South America 0.000000 \n", + " Northern America: 0.000000 \n", + " Canada 0.000000 \n", + " Other Northern America 0.000000 \n", + "\n", + "GEO_ID 1400000US39041011200 \\\n", + "NAME Census Tract 112; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 47.222222 \n", + " Northern Europe: 12.500000 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0.000000 \n", + " Other South America 0.000000 \n", + " Northern America: 0.000000 \n", + " Canada 0.000000 \n", + " Other Northern America 0.000000 \n", + "\n", + "GEO_ID ... \\\n", + "NAME ... \n", + "reference_period ... \n", + "0 1 2 3 4 ... \n", + "Total: Europe: ... \n", + " Northern Europe: ... \n", + " Denmark ... \n", + " Ireland ... \n", + " Norway ... \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela ... \n", + " Other South America ... \n", + " Northern America: ... \n", + " Canada ... \n", + " Other Northern America ... \n", + "\n", + "GEO_ID 1400000US39159050303 \\\n", + "NAME Census Tract 503.03; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 9.964413 \n", + " Northern Europe: 4.982206 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0.000000 \n", + " Other South America 0.000000 \n", + " Northern America: 0.000000 \n", + " Canada 0.000000 \n", + " Other Northern America 0.000000 \n", + "\n", + "GEO_ID 1400000US39159050304 \\\n", + "NAME Census Tract 503.04; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 14.035088 \n", + " Northern Europe: 0.000000 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0.000000 \n", + " Other South America 0.000000 \n", + " Northern America: 0.000000 \n", + " Canada 0.000000 \n", + " Other Northern America 0.000000 \n", + "\n", + "GEO_ID 1400000US39159050401 \\\n", + "NAME Census Tract 504.01; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 5.555556 \n", + " Northern Europe: 0.000000 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0.000000 \n", + " Other South America 0.000000 \n", + " Northern America: 0.000000 \n", + " Canada 0.000000 \n", + " Other Northern America 0.000000 \n", + "\n", + "GEO_ID 1400000US39159050402 \\\n", + "NAME Census Tract 504.02; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 0.0 \n", + " Northern Europe: 0.0 \n", + " Denmark 0.0 \n", + " Ireland 0.0 \n", + " Norway 0.0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0.0 \n", + " Other South America 0.0 \n", + " Northern America: 0.0 \n", + " Canada 0.0 \n", + " Other Northern America 0.0 \n", + "\n", + "GEO_ID 1400000US39159050501 \\\n", + "NAME Census Tract 505.01; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 0.000000 \n", + " Northern Europe: 0.000000 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0.000000 \n", + " Other South America 0.000000 \n", + " Northern America: 35.582822 \n", + " Canada 35.582822 \n", + " Other Northern America 0.000000 \n", + "\n", + "GEO_ID 1400000US39159050502 \\\n", + "NAME Census Tract 505.02; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 0.0 \n", + " Northern Europe: 0.0 \n", + " Denmark 0.0 \n", + " Ireland 0.0 \n", + " Norway 0.0 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0.0 \n", + " Other South America 0.0 \n", + " Northern America: 0.0 \n", + " Canada 0.0 \n", + " Other Northern America 0.0 \n", + "\n", + "GEO_ID 1400000US39159050601 \\\n", + "NAME Census Tract 506.01; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 4.997769 \n", + " Northern Europe: 1.160196 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0.000000 \n", + " Other South America 0.000000 \n", + " Northern America: 2.588130 \n", + " Canada 2.588130 \n", + " Other Northern America 0.000000 \n", + "\n", + "GEO_ID 1400000US39159050602 \\\n", + "NAME Census Tract 506.02; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 3.436426 \n", + " Northern Europe: 0.000000 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 9.621993 \n", + " Other South America 0.000000 \n", + " Northern America: 5.841924 \n", + " Canada 5.841924 \n", + " Other Northern America 0.000000 \n", + "\n", + "GEO_ID 1400000US39159050701 \\\n", + "NAME Census Tract 507.01; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 0.000000 \n", + " Northern Europe: 0.000000 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0.000000 \n", + " Other South America 0.000000 \n", + " Northern America: 10.843373 \n", + " Canada 10.843373 \n", + " Other Northern America 0.000000 \n", + "\n", + "GEO_ID 1400000US39159050702 \n", + "NAME Census Tract 507.02; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 8.333333 \n", + " Northern Europe: 8.333333 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + " Americas: Latin America: South America: Venezuela 0.000000 \n", + " Other South America 0.000000 \n", + " Northern America: 0.000000 \n", + " Canada 0.000000 \n", + " Other Northern America 0.000000 \n", + "\n", + "[173 rows x 583 columns]" + ] + }, + "execution_count": 14, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "dim_table.percent()" + ] + }, + { + "cell_type": "markdown", + "id": "bbd8ec42", + "metadata": {}, + "source": [ + "### Timeseries of calls" + ] + }, + { + "cell_type": "markdown", + "id": "21bb7a35", + "metadata": {}, + "source": [ + "Dimension table takes any long format table that is formatted similar to the output of CensusAPI. \n", + "\n", + "This allows for easy implementation of timeseries data by concatenating two long form tables from different years." + ] + }, + { + "cell_type": "code", + "execution_count": 15, + "id": "48d77f98", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "2026-01-06 15:56:03,443 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2018-county-tract-region15-b12001.__init__: Initializing CENSUS_API_DATA object for census-acs-acs5-2018-county-tract-region15-b12001.\n", + "2026-01-06 15:56:03,444 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2018/acs/acs5/groups.json with parameters None.\n", + "2026-01-06 15:56:04,118 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2018-county-tract-region15-b12001.validate: Validating selected parameters\n", + "2026-01-06 15:56:04,119 | INFO | morpc.census.api.valid_survey_table: acs/acs5 is valid and implemented.\n", + "2026-01-06 15:56:04,120 | INFO | morpc.census.api.valid_vintage: 2018 is valid vintage for acs/acs5\n", + "2026-01-06 15:56:04,122 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2018/acs/acs5/groups.json with parameters None.\n", + "2026-01-06 15:56:04,729 | INFO | morpc.census.api.valid_group: Group B12001 valid group for 2018 acs/acs5.\n", + "2026-01-06 15:56:04,731 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2018/acs/acs5/groups/B12001.json with parameters None.\n", + "2026-01-06 15:56:05,022 | INFO | morpc.census.api.__init__: Building Request URL and Parameters.\n", + "2026-01-06 15:56:05,023 | INFO | morpc.census.api.get_query_url: Base URL for query is https://api.census.gov/data/2018/acs/acs5?\n", + "2026-01-06 15:56:05,024 | INFO | morpc.census.api.get_params: 'get' parameters for query are GEO_ID,NAME,group(B12001)\n", + "2026-01-06 15:56:05,025 | INFO | morpc.census.api.geo_params_from_scope_scale: Scale tract specified for scope region15.\n", + "2026-01-06 15:56:05,027 | INFO | morpc.census.api.geo_params_from_scope_scale: Scope region15 already has 'in' parameter. Converting to ucgid=pseudo() type predicate.\n", + "2026-01-06 15:56:05,028 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2023/geoinfo?get=GEO_ID with parameters {'in': 'state:39', 'for': 'county:041,045,049,089,097,129,159,083,101,117,047,073,091,127,141'}.\n", + "2026-01-06 15:56:05,570 | INFO | morpc.census.api.pseudos_from_scale_scope: Returning pseudos for 1400000 in ['0500000US39041', '0500000US39045', '0500000US39047', '0500000US39049', '0500000US39073', '0500000US39083', '0500000US39089', '0500000US39091', '0500000US39097', '0500000US39101', '0500000US39117', '0500000US39127', '0500000US39129', '0500000US39141', '0500000US39159']\n", + "2026-01-06 15:56:05,571 | INFO | morpc.census.api.get_api_request: api request as URL: https://api.census.gov/data/2018/acs/acs5? and PARAMETERS: {'get': 'GEO_ID,NAME,group(B12001)', 'ucgid': 'pseudo(0500000US39041$1400000,0500000US39045$1400000,0500000US39047$1400000,0500000US39049$1400000,0500000US39073$1400000,0500000US39083$1400000,0500000US39089$1400000,0500000US39091$1400000,0500000US39097$1400000,0500000US39101$1400000,0500000US39117$1400000,0500000US39127$1400000,0500000US39129$1400000,0500000US39141$1400000,0500000US39159$1400000)'}\n", + "2026-01-06 15:56:05,573 | INFO | morpc.census.api.__init__: Getting data from https://api.census.gov/data/2018/acs/acs5? with parameters {'get': 'GEO_ID,NAME,group(B12001)', 'ucgid': 'pseudo(0500000US39041$1400000,0500000US39045$1400000,0500000US39047$1400000,0500000US39049$1400000,0500000US39073$1400000,0500000US39083$1400000,0500000US39089$1400000,0500000US39091$1400000,0500000US39097$1400000,0500000US39101$1400000,0500000US39117$1400000,0500000US39127$1400000,0500000US39129$1400000,0500000US39141$1400000,0500000US39159$1400000)'}.\n", + "2026-01-06 15:56:05,574 | INFO | morpc.census.api.get: Found group B12001 parameter. Ignoring variable limits.\n", + "2026-01-06 15:56:05,575 | INFO | morpc.req.get_text_safely: Getting data from https://api.census.gov/data/2018/acs/acs5?get=GEO_ID,NAME,group(B12001)&ucgid=pseudo(0500000US39041$1400000,0500000US39045$1400000,0500000US39047$1400000,0500000US39049$1400000,0500000US39073$1400000,0500000US39083$1400000,0500000US39089$1400000,0500000US39091$1400000,0500000US39097$1400000,0500000US39101$1400000,0500000US39117$1400000,0500000US39127$1400000,0500000US39129$1400000,0500000US39141$1400000,0500000US39159$1400000) with parameters None.\n", + "2026-01-06 15:56:06,764 | INFO | morpc.census.api.melt: Melting data into long format.\n" + ] + } + ], + "source": [ + "b05006_2018 = CensusAPI('acs/acs5', 2018, 'B12001', 'region15', scale='tract')" + ] + }, + { + "cell_type": "code", + "execution_count": 22, + "id": "dc7ef5f3", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
GEO_IDNAMEreference_periodvariable_labelvariableestimatemoe
01400000US39041010100Census Tract 101, Delaware County, Ohio2018TotalB12001_0014929314
101400000US39041010100Census Tract 101, Delaware County, Ohio2018Total!!MaleB12001_0022393241
121400000US39041010100Census Tract 101, Delaware County, Ohio2018Total!!Male!!Never marriedB12001_0031293188
131400000US39041010100Census Tract 101, Delaware County, Ohio2018Total!!Male!!Now marriedB12001_004879115
171400000US39041010100Census Tract 101, Delaware County, Ohio2018Total!!Male!!Now married!!Married, spouse presentB12001_00580997
........................
94481400000US39159050700Census Tract 507, Union County, Ohio2018Total!!Female!!Now married!!Married, spouse ab...B12001_0157666
94501400000US39159050700Census Tract 507, Union County, Ohio2018Total!!Female!!Now married!!Married, spouse ab...B12001_0167266
94491400000US39159050700Census Tract 507, Union County, Ohio2018Total!!Female!!Now married!!Married, spouse ab...B12001_01746
94521400000US39159050700Census Tract 507, Union County, Ohio2018Total!!Female!!WidowedB12001_01823398
94451400000US39159050700Census Tract 507, Union County, Ohio2018Total!!Female!!DivorcedB12001_01913152
\n", + "

9462 rows × 7 columns

\n", + "
" + ], + "text/plain": [ + " GEO_ID NAME \\\n", + "0 1400000US39041010100 Census Tract 101, Delaware County, Ohio \n", + "10 1400000US39041010100 Census Tract 101, Delaware County, Ohio \n", + "12 1400000US39041010100 Census Tract 101, Delaware County, Ohio \n", + "13 1400000US39041010100 Census Tract 101, Delaware County, Ohio \n", + "17 1400000US39041010100 Census Tract 101, Delaware County, Ohio \n", + "... ... ... \n", + "9448 1400000US39159050700 Census Tract 507, Union County, Ohio \n", + "9450 1400000US39159050700 Census Tract 507, Union County, Ohio \n", + "9449 1400000US39159050700 Census Tract 507, Union County, Ohio \n", + "9452 1400000US39159050700 Census Tract 507, Union County, Ohio \n", + "9445 1400000US39159050700 Census Tract 507, Union County, Ohio \n", + "\n", + " reference_period variable_label \\\n", + "0 2018 Total \n", + "10 2018 Total!!Male \n", + "12 2018 Total!!Male!!Never married \n", + "13 2018 Total!!Male!!Now married \n", + "17 2018 Total!!Male!!Now married!!Married, spouse present \n", + "... ... ... \n", + "9448 2018 Total!!Female!!Now married!!Married, spouse ab... \n", + "9450 2018 Total!!Female!!Now married!!Married, spouse ab... \n", + "9449 2018 Total!!Female!!Now married!!Married, spouse ab... \n", + "9452 2018 Total!!Female!!Widowed \n", + "9445 2018 Total!!Female!!Divorced \n", + "\n", + " variable estimate moe \n", + "0 B12001_001 4929 314 \n", + "10 B12001_002 2393 241 \n", + "12 B12001_003 1293 188 \n", + "13 B12001_004 879 115 \n", + "17 B12001_005 809 97 \n", + "... ... ... ... \n", + "9448 B12001_015 76 66 \n", + "9450 B12001_016 72 66 \n", + "9449 B12001_017 4 6 \n", + "9452 B12001_018 233 98 \n", + "9445 B12001_019 131 52 \n", + "\n", + "[9462 rows x 7 columns]" + ] + }, + "execution_count": 22, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "b05006_2018.LONG" + ] + }, + { + "cell_type": "code", + "execution_count": 23, + "id": "2235b8d5", + "metadata": {}, + "outputs": [], + "source": [ + "import pandas as pd\n", + "\n", + "long = pd.concat([b05006_2023.LONG, b05006_2018.LONG])" + ] + }, + { + "cell_type": "code", + "execution_count": 24, + "id": "70eb8fc4", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "2026-01-06 15:57:52,916 | INFO | morpc.census.api.DimensionTable.2026-01-06 15:57:52.915989.__init__: Initializing DIMENSION_TABLE object.\n" + ] + } + ], + "source": [ + "dim_table = DimensionTable(long)" + ] + }, + { + "cell_type": "code", + "execution_count": 26, + "id": "a02080c4", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "2026-01-06 15:58:14,003 | INFO | morpc.census.api.DimensionTable.2026-01-06 15:57:52.915989.wide: Pivoting data into wide format.\n", + "2026-01-06 15:58:14,005 | INFO | morpc.census.api.DimensionTable.2026-01-06 15:57:52.915989.create_description_table: Creating description table from variable labels.\n" + ] + }, + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", " \n", " \n", " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", " \n", " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", " \n", " \n", "
GEO_ID1400000US390410101001400000US390410102001400000US390410104201400000US390410104211400000US39041010422...1400000US391590505001400000US391590505011400000US391590505021400000US391590506011400000US391590506021400000US391590507001400000US391590507011400000US39159050702
NAMECensus Tract 101, Delaware County, OhioCensus Tract 101; Delaware County; OhioCensus Tract 102, Delaware County, OhioCensus Tract 102; Delaware County; OhioCensus Tract 104.20, Delaware County, OhioCensus Tract 104.20; Delaware County; OhioCensus Tract 104.21, Delaware County, OhioCensus Tract 104.21; Delaware County; OhioCensus Tract 104.22, Delaware County, OhioCensus Tract 104.22; Delaware County; Ohio...Census Tract 505, Union County, OhioCensus Tract 505.01; Union County; OhioCensus Tract 505.02; Union County; OhioCensus Tract 506.01, Union County, OhioCensus Tract 506.01; Union County; OhioCensus Tract 506.02, Union County, OhioCensus Tract 506.02; Union County; OhioCensus Tract 507, Union County, OhioCensus Tract 507.01; Union County; OhioCensus Tract 507.02; Union County; Ohio
reference_period2018202320182023201820232018202320182023...2018202320232018202320182023201820232023
01234
Total:NaN214.0NaN150.0NaN0.0NaN108.0NaN40.0...NaN163.011.0NaN2241.0NaN291.0NaN83.024.0
1400000US39041010200Census Tract 102; Delaware County; Ohio202351.1728767.58919848.8271249.126749Europe:NaN23.0NaN20.0NaN0.0NaN23.0NaN0.0...NaN0.00.0NaN112.0NaN10.0NaN0.02.0
1400000US39041010420Census Tract 104.20; Delaware County; Ohio202350.7572665.89439249.2427348.677855Northern Europe:NaN0.0NaN20.0NaN0.0NaN12.0NaN0.0...NaN0.00.0NaN26.0NaN0.0NaN0.02.0
1400000US39041010421Census Tract 104.21; Delaware County; Ohio202347.4107143.61607152.5892866.473214DenmarkNaN0.0NaN0.0NaN0.0NaN0.0NaN0.0...NaN0.00.0NaN0.0NaN0.0NaN0.00.0
1400000US39041010422Census Tract 104.22; Delaware County; Ohio202348.6068110.90815351.3931895.985552IrelandNaN0.0NaN0.0NaN0.0NaN0.0NaN0.0...NaN0.00.0NaN0.0NaN0.0NaN0.00.0
..............................................................................
1400000US39159050502Census Tract 505.02; Union County; Ohio202347.3711086.73813252.6288929.137315TotalFemaleNow marriedMarried, spouse absent139.0NaN27.0NaN9.0NaN54.0NaN172.0NaN...118.0NaNNaN5.0NaN48.0NaN76.0NaNNaN
1400000US39159050601Census Tract 506.01; Union County; Ohio202350.8798692.20553749.1201312.311122Separated99.0NaN10.0NaN9.0NaN25.0NaN29.0NaN...80.0NaNNaN0.0NaN39.0NaN72.0NaNNaN
1400000US39159050602Census Tract 506.02; Union County; Ohio202354.5977014.26929445.4022995.145047Other40.0NaN17.0NaN0.0NaN29.0NaN143.0NaN...38.0NaNNaN5.0NaN9.0NaN4.0NaNNaN
1400000US39159050701Census Tract 507.01; Union County; Ohio202347.7723482.01207252.2276522.069560Widowed105.0NaN121.0NaN112.0NaN351.0NaN123.0NaN...282.0NaNNaN137.0NaN61.0NaN233.0NaNNaN
1400000US39159050702Census Tract 507.02; Union County; Ohio202347.9951882.00481252.0048125.092221Divorced303.0NaN366.0NaN263.0NaN178.0NaN382.0NaN...467.0NaNNaN92.0NaN204.0NaN131.0NaNNaN
\n", - "

583 rows × 4 columns

\n", + "

193 rows × 1081 columns

\n", "
" ], "text/plain": [ - "0 Total: \\\n", - "1 Male: \n", - "2 \n", - "GEO_ID NAME reference_period \n", - "1400000US39041010100 Census Tract 101; Delaware County; Ohio 2023 50.749465 \n", - "1400000US39041010200 Census Tract 102; Delaware County; Ohio 2023 51.172876 \n", - "1400000US39041010420 Census Tract 104.20; Delaware County; Ohio 2023 50.757266 \n", - "1400000US39041010421 Census Tract 104.21; Delaware County; Ohio 2023 47.410714 \n", - "1400000US39041010422 Census Tract 104.22; Delaware County; Ohio 2023 48.606811 \n", - "... ... \n", - "1400000US39159050502 Census Tract 505.02; Union County; Ohio 2023 47.371108 \n", - "1400000US39159050601 Census Tract 506.01; Union County; Ohio 2023 50.879869 \n", - "1400000US39159050602 Census Tract 506.02; Union County; Ohio 2023 54.597701 \n", - "1400000US39159050701 Census Tract 507.01; Union County; Ohio 2023 47.772348 \n", - "1400000US39159050702 Census Tract 507.02; Union County; Ohio 2023 47.995188 \n", - "\n", - "0 \\\n", - "1 \n", - "2 Divorced \n", - "GEO_ID NAME reference_period \n", - "1400000US39041010100 Census Tract 101; Delaware County; Ohio 2023 3.640257 \n", - "1400000US39041010200 Census Tract 102; Delaware County; Ohio 2023 7.589198 \n", - "1400000US39041010420 Census Tract 104.20; Delaware County; Ohio 2023 5.894392 \n", - "1400000US39041010421 Census Tract 104.21; Delaware County; Ohio 2023 3.616071 \n", - "1400000US39041010422 Census Tract 104.22; Delaware County; Ohio 2023 0.908153 \n", - "... ... \n", - "1400000US39159050502 Census Tract 505.02; Union County; Ohio 2023 6.738132 \n", - "1400000US39159050601 Census Tract 506.01; Union County; Ohio 2023 2.205537 \n", - "1400000US39159050602 Census Tract 506.02; Union County; Ohio 2023 4.269294 \n", - "1400000US39159050701 Census Tract 507.01; Union County; Ohio 2023 2.012072 \n", - "1400000US39159050702 Census Tract 507.02; Union County; Ohio 2023 2.004812 \n", - "\n", - "0 \\\n", - "1 Female: \n", - "2 \n", - "GEO_ID NAME reference_period \n", - "1400000US39041010100 Census Tract 101; Delaware County; Ohio 2023 49.250535 \n", - "1400000US39041010200 Census Tract 102; Delaware County; Ohio 2023 48.827124 \n", - "1400000US39041010420 Census Tract 104.20; Delaware County; Ohio 2023 49.242734 \n", - "1400000US39041010421 Census Tract 104.21; Delaware County; Ohio 2023 52.589286 \n", - "1400000US39041010422 Census Tract 104.22; Delaware County; Ohio 2023 51.393189 \n", - "... ... \n", - "1400000US39159050502 Census Tract 505.02; Union County; Ohio 2023 52.628892 \n", - "1400000US39159050601 Census Tract 506.01; Union County; Ohio 2023 49.120131 \n", - "1400000US39159050602 Census Tract 506.02; Union County; Ohio 2023 45.402299 \n", - "1400000US39159050701 Census Tract 507.01; Union County; Ohio 2023 52.227652 \n", - "1400000US39159050702 Census Tract 507.02; Union County; Ohio 2023 52.004812 \n", - "\n", - "0 \n", - "1 \n", - "2 Divorced \n", - "GEO_ID NAME reference_period \n", - "1400000US39041010100 Census Tract 101; Delaware County; Ohio 2023 5.139186 \n", - "1400000US39041010200 Census Tract 102; Delaware County; Ohio 2023 9.126749 \n", - "1400000US39041010420 Census Tract 104.20; Delaware County; Ohio 2023 8.677855 \n", - "1400000US39041010421 Census Tract 104.21; Delaware County; Ohio 2023 6.473214 \n", - "1400000US39041010422 Census Tract 104.22; Delaware County; Ohio 2023 5.985552 \n", - "... ... \n", - "1400000US39159050502 Census Tract 505.02; Union County; Ohio 2023 9.137315 \n", - "1400000US39159050601 Census Tract 506.01; Union County; Ohio 2023 2.311122 \n", - "1400000US39159050602 Census Tract 506.02; Union County; Ohio 2023 5.145047 \n", - "1400000US39159050701 Census Tract 507.01; Union County; Ohio 2023 2.069560 \n", - "1400000US39159050702 Census Tract 507.02; Union County; Ohio 2023 5.092221 \n", - "\n", - "[583 rows x 4 columns]" + "GEO_ID 1400000US39041010100 \\\n", + "NAME Census Tract 101, Delaware County, Ohio \n", + "reference_period 2018 \n", + "0 1 2 3 4 \n", + "Total: NaN \n", + " Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + "... ... \n", + "Total Female Now married Married, spouse absent 139.0 \n", + " Separated 99.0 \n", + " Other 40.0 \n", + " Widowed 105.0 \n", + " Divorced 303.0 \n", + "\n", + "GEO_ID \\\n", + "NAME Census Tract 101; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 214.0 \n", + " Europe: 23.0 \n", + " Northern Europe: 0.0 \n", + " Denmark 0.0 \n", + " Ireland 0.0 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39041010200 \\\n", + "NAME Census Tract 102, Delaware County, Ohio \n", + "reference_period 2018 \n", + "0 1 2 3 4 \n", + "Total: NaN \n", + " Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + "... ... \n", + "Total Female Now married Married, spouse absent 27.0 \n", + " Separated 10.0 \n", + " Other 17.0 \n", + " Widowed 121.0 \n", + " Divorced 366.0 \n", + "\n", + "GEO_ID \\\n", + "NAME Census Tract 102; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 150.0 \n", + " Europe: 20.0 \n", + " Northern Europe: 20.0 \n", + " Denmark 0.0 \n", + " Ireland 0.0 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39041010420 \\\n", + "NAME Census Tract 104.20, Delaware County, Ohio \n", + "reference_period 2018 \n", + "0 1 2 3 4 \n", + "Total: NaN \n", + " Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + "... ... \n", + "Total Female Now married Married, spouse absent 9.0 \n", + " Separated 9.0 \n", + " Other 0.0 \n", + " Widowed 112.0 \n", + " Divorced 263.0 \n", + "\n", + "GEO_ID \\\n", + "NAME Census Tract 104.20; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 0.0 \n", + " Europe: 0.0 \n", + " Northern Europe: 0.0 \n", + " Denmark 0.0 \n", + " Ireland 0.0 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39041010421 \\\n", + "NAME Census Tract 104.21, Delaware County, Ohio \n", + "reference_period 2018 \n", + "0 1 2 3 4 \n", + "Total: NaN \n", + " Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + "... ... \n", + "Total Female Now married Married, spouse absent 54.0 \n", + " Separated 25.0 \n", + " Other 29.0 \n", + " Widowed 351.0 \n", + " Divorced 178.0 \n", + "\n", + "GEO_ID \\\n", + "NAME Census Tract 104.21; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 108.0 \n", + " Europe: 23.0 \n", + " Northern Europe: 12.0 \n", + " Denmark 0.0 \n", + " Ireland 0.0 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39041010422 \\\n", + "NAME Census Tract 104.22, Delaware County, Ohio \n", + "reference_period 2018 \n", + "0 1 2 3 4 \n", + "Total: NaN \n", + " Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + "... ... \n", + "Total Female Now married Married, spouse absent 172.0 \n", + " Separated 29.0 \n", + " Other 143.0 \n", + " Widowed 123.0 \n", + " Divorced 382.0 \n", + "\n", + "GEO_ID \\\n", + "NAME Census Tract 104.22; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 40.0 \n", + " Europe: 0.0 \n", + " Northern Europe: 0.0 \n", + " Denmark 0.0 \n", + " Ireland 0.0 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID ... \\\n", + "NAME ... \n", + "reference_period ... \n", + "0 1 2 3 4 ... \n", + "Total: ... \n", + " Europe: ... \n", + " Northern Europe: ... \n", + " Denmark ... \n", + " Ireland ... \n", + "... ... \n", + "Total Female Now married Married, spouse absent ... \n", + " Separated ... \n", + " Other ... \n", + " Widowed ... \n", + " Divorced ... \n", + "\n", + "GEO_ID 1400000US39159050500 \\\n", + "NAME Census Tract 505, Union County, Ohio \n", + "reference_period 2018 \n", + "0 1 2 3 4 \n", + "Total: NaN \n", + " Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + "... ... \n", + "Total Female Now married Married, spouse absent 118.0 \n", + " Separated 80.0 \n", + " Other 38.0 \n", + " Widowed 282.0 \n", + " Divorced 467.0 \n", + "\n", + "GEO_ID 1400000US39159050501 \\\n", + "NAME Census Tract 505.01; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 163.0 \n", + " Europe: 0.0 \n", + " Northern Europe: 0.0 \n", + " Denmark 0.0 \n", + " Ireland 0.0 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39159050502 \\\n", + "NAME Census Tract 505.02; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 11.0 \n", + " Europe: 0.0 \n", + " Northern Europe: 0.0 \n", + " Denmark 0.0 \n", + " Ireland 0.0 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39159050601 \\\n", + "NAME Census Tract 506.01, Union County, Ohio \n", + "reference_period 2018 \n", + "0 1 2 3 4 \n", + "Total: NaN \n", + " Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + "... ... \n", + "Total Female Now married Married, spouse absent 5.0 \n", + " Separated 0.0 \n", + " Other 5.0 \n", + " Widowed 137.0 \n", + " Divorced 92.0 \n", + "\n", + "GEO_ID \\\n", + "NAME Census Tract 506.01; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 2241.0 \n", + " Europe: 112.0 \n", + " Northern Europe: 26.0 \n", + " Denmark 0.0 \n", + " Ireland 0.0 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39159050602 \\\n", + "NAME Census Tract 506.02, Union County, Ohio \n", + "reference_period 2018 \n", + "0 1 2 3 4 \n", + "Total: NaN \n", + " Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + "... ... \n", + "Total Female Now married Married, spouse absent 48.0 \n", + " Separated 39.0 \n", + " Other 9.0 \n", + " Widowed 61.0 \n", + " Divorced 204.0 \n", + "\n", + "GEO_ID \\\n", + "NAME Census Tract 506.02; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 291.0 \n", + " Europe: 10.0 \n", + " Northern Europe: 0.0 \n", + " Denmark 0.0 \n", + " Ireland 0.0 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39159050700 \\\n", + "NAME Census Tract 507, Union County, Ohio \n", + "reference_period 2018 \n", + "0 1 2 3 4 \n", + "Total: NaN \n", + " Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + "... ... \n", + "Total Female Now married Married, spouse absent 76.0 \n", + " Separated 72.0 \n", + " Other 4.0 \n", + " Widowed 233.0 \n", + " Divorced 131.0 \n", + "\n", + "GEO_ID 1400000US39159050701 \\\n", + "NAME Census Tract 507.01; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 83.0 \n", + " Europe: 0.0 \n", + " Northern Europe: 0.0 \n", + " Denmark 0.0 \n", + " Ireland 0.0 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39159050702 \n", + "NAME Census Tract 507.02; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: 24.0 \n", + " Europe: 2.0 \n", + " Northern Europe: 2.0 \n", + " Denmark 0.0 \n", + " Ireland 0.0 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "[193 rows x 1081 columns]" ] }, - "execution_count": 16, + "execution_count": 26, "metadata": {}, "output_type": "execute_result" } ], "source": [ - "dim_table.percent().T" - ] - }, - { - "cell_type": "markdown", - "id": "bbd8ec42", - "metadata": {}, - "source": [ - "### Timeseries of calls" - ] - }, - { - "cell_type": "markdown", - "id": "21bb7a35", - "metadata": {}, - "source": [ - "Dimension table takes any long format table that is formatted similar to the output of CensusAPI. \n", - "\n", - "This allows for easy implementation of timeseries data by concatenating two long form tables from different years." - ] - }, - { - "cell_type": "code", - "execution_count": 17, - "id": "48d77f98", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "2025-11-12 11:55:40,528 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2018-tract-region15-b12001.__init__: Initializing CENSUS_API_DATA object for census-acs-acs5-2018-tract-region15-b12001.\n", - "2025-11-12 11:55:40,529 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2018/acs/acs5/groups.json with parameters None.\n", - "2025-11-12 11:55:40,835 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2018-tract-region15-b12001.validate: Validating selected parameters\n", - "2025-11-12 11:55:40,836 | INFO | morpc.census.api.valid_survey_table: acs/acs5 is valid and implemented.\n", - "2025-11-12 11:55:40,837 | INFO | morpc.census.api.valid_vintage: 2018 is valid vintage for acs/acs5\n", - "2025-11-12 11:55:40,838 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2018/acs/acs5/groups.json with parameters None.\n", - "2025-11-12 11:55:41,165 | INFO | morpc.census.api.valid_group: Group B12001 valid group for 2018 acs/acs5.\n", - "2025-11-12 11:55:41,167 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2018/acs/acs5/groups/B12001.json with parameters None.\n", - "2025-11-12 11:55:41,413 | INFO | morpc.census.api.__init__: Building Request URL and Parameters.\n", - "2025-11-12 11:55:41,414 | INFO | morpc.census.api.get_query_url: Base URL for query is https://api.census.gov/data/2018/acs/acs5?\n", - "2025-11-12 11:55:41,415 | INFO | morpc.census.api.get_params: 'get' parameters for query are GEO_ID,NAME,B12001_001E,B12001_002E,B12001_010E,B12001_011E,B12001_019E\n", - "2025-11-12 11:55:41,416 | INFO | morpc.census.api.geo_params_from_scope_scale: Scale tract specified for scope region15.\n", - "2025-11-12 11:55:41,417 | INFO | morpc.census.api.geo_params_from_scope_scale: Scope region15 already has 'in' parameter. Converting to ucgid=pseudo() type predicate.\n", - "2025-11-12 11:55:41,419 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2023/geoinfo?get=GEO_ID with parameters {'in': 'state:39', 'for': 'county:041,045,049,089,097,129,159,083,101,117,047,073,091,127,141'}.\n", - "2025-11-12 11:55:41,975 | INFO | morpc.census.api.pseudos_from_scale_scope: Returning pseudos for 1400000 in ['0500000US39041', '0500000US39045', '0500000US39047', '0500000US39049', '0500000US39073', '0500000US39083', '0500000US39089', '0500000US39091', '0500000US39097', '0500000US39101', '0500000US39117', '0500000US39127', '0500000US39129', '0500000US39141', '0500000US39159']\n", - "2025-11-12 11:55:41,976 | INFO | morpc.census.api.get_api_request: api request as URL: https://api.census.gov/data/2018/acs/acs5? and PARAMETERS: {'get': 'GEO_ID,NAME,B12001_001E,B12001_002E,B12001_010E,B12001_011E,B12001_019E', 'ucgid': 'pseudo(0500000US39041$1400000,0500000US39045$1400000,0500000US39047$1400000,0500000US39049$1400000,0500000US39073$1400000,0500000US39083$1400000,0500000US39089$1400000,0500000US39091$1400000,0500000US39097$1400000,0500000US39101$1400000,0500000US39117$1400000,0500000US39127$1400000,0500000US39129$1400000,0500000US39141$1400000,0500000US39159$1400000)'}\n", - "2025-11-12 11:55:41,977 | INFO | morpc.census.api.__init__: Getting data from https://api.census.gov/data/2018/acs/acs5? with parameters {'get': 'GEO_ID,NAME,B12001_001E,B12001_002E,B12001_010E,B12001_011E,B12001_019E', 'ucgid': 'pseudo(0500000US39041$1400000,0500000US39045$1400000,0500000US39047$1400000,0500000US39049$1400000,0500000US39073$1400000,0500000US39083$1400000,0500000US39089$1400000,0500000US39091$1400000,0500000US39097$1400000,0500000US39101$1400000,0500000US39117$1400000,0500000US39127$1400000,0500000US39129$1400000,0500000US39141$1400000,0500000US39159$1400000)'}.\n", - "2025-11-12 11:55:41,978 | INFO | morpc.census.api.get: Total variables requested: 7\n", - "2025-11-12 11:55:41,979 | INFO | morpc.census.api.get: Starting request #1. 7 variables remain.\n", - "2025-11-12 11:55:41,981 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2018/acs/acs5? with parameters {'get': 'GEO_ID,NAME,B12001_001E,B12001_002E,B12001_010E,B12001_011E,B12001_019E', 'ucgid': 'pseudo(0500000US39041$1400000,0500000US39045$1400000,0500000US39047$1400000,0500000US39049$1400000,0500000US39073$1400000,0500000US39083$1400000,0500000US39089$1400000,0500000US39091$1400000,0500000US39097$1400000,0500000US39101$1400000,0500000US39117$1400000,0500000US39127$1400000,0500000US39129$1400000,0500000US39141$1400000,0500000US39159$1400000)'}.\n", - "2025-11-12 11:55:42,556 | INFO | morpc.req.get_json_safely: Getting data from https://api.census.gov/data/2018/acs/acs5/groups/B12001.json with parameters None.\n", - "2025-11-12 11:55:42,804 | INFO | morpc.census.api.melt: Melting data into long format.\n" - ] - } - ], - "source": [ - "b12001_2018 = CensusAPI('acs/acs5', 2018, 'B12001', 'region15', scale='tract', variables=variables)" + "dim_table.wide()" ] }, { "cell_type": "code", "execution_count": 18, - "id": "2235b8d5", - "metadata": {}, - "outputs": [], - "source": [ - "import pandas as pd\n", - "\n", - "long = pd.concat([b12001_2023.LONG, b12001_2018.LONG])" - ] - }, - { - "cell_type": "code", - "execution_count": 19, - "id": "70eb8fc4", - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "2025-11-12 11:55:42,872 | INFO | morpc.census.api.DimensionTable.2025-11-12 11:55:42.872857.__init__: Initializing DIMENSION_TABLE object.\n" - ] - } - ], - "source": [ - "dim_table = DimensionTable(long)" - ] - }, - { - "cell_type": "code", - "execution_count": 20, "id": "37f5d1fc", "metadata": {}, "outputs": [ @@ -2655,9 +4492,9 @@ "name": "stdout", "output_type": "stream", "text": [ - "2025-11-12 11:55:42,887 | INFO | morpc.census.api.DimensionTable.2025-11-12 11:55:42.872857.wide: Pivoting data into wide format.\n", - "2025-11-12 11:55:42,889 | INFO | morpc.census.api.DimensionTable.2025-11-12 11:55:42.872857.create_description_table: Creating description table from variable labels.\n", - "2025-11-12 11:55:43,275 | INFO | morpc.census.api.DimensionTable.2025-11-12 11:55:42.872857.percent: Creating percent table.\n" + "2026-01-06 15:56:11,989 | INFO | morpc.census.api.DimensionTable.2026-01-06 15:56:10.596960.wide: Pivoting data into wide format.\n", + "2026-01-06 15:56:11,991 | INFO | morpc.census.api.DimensionTable.2026-01-06 15:56:10.596960.create_description_table: Creating description table from variable labels.\n", + "2026-01-06 15:56:12,716 | INFO | morpc.census.api.DimensionTable.2026-01-06 15:56:10.596960.percent: Creating percent table.\n" ] } ], @@ -2667,7 +4504,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": 19, "id": "609d8f71", "metadata": {}, "outputs": [ @@ -2697,6 +4534,8 @@ " \n", " \n", " \n", + " \n", + " \n", " GEO_ID\n", " 1400000US39041010100\n", " 1400000US39041010200\n", @@ -2716,6 +4555,8 @@ " \n", " \n", " \n", + " \n", + " \n", " NAME\n", " Census Tract 101, Delaware County, Ohio\n", " Census Tract 101; Delaware County; Ohio\n", @@ -2742,6 +4583,8 @@ " \n", " \n", " \n", + " \n", + " \n", " reference_period\n", " 2018\n", " 2023\n", @@ -2769,6 +4612,8 @@ " 0\n", " 1\n", " 2\n", + " 3\n", + " 4\n", " \n", " \n", " \n", @@ -2794,294 +4639,636 @@ " \n", " \n", " \n", - " Total\n", - " Male\n", - " \n", - " 48.549402\n", - " 50.749465\n", - " 49.940968\n", - " 51.172876\n", - " 46.877828\n", - " 50.757266\n", - " 44.323619\n", - " 47.410714\n", - " 46.311919\n", - " 48.606811\n", - " ...\n", - " 44.049248\n", - " 48.686063\n", - " 47.371108\n", - " 49.366774\n", - " 50.879869\n", - " 57.115118\n", - " 54.597701\n", - " 52.057714\n", - " 47.772348\n", - " 47.995188\n", + " Total:\n", + " Europe:\n", + " \n", + " \n", + " \n", + " NaN\n", + " 10.747664\n", + " NaN\n", + " 13.333333\n", + " NaN\n", + " NaN\n", + " NaN\n", + " 21.296296\n", + " NaN\n", + " 0.0\n", + " ...\n", + " NaN\n", + " 0.0\n", + " 0.0\n", + " NaN\n", + " 4.997769\n", + " NaN\n", + " 3.436426\n", + " NaN\n", + " 0.0\n", + " 8.333333\n", " \n", " \n", - " Divorced\n", - " 3.286671\n", - " 3.640257\n", - " 5.643447\n", - " 7.589198\n", - " 8.190045\n", - " 5.894392\n", - " 4.915181\n", - " 3.616071\n", - " 4.347826\n", - " 0.908153\n", - " ...\n", - " 6.611947\n", - " 5.959643\n", - " 6.738132\n", - " 3.625528\n", - " 2.205537\n", - " 6.629681\n", - " 4.269294\n", - " 3.164453\n", - " 2.012072\n", - " 2.004812\n", - " \n", - " \n", - " Female\n", - " \n", - " 51.450598\n", - " 49.250535\n", - " 50.059032\n", - " 48.827124\n", - " 53.122172\n", - " 49.242734\n", - " 55.676381\n", - " 52.589286\n", - " 53.688081\n", - " 51.393189\n", - " ...\n", - " 55.950752\n", - " 51.313937\n", - " 52.628892\n", - " 50.633226\n", - " 49.120131\n", - " 42.884882\n", - " 45.402299\n", - " 47.942286\n", - " 52.227652\n", - " 52.004812\n", + " Northern Europe:\n", + " \n", + " \n", + " NaN\n", + " 0.000000\n", + " NaN\n", + " 13.333333\n", + " NaN\n", + " NaN\n", + " NaN\n", + " 11.111111\n", + " NaN\n", + " 0.0\n", + " ...\n", + " NaN\n", + " 0.0\n", + " 0.0\n", + " NaN\n", + " 1.160196\n", + " NaN\n", + " 0.000000\n", + " NaN\n", + " 0.0\n", + " 8.333333\n", + " \n", + " \n", + " Denmark\n", + " \n", + " NaN\n", + " 0.000000\n", + " NaN\n", + " 0.000000\n", + " NaN\n", + " NaN\n", + " NaN\n", + " 0.000000\n", + " NaN\n", + " 0.0\n", + " ...\n", + " NaN\n", + " 0.0\n", + " 0.0\n", + " NaN\n", + " 0.000000\n", + " NaN\n", + " 0.000000\n", + " NaN\n", + " 0.0\n", + " 0.000000\n", + " \n", + " \n", + " Ireland\n", + " \n", + " NaN\n", + " 0.000000\n", + " NaN\n", + " 0.000000\n", + " NaN\n", + " NaN\n", + " NaN\n", + " 0.000000\n", + " NaN\n", + " 0.0\n", + " ...\n", + " NaN\n", + " 0.0\n", + " 0.0\n", + " NaN\n", + " 0.000000\n", + " NaN\n", + " 0.000000\n", + " NaN\n", + " 0.0\n", + " 0.000000\n", + " \n", + " \n", + " Norway\n", + " \n", + " NaN\n", + " 0.000000\n", + " NaN\n", + " 0.000000\n", + " NaN\n", + " NaN\n", + " NaN\n", + " 0.000000\n", + " NaN\n", + " 0.0\n", + " ...\n", + " NaN\n", + " 0.0\n", + " 0.0\n", + " NaN\n", + " 0.000000\n", + " NaN\n", + " 0.000000\n", + " NaN\n", + " 0.0\n", + " 0.000000\n", + " \n", + " \n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " \n", + " \n", + " Total\n", + " Female\n", + " Now married\n", + " Married, spouse absent\n", + " \n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " ...\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " \n", + " \n", + " Separated\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " ...\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " \n", + " \n", + " Other\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " ...\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " \n", + " \n", + " Widowed\n", + " \n", + " \n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " ...\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", " \n", " \n", " Divorced\n", - " 6.147292\n", - " 5.139186\n", - " 8.642267\n", - " 9.126749\n", - " 11.900452\n", - " 8.677855\n", - " 7.742497\n", - " 6.473214\n", - " 8.263033\n", - " 5.985552\n", - " ...\n", - " 10.647515\n", - " 7.508212\n", - " 9.137315\n", - " 2.284579\n", - " 2.311122\n", - " 5.658807\n", - " 5.145047\n", - " 2.147893\n", - " 2.069560\n", - " 5.092221\n", + " \n", + " \n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " ...\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", + " NaN\n", " \n", " \n", "\n", - "

4 rows × 1081 columns

\n", + "

192 rows × 1081 columns

\n", "" ], "text/plain": [ - "GEO_ID 1400000US39041010100 \\\n", - "NAME Census Tract 101, Delaware County, Ohio \n", - "reference_period 2018 \n", - "0 1 2 \n", - "Total Male 48.549402 \n", - " Divorced 3.286671 \n", - " Female 51.450598 \n", - " Divorced 6.147292 \n", - "\n", - "GEO_ID \\\n", - "NAME Census Tract 101; Delaware County; Ohio \n", - "reference_period 2023 \n", - "0 1 2 \n", - "Total Male 50.749465 \n", - " Divorced 3.640257 \n", - " Female 49.250535 \n", - " Divorced 5.139186 \n", - "\n", - "GEO_ID 1400000US39041010200 \\\n", - "NAME Census Tract 102, Delaware County, Ohio \n", - "reference_period 2018 \n", - "0 1 2 \n", - "Total Male 49.940968 \n", - " Divorced 5.643447 \n", - " Female 50.059032 \n", - " Divorced 8.642267 \n", - "\n", - "GEO_ID \\\n", - "NAME Census Tract 102; Delaware County; Ohio \n", - "reference_period 2023 \n", - "0 1 2 \n", - "Total Male 51.172876 \n", - " Divorced 7.589198 \n", - " Female 48.827124 \n", - " Divorced 9.126749 \n", - "\n", - "GEO_ID 1400000US39041010420 \\\n", - "NAME Census Tract 104.20, Delaware County, Ohio \n", - "reference_period 2018 \n", - "0 1 2 \n", - "Total Male 46.877828 \n", - " Divorced 8.190045 \n", - " Female 53.122172 \n", - " Divorced 11.900452 \n", - "\n", - "GEO_ID \\\n", - "NAME Census Tract 104.20; Delaware County; Ohio \n", - "reference_period 2023 \n", - "0 1 2 \n", - "Total Male 50.757266 \n", - " Divorced 5.894392 \n", - " Female 49.242734 \n", - " Divorced 8.677855 \n", - "\n", - "GEO_ID 1400000US39041010421 \\\n", - "NAME Census Tract 104.21, Delaware County, Ohio \n", - "reference_period 2018 \n", - "0 1 2 \n", - "Total Male 44.323619 \n", - " Divorced 4.915181 \n", - " Female 55.676381 \n", - " Divorced 7.742497 \n", - "\n", - "GEO_ID \\\n", - "NAME Census Tract 104.21; Delaware County; Ohio \n", - "reference_period 2023 \n", - "0 1 2 \n", - "Total Male 47.410714 \n", - " Divorced 3.616071 \n", - " Female 52.589286 \n", - " Divorced 6.473214 \n", - "\n", - "GEO_ID 1400000US39041010422 \\\n", - "NAME Census Tract 104.22, Delaware County, Ohio \n", - "reference_period 2018 \n", - "0 1 2 \n", - "Total Male 46.311919 \n", - " Divorced 4.347826 \n", - " Female 53.688081 \n", - " Divorced 8.263033 \n", + "GEO_ID 1400000US39041010100 \\\n", + "NAME Census Tract 101, Delaware County, Ohio \n", + "reference_period 2018 \n", + "0 1 2 3 4 \n", + "Total: Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + " Norway NaN \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID \\\n", + "NAME Census Tract 101; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 10.747664 \n", + " Northern Europe: 0.000000 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39041010200 \\\n", + "NAME Census Tract 102, Delaware County, Ohio \n", + "reference_period 2018 \n", + "0 1 2 3 4 \n", + "Total: Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + " Norway NaN \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID \\\n", + "NAME Census Tract 102; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 13.333333 \n", + " Northern Europe: 13.333333 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39041010420 \\\n", + "NAME Census Tract 104.20, Delaware County, Ohio \n", + "reference_period 2018 \n", + "0 1 2 3 4 \n", + "Total: Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + " Norway NaN \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID \\\n", + "NAME Census Tract 104.20; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + " Norway NaN \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39041010421 \\\n", + "NAME Census Tract 104.21, Delaware County, Ohio \n", + "reference_period 2018 \n", + "0 1 2 3 4 \n", + "Total: Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + " Norway NaN \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID \\\n", + "NAME Census Tract 104.21; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 21.296296 \n", + " Northern Europe: 11.111111 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39041010422 \\\n", + "NAME Census Tract 104.22, Delaware County, Ohio \n", + "reference_period 2018 \n", + "0 1 2 3 4 \n", + "Total: Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + " Norway NaN \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID \\\n", + "NAME Census Tract 104.22; Delaware County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 0.0 \n", + " Northern Europe: 0.0 \n", + " Denmark 0.0 \n", + " Ireland 0.0 \n", + " Norway 0.0 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", "\n", "GEO_ID ... \\\n", - "NAME Census Tract 104.22; Delaware County; Ohio ... \n", - "reference_period 2023 ... \n", - "0 1 2 ... \n", - "Total Male 48.606811 ... \n", - " Divorced 0.908153 ... \n", - " Female 51.393189 ... \n", - " Divorced 5.985552 ... \n", - "\n", - "GEO_ID 1400000US39159050500 \\\n", - "NAME Census Tract 505, Union County, Ohio \n", - "reference_period 2018 \n", - "0 1 2 \n", - "Total Male 44.049248 \n", - " Divorced 6.611947 \n", - " Female 55.950752 \n", - " Divorced 10.647515 \n", - "\n", - "GEO_ID 1400000US39159050501 \\\n", - "NAME Census Tract 505.01; Union County; Ohio \n", - "reference_period 2023 \n", - "0 1 2 \n", - "Total Male 48.686063 \n", - " Divorced 5.959643 \n", - " Female 51.313937 \n", - " Divorced 7.508212 \n", - "\n", - "GEO_ID 1400000US39159050502 \\\n", - "NAME Census Tract 505.02; Union County; Ohio \n", - "reference_period 2023 \n", - "0 1 2 \n", - "Total Male 47.371108 \n", - " Divorced 6.738132 \n", - " Female 52.628892 \n", - " Divorced 9.137315 \n", - "\n", - "GEO_ID 1400000US39159050601 \\\n", - "NAME Census Tract 506.01, Union County, Ohio \n", - "reference_period 2018 \n", - "0 1 2 \n", - "Total Male 49.366774 \n", - " Divorced 3.625528 \n", - " Female 50.633226 \n", - " Divorced 2.284579 \n", - "\n", - "GEO_ID \\\n", - "NAME Census Tract 506.01; Union County; Ohio \n", - "reference_period 2023 \n", - "0 1 2 \n", - "Total Male 50.879869 \n", - " Divorced 2.205537 \n", - " Female 49.120131 \n", - " Divorced 2.311122 \n", - "\n", - "GEO_ID 1400000US39159050602 \\\n", - "NAME Census Tract 506.02, Union County, Ohio \n", - "reference_period 2018 \n", - "0 1 2 \n", - "Total Male 57.115118 \n", - " Divorced 6.629681 \n", - " Female 42.884882 \n", - " Divorced 5.658807 \n", - "\n", - "GEO_ID \\\n", - "NAME Census Tract 506.02; Union County; Ohio \n", - "reference_period 2023 \n", - "0 1 2 \n", - "Total Male 54.597701 \n", - " Divorced 4.269294 \n", - " Female 45.402299 \n", - " Divorced 5.145047 \n", - "\n", - "GEO_ID 1400000US39159050700 \\\n", - "NAME Census Tract 507, Union County, Ohio \n", - "reference_period 2018 \n", - "0 1 2 \n", - "Total Male 52.057714 \n", - " Divorced 3.164453 \n", - " Female 47.942286 \n", - " Divorced 2.147893 \n", - "\n", - "GEO_ID 1400000US39159050701 \\\n", - "NAME Census Tract 507.01; Union County; Ohio \n", - "reference_period 2023 \n", - "0 1 2 \n", - "Total Male 47.772348 \n", - " Divorced 2.012072 \n", - " Female 52.227652 \n", - " Divorced 2.069560 \n", - "\n", - "GEO_ID 1400000US39159050702 \n", - "NAME Census Tract 507.02; Union County; Ohio \n", - "reference_period 2023 \n", - "0 1 2 \n", - "Total Male 47.995188 \n", - " Divorced 2.004812 \n", - " Female 52.004812 \n", - " Divorced 5.092221 \n", - "\n", - "[4 rows x 1081 columns]" + "NAME ... \n", + "reference_period ... \n", + "0 1 2 3 4 ... \n", + "Total: Europe: ... \n", + " Northern Europe: ... \n", + " Denmark ... \n", + " Ireland ... \n", + " Norway ... \n", + "... ... \n", + "Total Female Now married Married, spouse absent ... \n", + " Separated ... \n", + " Other ... \n", + " Widowed ... \n", + " Divorced ... \n", + "\n", + "GEO_ID 1400000US39159050500 \\\n", + "NAME Census Tract 505, Union County, Ohio \n", + "reference_period 2018 \n", + "0 1 2 3 4 \n", + "Total: Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + " Norway NaN \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39159050501 \\\n", + "NAME Census Tract 505.01; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 0.0 \n", + " Northern Europe: 0.0 \n", + " Denmark 0.0 \n", + " Ireland 0.0 \n", + " Norway 0.0 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39159050502 \\\n", + "NAME Census Tract 505.02; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 0.0 \n", + " Northern Europe: 0.0 \n", + " Denmark 0.0 \n", + " Ireland 0.0 \n", + " Norway 0.0 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39159050601 \\\n", + "NAME Census Tract 506.01, Union County, Ohio \n", + "reference_period 2018 \n", + "0 1 2 3 4 \n", + "Total: Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + " Norway NaN \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID \\\n", + "NAME Census Tract 506.01; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 4.997769 \n", + " Northern Europe: 1.160196 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39159050602 \\\n", + "NAME Census Tract 506.02, Union County, Ohio \n", + "reference_period 2018 \n", + "0 1 2 3 4 \n", + "Total: Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + " Norway NaN \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID \\\n", + "NAME Census Tract 506.02; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 3.436426 \n", + " Northern Europe: 0.000000 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39159050700 \\\n", + "NAME Census Tract 507, Union County, Ohio \n", + "reference_period 2018 \n", + "0 1 2 3 4 \n", + "Total: Europe: NaN \n", + " Northern Europe: NaN \n", + " Denmark NaN \n", + " Ireland NaN \n", + " Norway NaN \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39159050701 \\\n", + "NAME Census Tract 507.01; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 0.0 \n", + " Northern Europe: 0.0 \n", + " Denmark 0.0 \n", + " Ireland 0.0 \n", + " Norway 0.0 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "GEO_ID 1400000US39159050702 \n", + "NAME Census Tract 507.02; Union County; Ohio \n", + "reference_period 2023 \n", + "0 1 2 3 4 \n", + "Total: Europe: 8.333333 \n", + " Northern Europe: 8.333333 \n", + " Denmark 0.000000 \n", + " Ireland 0.000000 \n", + " Norway 0.000000 \n", + "... ... \n", + "Total Female Now married Married, spouse absent NaN \n", + " Separated NaN \n", + " Other NaN \n", + " Widowed NaN \n", + " Divorced NaN \n", + "\n", + "[192 rows x 1081 columns]" ] }, - "execution_count": 21, + "execution_count": 19, "metadata": {}, "output_type": "execute_result" } @@ -3098,9 +5285,17 @@ "### Save the long form table as csv with schema and resource files." ] }, + { + "cell_type": "markdown", + "id": "2eb5f8d8", + "metadata": {}, + "source": [ + "Typically we will store data in their long format. CensusAPI.save() method saves a long form table with schema and resource file. " + ] + }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 28, "id": "2f7e5c22", "metadata": {}, "outputs": [ @@ -3108,29 +5303,29 @@ "name": "stdout", "output_type": "stream", "text": [ - "2025-11-12 11:55:53,195 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-tract-region15-b12001.save: Saving data to ./temp_data...\n", - "2025-11-12 11:55:53,196 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-tract-region15-b12001.save: Writing data to ./temp_data/census-acs-acs5-2023-tract-region15-b12001.long.csv.\n", - "2025-11-12 11:55:53,252 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-tract-region15-b12001.save: Writing schema to ./temp_data/census-acs-acs5-2023-tract-region15-b12001.schema.yaml.\n", - "2025-11-12 11:55:53,467 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-tract-region15-b12001.define_schema: Defining schema for B12001 for acs/acs5-year survey in 2023...\n", - "2025-11-12 11:55:53,468 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-tract-region15-b12001.define_schema: Adding fields for value columns...\n", - "2025-11-12 11:55:54,901 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-tract-region15-b12001.define_schema: Schema is valid.\n", - "2025-11-12 11:55:54,942 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-tract-region15-b12001.save: Creating resource for census-acs-acs5-2023-tract-region15-b12001...\n", - "2025-11-12 11:55:54,943 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-tract-region15-b12001.create_resource: Defining resource for census-acs-acs5-2023-tract-region15-b12001...\n", - "2025-11-12 11:55:54,943 | WARNING | morpc.frictionless.frictionless.create_resource: You specified a path for the resource file, however writeResource is not set to True. Resource file will not be written to disk.\n", - "2025-11-12 11:55:54,959 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-tract-region15-b12001.save: Writing resource to ./temp_data/census-acs-acs5-2023-tract-region15-b12001.resource.yaml.\n", - "2025-11-12 11:55:54,965 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-tract-region15-b12001.save: Validating resource at ./temp_data/census-acs-acs5-2023-tract-region15-b12001.resource.yaml.\n", - "2025-11-12 11:55:54,966 | INFO | morpc.frictionless.frictionless.validate_resource: Validating resource on disk including data and schema (if applicable). This may take some time.\n", - "2025-11-12 11:55:55,041 | INFO | morpc.frictionless.frictionless.validate_resource: Resource is valid\n" + "2026-01-06 15:59:57,562 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-county-tract-region15-b05006.save: Saving data to ./temp_data...\n", + "2026-01-06 15:59:57,563 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-county-tract-region15-b05006.save: Writing data to ./temp_data/census-acs-acs5-2023-county-tract-region15-b05006.long.csv.\n", + "2026-01-06 15:59:57,818 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-county-tract-region15-b05006.save: Writing schema to ./temp_data/census-acs-acs5-2023-county-tract-region15-b05006.schema.yaml.\n", + "2026-01-06 15:59:58,077 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-county-tract-region15-b05006.define_schema: Defining schema for B05006 for acs/acs5-year survey in 2023...\n", + "2026-01-06 15:59:58,078 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-county-tract-region15-b05006.define_schema: Adding fields for value columns...\n", + "2026-01-06 15:59:59,468 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-county-tract-region15-b05006.define_schema: Schema is valid.\n", + "2026-01-06 15:59:59,492 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-county-tract-region15-b05006.save: Creating resource for census-acs-acs5-2023-county-tract-region15-b05006...\n", + "2026-01-06 15:59:59,493 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-county-tract-region15-b05006.create_resource: Defining resource for census-acs-acs5-2023-county-tract-region15-b05006...\n", + "2026-01-06 15:59:59,494 | WARNING | morpc.frictionless.frictionless.create_resource: You specified a path for the resource file, however writeResource is not set to True. Resource file will not be written to disk.\n", + "2026-01-06 15:59:59,526 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-county-tract-region15-b05006.save: Writing resource to ./temp_data/census-acs-acs5-2023-county-tract-region15-b05006.resource.yaml.\n", + "2026-01-06 15:59:59,534 | INFO | morpc.census.api.CensusAPI.census-acs-acs5-2023-county-tract-region15-b05006.save: Validating resource at ./temp_data/census-acs-acs5-2023-county-tract-region15-b05006.resource.yaml.\n", + "2026-01-06 15:59:59,534 | INFO | morpc.frictionless.frictionless.validate_resource: Validating resource on disk including data and schema (if applicable). This may take some time.\n", + "2026-01-06 16:00:01,396 | INFO | morpc.frictionless.frictionless.validate_resource: Resource is valid\n" ] } ], "source": [ - "b12001_2023.save('./temp_data')" + "b05006_2023.save('./temp_data')" ] }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 30, "id": "b07d3e4f", "metadata": {}, "outputs": [ @@ -3138,7 +5333,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "census-acs-acs5-2023-tract-region15-b12001.long.csv\n" + "census-acs-acs5-2023-county-tract-region15-b05006.long.csv\n" ] }, { @@ -3147,7 +5342,7 @@ "True" ] }, - "execution_count": 26, + "execution_count": 30, "metadata": {}, "output_type": "execute_result" } @@ -3155,9 +5350,9 @@ "source": [ "import os\n", "\n", - "print(b12001_2023.FILENAME)\n", + "print(b05006_2023.FILENAME)\n", "\n", - "os.path.exists(f'./temp_data/{b12001_2023.FILENAME}')" + "os.path.exists(f'./temp_data/{b05006_2023.FILENAME}')" ] }, { diff --git a/morpc/census/api.py b/morpc/census/api.py index 98c962a..6d9bf74 100644 --- a/morpc/census/api.py +++ b/morpc/census/api.py @@ -393,10 +393,11 @@ def get(url, params, varBatchSize=20): """ import json # We need json to make a deep copy of the params dict - from morpc.req import get_json_safely + from morpc.req import get_json_safely, get_text_safely from morpc.census.api import get_group_variables import pandas as pd import re + from io import StringIO if len(re.findall(r'group\((.+)\)', params['get'])) == 0: # We need to reserve one variable in each batch for GEO_ID. If the user requests more than 49 variables per @@ -452,29 +453,26 @@ def get(url, params, varBatchSize=20): if(requestCount == 1): censusData = df.set_index("GEO_ID").copy() else: - censusData = censusData.join(df.set_index("GEO_ID")) + censusData = censusData.join(df.set_index("GEO_ID")).reset_index() requestCount += 1 - else: - logger.info('Found group parameter. Ignoring variable limits.') - - year = url.replace('https://api.census.gov/data/', '').replace('?','')[0:4] - survey_table = url.replace('https://api.census.gov/data/', '').replace('?','')[5:] + else: group = re.findall(r'group\((.+)\)', params['get'])[0] - variables = get_group_variables(survey_table, year, group) + logger.info(f'Found group {group} parameter. Ignoring variable limits.') - vars = ['GEO_ID', 'NAME'] - for x in variables: - vars.append(x) + params_string = "&".join([f"{k}={v}" for k, v in params.items()]) - records = get_json_safely(url, params=params) - columns = records.pop(0) + text = get_text_safely(f"{url}{params_string}") - censusData = pd.DataFrame.from_records(records, columns=columns) - censusData = censusData.filter(items=vars, axis='columns') + try: + censusData = pd.read_csv(StringIO(text.replace("[",'').replace("]",'')), sep=",", quotechar='"') - return censusData.reset_index() + except Exception as e: + logger.error(f"Error creating Dataframe from records. {e}") + raise RuntimeError + + return censusData class CensusAPI: _CensusAPI_logger = logging.getLogger(__name__).getChild(__qualname__) @@ -536,16 +534,6 @@ def __init__(self, survey_table, year, group, scope, scale=None, variables=None) self.validate() - logger.info(f"Building Request URL and Parameters.") - self.REQUEST = get_api_request(self.SURVEY, self.YEAR, self.GROUP, self.SCOPE, self.VARIABLES, self.SCALE) - - try: - logger.info(f"Getting data from {self.REQUEST['url']} with parameters {self.REQUEST['params']}.") - self.DATA = get(self.REQUEST['url'], self.REQUEST['params']) - except Exception as e: - self.logger.error(f"Error retrieving data: {e}") - raise RuntimeError("Failed to retrieve data from Census API.") - self.VARS = get_group_variables(self.SURVEY, self.YEAR, self.GROUP) if self.VARIABLES is not None: temp = {} @@ -556,6 +544,19 @@ def __init__(self, survey_table, year, group, scope, scale=None, variables=None) temp[VAR] = self.VARS[VAR] self.VARS = temp + logger.info(f"Building Request URL and Parameters.") + self.REQUEST = get_api_request(self.SURVEY, self.YEAR, self.GROUP, self.SCOPE, self.VARIABLES, self.SCALE) + + try: + logger.info(f"Getting data from {self.REQUEST['url']} with parameters {self.REQUEST['params']}.") + self.DATA = get(self.REQUEST['url'], self.REQUEST['params']) + logger.debug(f"Request converted to DataFrame:") + logger.debug(f"\n\n{self.DATA.head(5).to_markdown()}") + + except Exception as e: + self.logger.error(f"Error retrieving data: {e}") + raise RuntimeError("Failed to retrieve data from Census API.") + self.LONG = self.melt() def melt(self): @@ -574,13 +575,24 @@ def melt(self): logger.info(f"Melting data into long format.") + long = self.DATA.melt(id_vars=['GEO_ID', 'NAME'], var_name='variable', value_name='value') + logger.debug(f"\n\n{long.head(5).to_markdown()}") + long = long.loc[~long['value'].isna()] - long['variable_type'] = [re.findall(r"[0-9]+([A-Z]+)", x)[0] for x in long['variable']] + long = long.loc[long['variable'].str.endswith(('E', 'M'))] + logger.debug(f"Removing unneeded variable types, variables remaining: {[x for x in long['variable'].unique()]}") + + long['variable_type'] = [re.findall(r"[0-9]+([A-Z]{1,2})", x)[0] for x in long['variable']] + + logger.debug(f"included variable types: {[x for x in long['variable_type']]}") + long = long.loc[~long['variable_type'].str.endswith('A')] + long['variable_type'] = [VARIABLE_TYPES[x] for x in long['variable_type']] long['variable_label'] = [re.split("!!", self.VARS[variable]['label'],maxsplit=1)[1] for variable in long['variable']] + long['variable'] = [re.findall(r"([A-Z0-9_]+[0-9]+)[A-Z]+", x)[0] for x in long['variable']] long['reference_period'] = self.YEAR diff --git a/morpc/frictionless/frictionless.py b/morpc/frictionless/frictionless.py index f283b05..e5bbd31 100644 --- a/morpc/frictionless/frictionless.py +++ b/morpc/frictionless/frictionless.py @@ -254,7 +254,9 @@ def cast_field_types(df, schema, forceInteger=False, forceInt64=False, nullBoolV else: logger.error("Field {} is a type that is not currently supported for casting to boolean. Convert it to boolean, numeric, or string types first.".format(fieldName)) raise RuntimeError - + elif(fieldType == 'any'): + logger.info(f"Field {fieldName} as type 'any' in schema. This may be due to the schema being produced automatically frictionless.Schema.describe(). Converting to string. ") + outDF[fieldName] = outDF[fieldName].astype('string') else: outDF[fieldName] = outDF[fieldName].astype(fieldType)