Examples

Example 1: Downloading Block Group Data and Exporting to CSV

As a first example, let’s suppose we’re interested in unemployment and high school dropout rates for block groups in Cook County, Illinois, which contains Chicago, IL.

We begin by importing the censusdata and pandas modules, and setting some display options in pandas for nicer output:

>>> import pandas as pd
>>> import censusdata
>>> pd.set_option('display.expand_frame_repr', False)
>>> pd.set_option('display.precision', 2)

To download data, we need to identify the relevant tables containing the variables of interest to us. One way to do this would be to refer to the ACS documentation, in particular the Table Shells (https://www.census.gov/programs-surveys/acs/technical-documentation/summary-file-documentation.html). Alternatively, it is possible to do this from within Python. censusdata.search will search for given text patterns. The downside to this is output can be voluminous, as in the following searches, as ACS frequently provides a large number of different tabulations related to a given topic area. ipython provides easier to read output in this case:

>>> censusdata.search('acs5', '2015', 'label', 'unemploy')
[('B12006_006E', 'B12006.  MARITAL STATUS BY SEX BY LABOR FORCE PARTICIPATION', 'Never married:!!Male:!!In labor force:!!Unemployed'), ('B12006_006M', 'B12006.  MARITAL STATUS BY SEX BY LABOR FORCE PARTICIPATION', 'Margin Of Error For!!Never married:!!Male:!!In labor force:!!Unemployed'), ('B12006_011E', 'B12006.  MARITAL STATUS BY SEX BY LABOR FORCE PARTICIPATION', 'Never married:!!Female:!!In labor force:!!Unemployed'), ('B12006_011M', 'B12006.  MARITAL STATUS BY SEX BY LABOR FORCE PARTICIPATION', 'Margin Of Error For!!Never married:!!Female:!!In labor force:!!Unemployed'), ...]
>>> censusdata.search('acs5', '2015', 'concept', 'education')
[('B06009PR_001E', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Total:'), ('B06009PR_001M', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Margin Of Error For!!Total:'), ('B06009PR_002E', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Less than high school graduate'), ('B06009PR_002M', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Margin Of Error For!!Less than high school graduate'), ('B06009PR_003E', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'High school graduate (includes equivalency)'), ('B06009PR_003M', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Margin Of Error For!!High school graduate (includes equivalency)'), ('B06009PR_004E', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', "Some college or associate's degree"), ('B06009PR_004M', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', "Margin Of Error For!!Some college or associate's degree"), ('B06009PR_005E', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', "Bachelor's degree"), ('B06009PR_005M', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', "Margin Of Error For!!Bachelor's degree"), ('B06009PR_006E', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Graduate or professional degree'), ('B06009PR_006M', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Margin Of Error For!!Graduate or professional degree'), ('B06009PR_007E', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Born in Puerto Rico:'), ('B06009PR_007M', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Margin Of Error For!!Born in Puerto Rico:'), ('B06009PR_008E', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Born in Puerto Rico:!!Less than high school graduate'), ('B06009PR_008M', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Margin Of Error For!!Born in Puerto Rico:!!Less than high school graduate'), ('B06009PR_009E', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Born in Puerto Rico:!!High school graduate (includes equivalency)'), ('B06009PR_009M', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Margin Of Error For!!Born in Puerto Rico:!!High school graduate (includes equivalency)'), ('B06009PR_010E', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', "Born in Puerto Rico:!!Some college or associate's degree"), ('B06009PR_010M', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', "Margin Of Error For!!Born in Puerto Rico:!!Some college or associate's degree"), ('B06009PR_011E', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', "Born in Puerto Rico:!!Bachelor's degree"), ('B06009PR_011M', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', "Margin Of Error For!!Born in Puerto Rico:!!Bachelor's degree"), ('B06009PR_012E', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Born in Puerto Rico:!!Graduate or professional degree'), ('B06009PR_012M', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Margin Of Error For!!Born in Puerto Rico:!!Graduate or professional degree'), ('B06009PR_013E', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Born in the United States:'), ('B06009PR_013M', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Margin Of Error For!!Born in the United States:'), ('B06009PR_014E', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Born in the United States:!!Less than high school graduate'), ('B06009PR_014M', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Margin Of Error For!!Born in the United States:!!Less than high school graduate'), ('B06009PR_015E', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Born in the United States:!!High school graduate (includes equivalency)'), ('B06009PR_015M', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Margin Of Error For!!Born in the United States:!!High school graduate (includes equivalency)'), ('B06009PR_016E', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', "Born in the United States:!!Some college or associate's degree"), ('B06009PR_016M', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', "Margin Of Error For!!Born in the United States:!!Some college or associate's degree"), ('B06009PR_017E', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', "Born in the United States:!!Bachelor's degree"), ('B06009PR_017M', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', "Margin Of Error For!!Born in the United States:!!Bachelor's degree"), ('B06009PR_018E', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Born in the United States:!!Graduate or professional degree'), ('B06009PR_018M', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Margin Of Error For!!Born in the United States:!!Graduate or professional degree'), ('B06009PR_019E', 'B06009PR.  PLACE OF BIRTH BY EDUCATIONAL ATTAINMENT IN PUERTO RICO', 'Native; born elsewhere:'), ...]

(Please note that searching Census variables and printing out a single table rely on previously downloaded information from the Census API, because otherwise every time we did this we would have to download data for all variables.) Once we have identified a table of interest, we can use censusdata.printtable to show all variables included in the table:

>>> censusdata.printtable(censusdata.censustable('acs5', '2015', 'B23025'))
Variable             | Table                                    | Label                                                                                                                                                            | Type
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
B23025_001E          | B23025.  Employment Status for the Popul | Total:                                                                                                                                                           | int
B23025_002E          | B23025.  Employment Status for the Popul | In labor force:                                                                                                                                                  | int
B23025_003E          | B23025.  Employment Status for the Popul | !! In labor force: Civilian labor force:                                                                                                                         | int
B23025_004E          | B23025.  Employment Status for the Popul | !! !! In labor force: Civilian labor force: Employed                                                                                                             | int
B23025_005E          | B23025.  Employment Status for the Popul | !! !! In labor force: Civilian labor force: Unemployed                                                                                                           | int
B23025_006E          | B23025.  Employment Status for the Popul | !! In labor force: Armed Forces                                                                                                                                  | int
B23025_007E          | B23025.  Employment Status for the Popul | Not in labor force                                                                                                                                               | int
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>> censusdata.printtable(censusdata.censustable('acs5', '2015', 'B15003'))
Variable             | Table                                    | Label                                                                                                                                                            | Type
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
B15003_001E          | B15003.  Educational Attainment for the  | Total:                                                                                                                                                           | int
B15003_002E          | B15003.  Educational Attainment for the  | No schooling completed                                                                                                                                           | int
B15003_003E          | B15003.  Educational Attainment for the  | Nursery school                                                                                                                                                   | int
B15003_004E          | B15003.  Educational Attainment for the  | Kindergarten                                                                                                                                                     | int
B15003_005E          | B15003.  Educational Attainment for the  | 1st grade                                                                                                                                                        | int
B15003_006E          | B15003.  Educational Attainment for the  | 2nd grade                                                                                                                                                        | int
B15003_007E          | B15003.  Educational Attainment for the  | 3rd grade                                                                                                                                                        | int
B15003_008E          | B15003.  Educational Attainment for the  | 4th grade                                                                                                                                                        | int
B15003_009E          | B15003.  Educational Attainment for the  | 5th grade                                                                                                                                                        | int
B15003_010E          | B15003.  Educational Attainment for the  | 6th grade                                                                                                                                                        | int
B15003_011E          | B15003.  Educational Attainment for the  | 7th grade                                                                                                                                                        | int
B15003_012E          | B15003.  Educational Attainment for the  | 8th grade                                                                                                                                                        | int
B15003_013E          | B15003.  Educational Attainment for the  | 9th grade                                                                                                                                                        | int
B15003_014E          | B15003.  Educational Attainment for the  | 10th grade                                                                                                                                                       | int
B15003_015E          | B15003.  Educational Attainment for the  | 11th grade                                                                                                                                                       | int
B15003_016E          | B15003.  Educational Attainment for the  | 12th grade, no diploma                                                                                                                                           | int
B15003_017E          | B15003.  Educational Attainment for the  | Regular high school diploma                                                                                                                                      | int
B15003_018E          | B15003.  Educational Attainment for the  | GED or alternative credential                                                                                                                                    | int
B15003_019E          | B15003.  Educational Attainment for the  | Some college, less than 1 year                                                                                                                                   | int
B15003_020E          | B15003.  Educational Attainment for the  | Some college, 1 or more years, no degree                                                                                                                         | int
B15003_021E          | B15003.  Educational Attainment for the  | Associate's degree                                                                                                                                               | int
B15003_022E          | B15003.  Educational Attainment for the  | Bachelor's degree                                                                                                                                                | int
B15003_023E          | B15003.  Educational Attainment for the  | Master's degree                                                                                                                                                  | int
B15003_024E          | B15003.  Educational Attainment for the  | Professional school degree                                                                                                                                       | int
B15003_025E          | B15003.  Educational Attainment for the  | Doctorate degree                                                                                                                                                 | int
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

After identifying relevant variables, we then need to identify the geographies of interest. We are interested in block groups in Cook County, Illinois, so first we look for the geographic identifier (FIPS code) for Illinois, then the identifiers for all counties with Illinois to find Cook County:

>>> print(censusdata.geographies(censusdata.censusgeo([('state', '*')]), 'acs5', '2015'))
{'Alaska': censusgeo((('state', '02'),)), 'Alabama': censusgeo((('state', '01'),)), 'Arkansas': censusgeo((('state', '05'),)), 'Arizona': censusgeo((('state', '04'),)), 'California': censusgeo((('state', '06'),)), 'Colorado': censusgeo((('state', '08'),)), 'Connecticut': censusgeo((('state', '09'),)), 'District of Columbia': censusgeo((('state', '11'),)), 'Delaware': censusgeo((('state', '10'),)), 'Florida': censusgeo((('state', '12'),)), 'Georgia': censusgeo((('state', '13'),)), 'Hawaii': censusgeo((('state', '15'),)), 'Iowa': censusgeo((('state', '19'),)), 'Idaho': censusgeo((('state', '16'),)), 'Illinois': censusgeo((('state', '17'),)), 'Indiana': censusgeo((('state', '18'),)), 'Kansas': censusgeo((('state', '20'),)), 'Kentucky': censusgeo((('state', '21'),)), 'Louisiana': censusgeo((('state', '22'),)), 'Massachusetts': censusgeo((('state', '25'),)), 'Maryland': censusgeo((('state', '24'),)), 'Maine': censusgeo((('state', '23'),)), 'Michigan': censusgeo((('state', '26'),)), 'Minnesota': censusgeo((('state', '27'),)), 'Missouri': censusgeo((('state', '29'),)), 'Mississippi': censusgeo((('state', '28'),)), 'Montana': censusgeo((('state', '30'),)), 'North Carolina': censusgeo((('state', '37'),)), 'North Dakota': censusgeo((('state', '38'),)), 'Nebraska': censusgeo((('state', '31'),)), 'New Hampshire': censusgeo((('state', '33'),)), 'New Jersey': censusgeo((('state', '34'),)), 'New Mexico': censusgeo((('state', '35'),)), 'Nevada': censusgeo((('state', '32'),)), 'New York': censusgeo((('state', '36'),)), 'Ohio': censusgeo((('state', '39'),)), 'Oklahoma': censusgeo((('state', '40'),)), 'Oregon': censusgeo((('state', '41'),)), 'Pennsylvania': censusgeo((('state', '42'),)), 'Puerto Rico': censusgeo((('state', '72'),)), 'Rhode Island': censusgeo((('state', '44'),)), 'South Carolina': censusgeo((('state', '45'),)), 'South Dakota': censusgeo((('state', '46'),)), 'Tennessee': censusgeo((('state', '47'),)), 'Texas': censusgeo((('state', '48'),)), 'Utah': censusgeo((('state', '49'),)), 'Virginia': censusgeo((('state', '51'),)), 'Vermont': censusgeo((('state', '50'),)), 'Washington': censusgeo((('state', '53'),)), 'Wisconsin': censusgeo((('state', '55'),)), 'West Virginia': censusgeo((('state', '54'),)), 'Wyoming': censusgeo((('state', '56'),))}
>>> print(censusdata.geographies(censusdata.censusgeo([('state', '17'), ('county', '*')]), 'acs5', '2015'))
{'Adams County, Illinois': censusgeo((('state', '17'), ('county', '001'))), 'Alexander County, Illinois': censusgeo((('state', '17'), ('county', '003'))), 'Bond County, Illinois': censusgeo((('state', '17'), ('county', '005'))), 'Boone County, Illinois': censusgeo((('state', '17'), ('county', '007'))), 'Brown County, Illinois': censusgeo((('state', '17'), ('county', '009'))), 'Bureau County, Illinois': censusgeo((('state', '17'), ('county', '011'))), 'Calhoun County, Illinois': censusgeo((('state', '17'), ('county', '013'))), 'Carroll County, Illinois': censusgeo((('state', '17'), ('county', '015'))), 'Cass County, Illinois': censusgeo((('state', '17'), ('county', '017'))), 'Champaign County, Illinois': censusgeo((('state', '17'), ('county', '019'))), 'Christian County, Illinois': censusgeo((('state', '17'), ('county', '021'))), 'Clark County, Illinois': censusgeo((('state', '17'), ('county', '023'))), 'Clay County, Illinois': censusgeo((('state', '17'), ('county', '025'))), 'Clinton County, Illinois': censusgeo((('state', '17'), ('county', '027'))), 'Coles County, Illinois': censusgeo((('state', '17'), ('county', '029'))), 'Cook County, Illinois': censusgeo((('state', '17'), ('county', '031'))), 'Crawford County, Illinois': censusgeo((('state', '17'), ('county', '033'))), 'Cumberland County, Illinois': censusgeo((('state', '17'), ('county', '035'))), 'DeKalb County, Illinois': censusgeo((('state', '17'), ('county', '037'))), 'De Witt County, Illinois': censusgeo((('state', '17'), ('county', '039'))), 'Douglas County, Illinois': censusgeo((('state', '17'), ('county', '041'))), 'DuPage County, Illinois': censusgeo((('state', '17'), ('county', '043'))), 'Edgar County, Illinois': censusgeo((('state', '17'), ('county', '045'))), 'Edwards County, Illinois': censusgeo((('state', '17'), ('county', '047'))), 'Effingham County, Illinois': censusgeo((('state', '17'), ('county', '049'))), 'Fayette County, Illinois': censusgeo((('state', '17'), ('county', '051'))), 'Ford County, Illinois': censusgeo((('state', '17'), ('county', '053'))), 'Franklin County, Illinois': censusgeo((('state', '17'), ('county', '055'))), 'Fulton County, Illinois': censusgeo((('state', '17'), ('county', '057'))), 'Gallatin County, Illinois': censusgeo((('state', '17'), ('county', '059'))), 'Greene County, Illinois': censusgeo((('state', '17'), ('county', '061'))), 'Grundy County, Illinois': censusgeo((('state', '17'), ('county', '063'))), 'Hamilton County, Illinois': censusgeo((('state', '17'), ('county', '065'))), 'Hancock County, Illinois': censusgeo((('state', '17'), ('county', '067'))), 'Hardin County, Illinois': censusgeo((('state', '17'), ('county', '069'))), 'Henderson County, Illinois': censusgeo((('state', '17'), ('county', '071'))), 'Henry County, Illinois': censusgeo((('state', '17'), ('county', '073'))), 'Iroquois County, Illinois': censusgeo((('state', '17'), ('county', '075'))), 'Jackson County, Illinois': censusgeo((('state', '17'), ('county', '077'))), 'Jasper County, Illinois': censusgeo((('state', '17'), ('county', '079'))), 'Jefferson County, Illinois': censusgeo((('state', '17'), ('county', '081'))), 'Jersey County, Illinois': censusgeo((('state', '17'), ('county', '083'))), 'Jo Daviess County, Illinois': censusgeo((('state', '17'), ('county', '085'))), 'Johnson County, Illinois': censusgeo((('state', '17'), ('county', '087'))), 'Kane County, Illinois': censusgeo((('state', '17'), ('county', '089'))), 'Kankakee County, Illinois': censusgeo((('state', '17'), ('county', '091'))), 'Kendall County, Illinois': censusgeo((('state', '17'), ('county', '093'))), 'Knox County, Illinois': censusgeo((('state', '17'), ('county', '095'))), 'Lake County, Illinois': censusgeo((('state', '17'), ('county', '097'))), 'LaSalle County, Illinois': censusgeo((('state', '17'), ('county', '099'))), 'Lawrence County, Illinois': censusgeo((('state', '17'), ('county', '101'))), 'Lee County, Illinois': censusgeo((('state', '17'), ('county', '103'))), 'Livingston County, Illinois': censusgeo((('state', '17'), ('county', '105'))), 'Logan County, Illinois': censusgeo((('state', '17'), ('county', '107'))), 'McDonough County, Illinois': censusgeo((('state', '17'), ('county', '109'))), 'McHenry County, Illinois': censusgeo((('state', '17'), ('county', '111'))), 'McLean County, Illinois': censusgeo((('state', '17'), ('county', '113'))), 'Macon County, Illinois': censusgeo((('state', '17'), ('county', '115'))), 'Macoupin County, Illinois': censusgeo((('state', '17'), ('county', '117'))), 'Madison County, Illinois': censusgeo((('state', '17'), ('county', '119'))), 'Marion County, Illinois': censusgeo((('state', '17'), ('county', '121'))), 'Marshall County, Illinois': censusgeo((('state', '17'), ('county', '123'))), 'Mason County, Illinois': censusgeo((('state', '17'), ('county', '125'))), 'Massac County, Illinois': censusgeo((('state', '17'), ('county', '127'))), 'Menard County, Illinois': censusgeo((('state', '17'), ('county', '129'))), 'Mercer County, Illinois': censusgeo((('state', '17'), ('county', '131'))), 'Monroe County, Illinois': censusgeo((('state', '17'), ('county', '133'))), 'Montgomery County, Illinois': censusgeo((('state', '17'), ('county', '135'))), 'Morgan County, Illinois': censusgeo((('state', '17'), ('county', '137'))), 'Moultrie County, Illinois': censusgeo((('state', '17'), ('county', '139'))), 'Ogle County, Illinois': censusgeo((('state', '17'), ('county', '141'))), 'Peoria County, Illinois': censusgeo((('state', '17'), ('county', '143'))), 'Perry County, Illinois': censusgeo((('state', '17'), ('county', '145'))), 'Piatt County, Illinois': censusgeo((('state', '17'), ('county', '147'))), 'Pike County, Illinois': censusgeo((('state', '17'), ('county', '149'))), 'Pope County, Illinois': censusgeo((('state', '17'), ('county', '151'))), 'Pulaski County, Illinois': censusgeo((('state', '17'), ('county', '153'))), 'Putnam County, Illinois': censusgeo((('state', '17'), ('county', '155'))), 'Randolph County, Illinois': censusgeo((('state', '17'), ('county', '157'))), 'Richland County, Illinois': censusgeo((('state', '17'), ('county', '159'))), 'Rock Island County, Illinois': censusgeo((('state', '17'), ('county', '161'))), 'St. Clair County, Illinois': censusgeo((('state', '17'), ('county', '163'))), 'Saline County, Illinois': censusgeo((('state', '17'), ('county', '165'))), 'Sangamon County, Illinois': censusgeo((('state', '17'), ('county', '167'))), 'Schuyler County, Illinois': censusgeo((('state', '17'), ('county', '169'))), 'Scott County, Illinois': censusgeo((('state', '17'), ('county', '171'))), 'Shelby County, Illinois': censusgeo((('state', '17'), ('county', '173'))), 'Stark County, Illinois': censusgeo((('state', '17'), ('county', '175'))), 'Stephenson County, Illinois': censusgeo((('state', '17'), ('county', '177'))), 'Tazewell County, Illinois': censusgeo((('state', '17'), ('county', '179'))), 'Union County, Illinois': censusgeo((('state', '17'), ('county', '181'))), 'Vermilion County, Illinois': censusgeo((('state', '17'), ('county', '183'))), 'Wabash County, Illinois': censusgeo((('state', '17'), ('county', '185'))), 'Warren County, Illinois': censusgeo((('state', '17'), ('county', '187'))), 'Washington County, Illinois': censusgeo((('state', '17'), ('county', '189'))), 'Wayne County, Illinois': censusgeo((('state', '17'), ('county', '191'))), 'White County, Illinois': censusgeo((('state', '17'), ('county', '193'))), 'Whiteside County, Illinois': censusgeo((('state', '17'), ('county', '195'))), 'Will County, Illinois': censusgeo((('state', '17'), ('county', '197'))), 'Williamson County, Illinois': censusgeo((('state', '17'), ('county', '199'))), 'Winnebago County, Illinois': censusgeo((('state', '17'), ('county', '201'))), 'Woodford County, Illinois': censusgeo((('state', '17'), ('county', '203')))}

Now that we have identified the variables and geographies of interest, we can download the data using censusdata.download:

>>> cookbg = censusdata.download('acs5', '2015', censusdata.censusgeo([('state', '17'), ('county', '031'), ('block group', '*')]),
...         ['B23025_003E', 'B23025_005E', 'B15003_001E', 'B15003_002E', 'B15003_003E', 'B15003_004E', 'B15003_005E', 'B15003_006E', 'B15003_007E', 'B15003_008E', 'B15003_009E', 'B15003_010E', 'B15003_011E', 'B15003_012E', 'B15003_013E', 'B15003_014E',
...         'B15003_015E', 'B15003_016E'])

Now we compute variables for the percent unemployed and the percent with no high school degree. We then describe the data, and show the 30 block groups in Cook County with the highest rate of unemployment, and the percent with no high school degree in those block groups. Finally, we show the correlation between these two variables across all Cook County block groups:

>>> cookbg['percent_unemployed'] = cookbg.B23025_005E / cookbg.B23025_003E * 100
>>> cookbg['percent_nohs'] = (cookbg.B15003_002E + cookbg.B15003_003E + cookbg.B15003_004E + cookbg.B15003_005E + cookbg.B15003_006E + cookbg.B15003_007E + cookbg.B15003_008E + cookbg.B15003_009E
...         + cookbg.B15003_010E + cookbg.B15003_011E + cookbg.B15003_012E + cookbg.B15003_013E + cookbg.B15003_014E + cookbg.B15003_015E + cookbg.B15003_016E) / cookbg.B15003_001E * 100
>>> cookbg = cookbg[['percent_unemployed', 'percent_nohs']]
>>> print(cookbg.describe())
       percent_unemployed  percent_nohs
count             3983.00       3984.00
mean                12.00         15.19
std                 10.09         13.23
min                  0.00          0.00
25%                  4.86          4.75
50%                  9.24         11.66
75%                 16.28         22.46
max                 91.86         77.43
>>> print(cookbg.sort_values('percent_unemployed', ascending=False).head(30))
                                                    percent_unemployed  percent_nohs
Block Group 1, Census Tract 8357, Cook County, ...               91.86          0.00
Block Group 2, Census Tract 6805, Cook County, ...               66.27         19.54
Block Group 3, Census Tract 5103, Cook County, ...               64.07         16.97
Block Group 2, Census Tract 6809, Cook County, ...               61.46         42.33
Block Group 1, Census Tract 4913, Cook County, ...               56.40         14.64
Block Group 5, Census Tract 2315, Cook County, ...               55.58         44.72
Block Group 3, Census Tract 8346, Cook County, ...               54.96         17.85
Block Group 2, Census Tract 6706, Cook County, ...               54.13          9.57
Block Group 2, Census Tract 8386, Cook County, ...               53.78         48.41
Block Group 5, Census Tract 4910, Cook County, ...               53.57         38.23
Block Group 1, Census Tract 5401.02, Cook Count...               52.90          6.67
Block Group 2, Census Tract 6712, Cook County, ...               52.84         26.98
Block Group 1, Census Tract 7109, Cook County, ...               52.68         19.08
Block Group 1, Census Tract 3406, Cook County, ...               51.76         42.59
Block Group 1, Census Tract 6712, Cook County, ...               51.53         37.70
Block Group 2, Census Tract 4910, Cook County, ...               51.47         26.50
Block Group 3, Census Tract 4303, Cook County, ...               51.41         14.85
Block Group 1, Census Tract 6810, Cook County, ...               51.10         24.38
Block Group 5, Census Tract 6811, Cook County, ...               50.00         31.95
Block Group 6, Census Tract 7104, Cook County, ...               50.00          9.34
Block Group 2, Census Tract 6812, Cook County, ...               49.82         20.29
Block Group 1, Census Tract 8290, Cook County, ...               49.57         28.97
Block Group 3, Census Tract 6813, Cook County, ...               49.51         22.92
Block Group 1, Census Tract 6811, Cook County, ...               49.32         33.73
Block Group 2, Census Tract 7107, Cook County, ...               49.00         17.18
Block Group 6, Census Tract 4804, Cook County, ...               48.68          8.32
Block Group 1, Census Tract 4207, Cook County, ...               48.63         14.08
Block Group 1, Census Tract 6715, Cook County, ...               48.28         30.24
Block Group 4, Census Tract 4603.02, Cook Count...               48.00         48.27
Block Group 3, Census Tract 8424, Cook County, ...               47.80          0.00
>>> print(cookbg.corr())
                    percent_unemployed  percent_nohs
percent_unemployed                1.00          0.29
percent_nohs                      0.29          1.00

Example 2: Downloading Data for All U.S. Counties

Using the Detail Tables

For this example, let’s suppose we have looked up the variables we need by referring to the Table Shells. We begin by downloading the data and checking the data we have received:

>>> county65plus = censusdata.download('acs5', '2015', censusdata.censusgeo([('county', '*')]),
['B01001_001E', 'B01001_020E', 'B01001_021E', 'B01001_022E', 'B01001_023E', 'B01001_024E', 'B01001_025E', 'B01001_044E', 'B01001_045E', 'B01001_046E', 'B01001_047E', 'B01001_048E', 'B01001_049E'])
>>> print(county65plus.describe())
B01001_001E  B01001_020E  B01001_021E  B01001_022E  B01001_023E  B01001_024E  B01001_025E  B01001_044E  B01001_045E  B01001_046E  B01001_047E  B01001_048E  B01001_049E
count     3.22e+03      3220.00      3220.00      3220.00      3220.00      3220.00      3220.00      3220.00      3220.00      3220.00      3220.00      3220.00      3220.00
mean      9.94e+04       961.47      1201.25      1532.44      1075.61       748.45       629.46      1064.89      1350.16      1802.07      1358.99      1079.33      1236.80
std       3.19e+05      2669.50      3306.09      4193.15      2994.94      2184.18      1945.32      3085.53      3860.28      5149.07      3920.19      3183.31      3741.48
min       8.50e+01         0.00         0.00         2.00         0.00         0.00         0.00         0.00         0.00         0.00         0.00         0.00         0.00
25%       1.12e+04       134.00       173.00       234.00       165.00       106.00        80.00       136.00       178.00       252.00       196.00       143.00       157.75
50%       2.60e+04       308.00       391.50       513.00       353.00       231.00       180.50       322.00       413.00       560.00       429.00       318.00       350.50
75%       6.64e+04       750.75       949.25      1242.75       850.00       550.25       430.00       790.75      1040.75      1362.75      1012.00       789.00       847.00
max       1.00e+07     79196.00     96638.00    122804.00     88018.00     65118.00     59251.00     91381.00    114778.00    152378.00    116736.00     93446.00    110015.00

Next, we compute the percentage of the population 65 and older:

>>> county65plus['percent_65plus'] = (county65plus.B01001_020E + county65plus.B01001_021E + county65plus.B01001_022E + county65plus.B01001_023E + county65plus.B01001_024E + county65plus.B01001_025E
...     + county65plus.B01001_044E + county65plus.B01001_045E + county65plus.B01001_046E + county65plus.B01001_047E + county65plus.B01001_048E + county65plus.B01001_049E) / county65plus.B01001_001E * 100

Then we keep the variables of interest, rename, and print descriptives:

>>> county65plus = county65plus[['B01001_001E', 'percent_65plus']]
>>> county65plus = county65plus.rename(columns={'B01001_001E': 'population_size'})
>>> print(county65plus.describe())
       population_size  percent_65plus
count         3.22e+03         3220.00
mean          9.94e+04           17.10
std           3.19e+05            4.39
min           8.50e+01            3.30
25%           1.12e+04           14.32
50%           2.60e+04           16.78
75%           6.64e+04           19.45
max           1.00e+07           50.89

Finally, we show the 30 U.S. counties with the highest percentage aged 65+:

>>> county65plus.sort_values('percent_65plus', ascending=False, inplace=True)
>>> print(county65plus.head(30))
                                                    population_size  percent_65plus
Sumter County, Florida: Summary level: 050, sta...           108501           50.89
Charlotte County, Florida: Summary level: 050, ...           165783           36.86
Mineral County, Colorado: Summary level: 050, s...              733           36.56
Hooker County, Nebraska: Summary level: 050, st...              681           35.83
La Paz County, Arizona: Summary level: 050, sta...            20335           35.17
Citrus County, Florida: Summary level: 050, sta...           139654           34.43
Wheeler County, Oregon: Summary level: 050, sta...             1348           34.35
Highland County, Virginia: Summary level: 050, ...             2244           34.00
Real County, Texas: Summary level: 050, state:4...             3356           33.97
Sierra County, New Mexico: Summary level: 050, ...            11615           33.95
Alcona County, Michigan: Summary level: 050, st...            10550           33.93
Lancaster County, Virginia: Summary level: 050,...            11129           33.91
Llano County, Texas: Summary level: 050, state:...            19323           33.63
Highlands County, Florida: Summary level: 050, ...            98328           33.35
Sarasota County, Florida: Summary level: 050, s...           392038           33.20
McIntosh County, North Dakota: Summary level: 0...             2759           33.09
Northumberland County, Virginia: Summary level:...            12304           33.07
Catron County, New Mexico: Summary level: 050, ...             3583           32.71
Towns County, Georgia: Summary level: 050, stat...            10800           31.82
Hickory County, Missouri: Summary level: 050, s...             9335           31.49
Ontonagon County, Michigan: Summary level: 050,...             6298           30.61
Curry County, Oregon: Summary level: 050, state...            22338           30.48
Union County, Georgia: Summary level: 050, stat...            21725           30.43
Hinsdale County, Colorado: Summary level: 050, ...              874           30.09
Jefferson County, Washington: Summary level: 05...            30083           30.06
McPherson County, South Dakota: Summary level: ...             2263           29.74
McMullen County, Texas: Summary level: 050, sta...              778           29.69
Keweenaw County, Michigan: Summary level: 050, ...             2198           29.66
Baxter County, Arkansas: Summary level: 050, st...            41040           29.57
Indian River County, Florida: Summary level: 05...           142866           29.51

Using the Data Profile Tables

There is more than one way to approach this problem. Let’s see how to use the data profile tables for the same purpose. First, we identify the appropriate table:

>>> print(censusdata.search('acs5', '2015', 'label', '65', tabletype='profile'))
[('DP02PR_0012E', 'SELECTED SOCIAL CHARACTERISTICS IN PUERTO RICO', 'HOUSEHOLDS BY TYPE!!Total households!!Nonfamily households!!Householder living alone!!65 years and over'), ('DP02PR_0012M', 'SELECTED SOCIAL CHARACTERISTICS IN PUERTO RICO', 'HOUSEHOLDS BY TYPE!!Total households!!Nonfamily households!!Householder living alone!!65 years and over'), ('DP02PR_0012PE', 'SELECTED SOCIAL CHARACTERISTICS IN PUERTO RICO', 'HOUSEHOLDS BY TYPE!!Total households!!Nonfamily households!!Householder living alone!!65 years and over'), ('DP02PR_0012PM', 'SELECTED SOCIAL CHARACTERISTICS IN PUERTO RICO', 'HOUSEHOLDS BY TYPE!!Total households!!Nonfamily households!!Householder living alone!!65 years and over'), ('DP02PR_0014E', 'SELECTED SOCIAL CHARACTERISTICS IN PUERTO RICO', 'HOUSEHOLDS BY TYPE!!Total households!!Households with one or more people 65 years and over'), ('DP02PR_0014M', 'SELECTED SOCIAL CHARACTERISTICS IN PUERTO RICO', 'HOUSEHOLDS BY TYPE!!Total households!!Households with one or more people 65 years and over'), ('DP02PR_0014PE', 'SELECTED SOCIAL CHARACTERISTICS IN PUERTO RICO', 'HOUSEHOLDS BY TYPE!!Total households!!Households with one or more people 65 years and over'), ('DP02PR_0014PM', 'SELECTED SOCIAL CHARACTERISTICS IN PUERTO RICO', 'HOUSEHOLDS BY TYPE!!Total households!!Households with one or more people 65 years and over'), ('DP02PR_0076E', 'SELECTED SOCIAL CHARACTERISTICS IN PUERTO RICO', 'DISABILITY STATUS OF THE CIVILIAN NONINSTITUTIONALIZED POPULATION!!65 years and over'), ('DP02PR_0076M', 'SELECTED SOCIAL CHARACTERISTICS IN PUERTO RICO', 'DISABILITY STATUS OF THE CIVILIAN NONINSTITUTIONALIZED POPULATION!!65 years and over'), ('DP02PR_0076PE', 'SELECTED SOCIAL CHARACTERISTICS IN PUERTO RICO', 'DISABILITY STATUS OF THE CIVILIAN NONINSTITUTIONALIZED POPULATION!!65 years and over'), ('DP02PR_0076PM', 'SELECTED SOCIAL CHARACTERISTICS IN PUERTO RICO', 'DISABILITY STATUS OF THE CIVILIAN NONINSTITUTIONALIZED POPULATION!!65 years and over'), ('DP02PR_0077E', 'SELECTED SOCIAL CHARACTERISTICS IN PUERTO RICO', 'DISABILITY STATUS OF THE CIVILIAN NONINSTITUTIONALIZED POPULATION!!65 years and over!!With a disability'), ('DP02PR_0077M', 'SELECTED SOCIAL CHARACTERISTICS IN PUERTO RICO', 'DISABILITY STATUS OF THE CIVILIAN NONINSTITUTIONALIZED POPULATION!!65 years and over!!With a disability'), ('DP02PR_0077PE', 'SELECTED SOCIAL CHARACTERISTICS IN PUERTO RICO', 'DISABILITY STATUS OF THE CIVILIAN NONINSTITUTIONALIZED POPULATION!!65 years and over!!With a disability'), ('DP02PR_0077PM', 'SELECTED SOCIAL CHARACTERISTICS IN PUERTO RICO', 'DISABILITY STATUS OF THE CIVILIAN NONINSTITUTIONALIZED POPULATION!!65 years and over!!With a disability'), ('DP02_0012E', 'SELECTED SOCIAL CHARACTERISTICS IN THE UNITED STATES', 'HOUSEHOLDS BY TYPE!!Total households!!Nonfamily households!!Householder living alone!!65 years and over'), ('DP02_0012M', 'SELECTED SOCIAL CHARACTERISTICS IN THE UNITED STATES', 'HOUSEHOLDS BY TYPE!!Total households!!Nonfamily households!!Householder living alone!!65 years and over'), ('DP02_0012PE', 'SELECTED SOCIAL CHARACTERISTICS IN THE UNITED STATES', 'HOUSEHOLDS BY TYPE!!Total households!!Nonfamily households!!Householder living alone!!65 years and over'), ('DP02_0012PM', 'SELECTED SOCIAL CHARACTERISTICS IN THE UNITED STATES', 'HOUSEHOLDS BY TYPE!!Total households!!Nonfamily households!!Householder living alone!!65 years and over'), ('DP02_0014E', 'SELECTED SOCIAL CHARACTERISTICS IN THE UNITED STATES', 'HOUSEHOLDS BY TYPE!!Total households!!Households with one or more people 65 years and over'), ('DP02_0014M', 'SELECTED SOCIAL CHARACTERISTICS IN THE UNITED STATES', 'HOUSEHOLDS BY TYPE!!Total households!!Households with one or more people 65 years and over'), ('DP02_0014PE', 'SELECTED SOCIAL CHARACTERISTICS IN THE UNITED STATES', 'HOUSEHOLDS BY TYPE!!Total households!!Households with one or more people 65 years and over'), ('DP02_0014PM', 'SELECTED SOCIAL CHARACTERISTICS IN THE UNITED STATES', 'HOUSEHOLDS BY TYPE!!Total households!!Households with one or more people 65 years and over'), ('DP02_0076E', 'SELECTED SOCIAL CHARACTERISTICS IN THE UNITED STATES', 'DISABILITY STATUS OF THE CIVILIAN NONINSTITUTIONALIZED POPULATION!!65 years and over'), ('DP02_0076M', 'SELECTED SOCIAL CHARACTERISTICS IN THE UNITED STATES', 'DISABILITY STATUS OF THE CIVILIAN NONINSTITUTIONALIZED POPULATION!!65 years and over'), ('DP02_0076PE', 'SELECTED SOCIAL CHARACTERISTICS IN THE UNITED STATES', 'DISABILITY STATUS OF THE CIVILIAN NONINSTITUTIONALIZED POPULATION!!65 years and over'), ('DP02_0076PM', 'SELECTED SOCIAL CHARACTERISTICS IN THE UNITED STATES', 'DISABILITY STATUS OF THE CIVILIAN NONINSTITUTIONALIZED POPULATION!!65 years and over'), ('DP02_0077E', 'SELECTED SOCIAL CHARACTERISTICS IN THE UNITED STATES', 'DISABILITY STATUS OF THE CIVILIAN NONINSTITUTIONALIZED POPULATION!!65 years and over!!With a disability'), ('DP02_0077M', 'SELECTED SOCIAL CHARACTERISTICS IN THE UNITED STATES', 'DISABILITY STATUS OF THE CIVILIAN NONINSTITUTIONALIZED POPULATION!!65 years and over!!With a disability'), ('DP02_0077PE', 'SELECTED SOCIAL CHARACTERISTICS IN THE UNITED STATES', 'DISABILITY STATUS OF THE CIVILIAN NONINSTITUTIONALIZED POPULATION!!65 years and over!!With a disability'), ('DP02_0077PM', 'SELECTED SOCIAL CHARACTERISTICS IN THE UNITED STATES', 'DISABILITY STATUS OF THE CIVILIAN NONINSTITUTIONALIZED POPULATION!!65 years and over!!With a disability'), ('DP03_0135E', 'SELECTED ECONOMIC CHARACTERISTICS', 'PERCENTAGE OF FAMILIES AND PEOPLE WHOSE INCOME IN THE PAST 12 MONTHS IS BELOW THE POVERTY LEVEL!!65 years and over'), ('DP03_0135M', 'SELECTED ECONOMIC CHARACTERISTICS', 'PERCENTAGE OF FAMILIES AND PEOPLE WHOSE INCOME IN THE PAST 12 MONTHS IS BELOW THE POVERTY LEVEL!!65 years and over'), ('DP03_0135PE', 'SELECTED ECONOMIC CHARACTERISTICS', 'PERCENTAGE OF FAMILIES AND PEOPLE WHOSE INCOME IN THE PAST 12 MONTHS IS BELOW THE POVERTY LEVEL!!65 years and over'), ('DP03_0135PM', 'SELECTED ECONOMIC CHARACTERISTICS', 'PERCENTAGE OF FAMILIES AND PEOPLE WHOSE INCOME IN THE PAST 12 MONTHS IS BELOW THE POVERTY LEVEL!!65 years and over'), ('DP03_0136E', 'SELECTED ECONOMIC CHARACTERISTICS', 'PERCENTAGE OF FAMILIES AND PEOPLE WHOSE INCOME IN THE PAST 12 MONTHS IS BELOW THE POVERTY LEVEL!!65 years and over!!People in families'), ('DP03_0136M', 'SELECTED ECONOMIC CHARACTERISTICS', 'PERCENTAGE OF FAMILIES AND PEOPLE WHOSE INCOME IN THE PAST 12 MONTHS IS BELOW THE POVERTY LEVEL!!65 years and over!!People in families'), ('DP03_0137E', 'SELECTED ECONOMIC CHARACTERISTICS', 'PERCENTAGE OF FAMILIES AND PEOPLE WHOSE INCOME IN THE PAST 12 MONTHS IS BELOW THE POVERTY LEVEL!!65 years and over!!Unrelated individuals 15 years and over'), ('DP03_0137M', 'SELECTED ECONOMIC CHARACTERISTICS', 'PERCENTAGE OF FAMILIES AND PEOPLE WHOSE INCOME IN THE PAST 12 MONTHS IS BELOW THE POVERTY LEVEL!!65 years and over!!Unrelated individuals 15 years and over'), ('DP05_0014E', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 to 74 years'), ('DP05_0014M', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 to 74 years'), ('DP05_0014PE', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 to 74 years'), ('DP05_0014PM', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 to 74 years'), ('DP05_0021E', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 years and over'), ('DP05_0021M', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 years and over'), ('DP05_0021PE', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 years and over'), ('DP05_0021PM', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 years and over'), ('DP05_0025E', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 years and over'), ('DP05_0025M', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 years and over'), ('DP05_0025PE', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 years and over'), ('DP05_0025PM', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 years and over'), ('DP05_0026E', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 years and over!!Male'), ('DP05_0026M', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 years and over!!Male'), ('DP05_0026PE', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 years and over!!Male'), ('DP05_0026PM', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 years and over!!Male'), ('DP05_0027E', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 years and over!!Female'), ('DP05_0027M', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 years and over!!Female'), ('DP05_0027PE', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 years and over!!Female'), ('DP05_0027PM', 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 years and over!!Female')]
>>> print(censusdata.censustable('acs5', '2015', 'DP05'))
OrderedDict([('DP05_0001E', {'label': 'SEX AND AGE!!Total population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0001M', {'label': 'SEX AND AGE!!Total population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0001PE', {'label': 'SEX AND AGE!!Total population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0001PM', {'label': 'SEX AND AGE!!Total population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0002E', {'label': 'SEX AND AGE!!Total population!!Male', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0002M', {'label': 'SEX AND AGE!!Total population!!Male', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0002PE', {'label': 'SEX AND AGE!!Total population!!Male', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0002PM', {'label': 'SEX AND AGE!!Total population!!Male', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0003E', {'label': 'SEX AND AGE!!Total population!!Female', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0003M', {'label': 'SEX AND AGE!!Total population!!Female', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0003PE', {'label': 'SEX AND AGE!!Total population!!Female', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0003PM', {'label': 'SEX AND AGE!!Total population!!Female', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0004E', {'label': 'SEX AND AGE!!Total population!!Under 5 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0004M', {'label': 'SEX AND AGE!!Total population!!Under 5 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0004PE', {'label': 'SEX AND AGE!!Total population!!Under 5 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0004PM', {'label': 'SEX AND AGE!!Total population!!Under 5 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0005E', {'label': 'SEX AND AGE!!Total population!!5 to 9 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0005M', {'label': 'SEX AND AGE!!Total population!!5 to 9 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0005PE', {'label': 'SEX AND AGE!!Total population!!5 to 9 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0005PM', {'label': 'SEX AND AGE!!Total population!!5 to 9 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0006E', {'label': 'SEX AND AGE!!Total population!!10 to 14 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0006M', {'label': 'SEX AND AGE!!Total population!!10 to 14 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0006PE', {'label': 'SEX AND AGE!!Total population!!10 to 14 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0006PM', {'label': 'SEX AND AGE!!Total population!!10 to 14 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0007E', {'label': 'SEX AND AGE!!Total population!!15 to 19 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0007M', {'label': 'SEX AND AGE!!Total population!!15 to 19 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0007PE', {'label': 'SEX AND AGE!!Total population!!15 to 19 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0007PM', {'label': 'SEX AND AGE!!Total population!!15 to 19 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0008E', {'label': 'SEX AND AGE!!Total population!!20 to 24 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0008M', {'label': 'SEX AND AGE!!Total population!!20 to 24 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0008PE', {'label': 'SEX AND AGE!!Total population!!20 to 24 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0008PM', {'label': 'SEX AND AGE!!Total population!!20 to 24 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0009E', {'label': 'SEX AND AGE!!Total population!!25 to 34 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0009M', {'label': 'SEX AND AGE!!Total population!!25 to 34 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0009PE', {'label': 'SEX AND AGE!!Total population!!25 to 34 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0009PM', {'label': 'SEX AND AGE!!Total population!!25 to 34 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0010E', {'label': 'SEX AND AGE!!Total population!!35 to 44 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0010M', {'label': 'SEX AND AGE!!Total population!!35 to 44 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0010PE', {'label': 'SEX AND AGE!!Total population!!35 to 44 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0010PM', {'label': 'SEX AND AGE!!Total population!!35 to 44 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0011E', {'label': 'SEX AND AGE!!Total population!!45 to 54 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0011M', {'label': 'SEX AND AGE!!Total population!!45 to 54 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0011PE', {'label': 'SEX AND AGE!!Total population!!45 to 54 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0011PM', {'label': 'SEX AND AGE!!Total population!!45 to 54 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0012E', {'label': 'SEX AND AGE!!Total population!!55 to 59 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0012M', {'label': 'SEX AND AGE!!Total population!!55 to 59 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0012PE', {'label': 'SEX AND AGE!!Total population!!55 to 59 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0012PM', {'label': 'SEX AND AGE!!Total population!!55 to 59 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0013E', {'label': 'SEX AND AGE!!Total population!!60 to 64 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0013M', {'label': 'SEX AND AGE!!Total population!!60 to 64 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0013PE', {'label': 'SEX AND AGE!!Total population!!60 to 64 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0013PM', {'label': 'SEX AND AGE!!Total population!!60 to 64 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0014E', {'label': 'SEX AND AGE!!Total population!!65 to 74 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0014M', {'label': 'SEX AND AGE!!Total population!!65 to 74 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0014PE', {'label': 'SEX AND AGE!!Total population!!65 to 74 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0014PM', {'label': 'SEX AND AGE!!Total population!!65 to 74 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0015E', {'label': 'SEX AND AGE!!Total population!!75 to 84 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0015M', {'label': 'SEX AND AGE!!Total population!!75 to 84 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0015PE', {'label': 'SEX AND AGE!!Total population!!75 to 84 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0015PM', {'label': 'SEX AND AGE!!Total population!!75 to 84 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0016E', {'label': 'SEX AND AGE!!Total population!!85 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0016M', {'label': 'SEX AND AGE!!Total population!!85 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0016PE', {'label': 'SEX AND AGE!!Total population!!85 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0016PM', {'label': 'SEX AND AGE!!Total population!!85 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0017E', {'label': 'SEX AND AGE!!Total population!!Median age (years)', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0017M', {'label': 'SEX AND AGE!!Total population!!Median age (years)', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0017PE', {'label': 'SEX AND AGE!!Total population!!Median age (years)', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0017PM', {'label': 'SEX AND AGE!!Total population!!Median age (years)', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0018E', {'label': 'SEX AND AGE!!Total population!!18 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0018M', {'label': 'SEX AND AGE!!Total population!!18 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0018PE', {'label': 'SEX AND AGE!!Total population!!18 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0018PM', {'label': 'SEX AND AGE!!Total population!!18 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0019E', {'label': 'SEX AND AGE!!Total population!!21 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0019M', {'label': 'SEX AND AGE!!Total population!!21 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0019PE', {'label': 'SEX AND AGE!!Total population!!21 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0019PM', {'label': 'SEX AND AGE!!Total population!!21 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0020E', {'label': 'SEX AND AGE!!Total population!!62 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0020M', {'label': 'SEX AND AGE!!Total population!!62 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0020PE', {'label': 'SEX AND AGE!!Total population!!62 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0020PM', {'label': 'SEX AND AGE!!Total population!!62 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0021E', {'label': 'SEX AND AGE!!Total population!!65 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0021M', {'label': 'SEX AND AGE!!Total population!!65 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0021PE', {'label': 'SEX AND AGE!!Total population!!65 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0021PM', {'label': 'SEX AND AGE!!Total population!!65 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0022E', {'label': 'SEX AND AGE!!Total population!!18 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0022M', {'label': 'SEX AND AGE!!Total population!!18 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0022PE', {'label': 'SEX AND AGE!!Total population!!18 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0022PM', {'label': 'SEX AND AGE!!Total population!!18 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0023E', {'label': 'SEX AND AGE!!Total population!!18 years and over!!Male', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0023M', {'label': 'SEX AND AGE!!Total population!!18 years and over!!Male', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0023PE', {'label': 'SEX AND AGE!!Total population!!18 years and over!!Male', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0023PM', {'label': 'SEX AND AGE!!Total population!!18 years and over!!Male', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0024E', {'label': 'SEX AND AGE!!Total population!!18 years and over!!Female', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0024M', {'label': 'SEX AND AGE!!Total population!!18 years and over!!Female', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0024PE', {'label': 'SEX AND AGE!!Total population!!18 years and over!!Female', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0024PM', {'label': 'SEX AND AGE!!Total population!!18 years and over!!Female', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0025E', {'label': 'SEX AND AGE!!Total population!!65 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0025M', {'label': 'SEX AND AGE!!Total population!!65 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0025PE', {'label': 'SEX AND AGE!!Total population!!65 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0025PM', {'label': 'SEX AND AGE!!Total population!!65 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0026E', {'label': 'SEX AND AGE!!Total population!!65 years and over!!Male', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0026M', {'label': 'SEX AND AGE!!Total population!!65 years and over!!Male', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0026PE', {'label': 'SEX AND AGE!!Total population!!65 years and over!!Male', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0026PM', {'label': 'SEX AND AGE!!Total population!!65 years and over!!Male', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0027E', {'label': 'SEX AND AGE!!Total population!!65 years and over!!Female', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0027M', {'label': 'SEX AND AGE!!Total population!!65 years and over!!Female', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0027PE', {'label': 'SEX AND AGE!!Total population!!65 years and over!!Female', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0027PM', {'label': 'SEX AND AGE!!Total population!!65 years and over!!Female', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0028E', {'label': 'RACE!!Total population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0028M', {'label': 'RACE!!Total population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0028PE', {'label': 'RACE!!Total population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0028PM', {'label': 'RACE!!Total population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0029E', {'label': 'RACE!!Total population!!One race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0029M', {'label': 'RACE!!Total population!!One race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0029PE', {'label': 'RACE!!Total population!!One race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0029PM', {'label': 'RACE!!Total population!!One race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0030E', {'label': 'RACE!!Total population!!Two or more races', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0030M', {'label': 'RACE!!Total population!!Two or more races', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0030PE', {'label': 'RACE!!Total population!!Two or more races', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0030PM', {'label': 'RACE!!Total population!!Two or more races', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0031E', {'label': 'RACE!!One race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0031M', {'label': 'RACE!!One race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0031PE', {'label': 'RACE!!One race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0031PM', {'label': 'RACE!!One race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0032E', {'label': 'RACE!!One race!!White', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0032M', {'label': 'RACE!!One race!!White', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0032PE', {'label': 'RACE!!One race!!White', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0032PM', {'label': 'RACE!!One race!!White', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0033E', {'label': 'RACE!!One race!!Black or African American', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0033M', {'label': 'RACE!!One race!!Black or African American', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0033PE', {'label': 'RACE!!One race!!Black or African American', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0033PM', {'label': 'RACE!!One race!!Black or African American', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0034E', {'label': 'RACE!!One race!!American Indian and Alaska Native', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0034M', {'label': 'RACE!!One race!!American Indian and Alaska Native', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0034PE', {'label': 'RACE!!One race!!American Indian and Alaska Native', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0034PM', {'label': 'RACE!!One race!!American Indian and Alaska Native', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0035E', {'label': 'RACE!!One race!!American Indian and Alaska Native!!Cherokee tribal grouping', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0035M', {'label': 'RACE!!One race!!American Indian and Alaska Native!!Cherokee tribal grouping', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0035PE', {'label': 'RACE!!One race!!American Indian and Alaska Native!!Cherokee tribal grouping', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0035PM', {'label': 'RACE!!One race!!American Indian and Alaska Native!!Cherokee tribal grouping', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0036E', {'label': 'RACE!!One race!!American Indian and Alaska Native!!Chippewa tribal grouping', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0036M', {'label': 'RACE!!One race!!American Indian and Alaska Native!!Chippewa tribal grouping', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0036PE', {'label': 'RACE!!One race!!American Indian and Alaska Native!!Chippewa tribal grouping', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0036PM', {'label': 'RACE!!One race!!American Indian and Alaska Native!!Chippewa tribal grouping', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0037E', {'label': 'RACE!!One race!!American Indian and Alaska Native!!Navajo tribal grouping', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0037M', {'label': 'RACE!!One race!!American Indian and Alaska Native!!Navajo tribal grouping', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0037PE', {'label': 'RACE!!One race!!American Indian and Alaska Native!!Navajo tribal grouping', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0037PM', {'label': 'RACE!!One race!!American Indian and Alaska Native!!Navajo tribal grouping', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0038E', {'label': 'RACE!!One race!!American Indian and Alaska Native!!Sioux tribal grouping', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0038M', {'label': 'RACE!!One race!!American Indian and Alaska Native!!Sioux tribal grouping', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0038PE', {'label': 'RACE!!One race!!American Indian and Alaska Native!!Sioux tribal grouping', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0038PM', {'label': 'RACE!!One race!!American Indian and Alaska Native!!Sioux tribal grouping', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0039E', {'label': 'RACE!!One race!!Asian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0039M', {'label': 'RACE!!One race!!Asian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0039PE', {'label': 'RACE!!One race!!Asian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0039PM', {'label': 'RACE!!One race!!Asian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0040E', {'label': 'RACE!!One race!!Asian!!Asian Indian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0040M', {'label': 'RACE!!One race!!Asian!!Asian Indian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0040PE', {'label': 'RACE!!One race!!Asian!!Asian Indian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0040PM', {'label': 'RACE!!One race!!Asian!!Asian Indian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0041E', {'label': 'RACE!!One race!!Asian!!Chinese', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0041M', {'label': 'RACE!!One race!!Asian!!Chinese', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0041PE', {'label': 'RACE!!One race!!Asian!!Chinese', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0041PM', {'label': 'RACE!!One race!!Asian!!Chinese', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0042E', {'label': 'RACE!!One race!!Asian!!Filipino', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0042M', {'label': 'RACE!!One race!!Asian!!Filipino', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0042PE', {'label': 'RACE!!One race!!Asian!!Filipino', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0042PM', {'label': 'RACE!!One race!!Asian!!Filipino', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0043E', {'label': 'RACE!!One race!!Asian!!Japanese', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0043M', {'label': 'RACE!!One race!!Asian!!Japanese', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0043PE', {'label': 'RACE!!One race!!Asian!!Japanese', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0043PM', {'label': 'RACE!!One race!!Asian!!Japanese', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0044E', {'label': 'RACE!!One race!!Asian!!Korean', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0044M', {'label': 'RACE!!One race!!Asian!!Korean', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0044PE', {'label': 'RACE!!One race!!Asian!!Korean', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0044PM', {'label': 'RACE!!One race!!Asian!!Korean', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0045E', {'label': 'RACE!!One race!!Asian!!Vietnamese', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0045M', {'label': 'RACE!!One race!!Asian!!Vietnamese', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0045PE', {'label': 'RACE!!One race!!Asian!!Vietnamese', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0045PM', {'label': 'RACE!!One race!!Asian!!Vietnamese', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0046E', {'label': 'RACE!!One race!!Asian!!Other Asian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0046M', {'label': 'RACE!!One race!!Asian!!Other Asian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0046PE', {'label': 'RACE!!One race!!Asian!!Other Asian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0046PM', {'label': 'RACE!!One race!!Asian!!Other Asian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0047E', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0047M', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0047PE', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0047PM', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0048E', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander!!Native Hawaiian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0048M', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander!!Native Hawaiian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0048PE', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander!!Native Hawaiian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0048PM', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander!!Native Hawaiian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0049E', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander!!Guamanian or Chamorro', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0049M', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander!!Guamanian or Chamorro', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0049PE', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander!!Guamanian or Chamorro', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0049PM', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander!!Guamanian or Chamorro', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0050E', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander!!Samoan', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0050M', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander!!Samoan', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0050PE', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander!!Samoan', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0050PM', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander!!Samoan', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0051E', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander!!Other Pacific Islander', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0051M', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander!!Other Pacific Islander', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0051PE', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander!!Other Pacific Islander', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0051PM', {'label': 'RACE!!One race!!Native Hawaiian and Other Pacific Islander!!Other Pacific Islander', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0052E', {'label': 'RACE!!One race!!Some other race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0052M', {'label': 'RACE!!One race!!Some other race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0052PE', {'label': 'RACE!!One race!!Some other race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0052PM', {'label': 'RACE!!One race!!Some other race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0053E', {'label': 'RACE!!Two or more races', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0053M', {'label': 'RACE!!Two or more races', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0053PE', {'label': 'RACE!!Two or more races', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0053PM', {'label': 'RACE!!Two or more races', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0054E', {'label': 'RACE!!Two or more races!!White and Black or African American', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0054M', {'label': 'RACE!!Two or more races!!White and Black or African American', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0054PE', {'label': 'RACE!!Two or more races!!White and Black or African American', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0054PM', {'label': 'RACE!!Two or more races!!White and Black or African American', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0055E', {'label': 'RACE!!Two or more races!!White and American Indian and Alaska Native', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0055M', {'label': 'RACE!!Two or more races!!White and American Indian and Alaska Native', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0055PE', {'label': 'RACE!!Two or more races!!White and American Indian and Alaska Native', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0055PM', {'label': 'RACE!!Two or more races!!White and American Indian and Alaska Native', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0056E', {'label': 'RACE!!Two or more races!!White and Asian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0056M', {'label': 'RACE!!Two or more races!!White and Asian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0056PE', {'label': 'RACE!!Two or more races!!White and Asian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0056PM', {'label': 'RACE!!Two or more races!!White and Asian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0057E', {'label': 'RACE!!Two or more races!!Black or African American and American Indian and Alaska Native', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0057M', {'label': 'RACE!!Two or more races!!Black or African American and American Indian and Alaska Native', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0057PE', {'label': 'RACE!!Two or more races!!Black or African American and American Indian and Alaska Native', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0057PM', {'label': 'RACE!!Two or more races!!Black or African American and American Indian and Alaska Native', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0058E', {'label': 'Race alone or in combination with one or more other races!!Total population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0058M', {'label': 'Race alone or in combination with one or more other races!!Total population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0058PE', {'label': 'Race alone or in combination with one or more other races!!Total population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0058PM', {'label': 'Race alone or in combination with one or more other races!!Total population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0059E', {'label': 'Race alone or in combination with one or more other races!!Total population!!White', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0059M', {'label': 'Race alone or in combination with one or more other races!!Total population!!White', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0059PE', {'label': 'Race alone or in combination with one or more other races!!Total population!!White', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0059PM', {'label': 'Race alone or in combination with one or more other races!!Total population!!White', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0060E', {'label': 'Race alone or in combination with one or more other races!!Total population!!Black or African American', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0060M', {'label': 'Race alone or in combination with one or more other races!!Total population!!Black or African American', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0060PE', {'label': 'Race alone or in combination with one or more other races!!Total population!!Black or African American', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0060PM', {'label': 'Race alone or in combination with one or more other races!!Total population!!Black or African American', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0061E', {'label': 'Race alone or in combination with one or more other races!!Total population!!American Indian and Alaska Native', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0061M', {'label': 'Race alone or in combination with one or more other races!!Total population!!American Indian and Alaska Native', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0061PE', {'label': 'Race alone or in combination with one or more other races!!Total population!!American Indian and Alaska Native', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0061PM', {'label': 'Race alone or in combination with one or more other races!!Total population!!American Indian and Alaska Native', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0062E', {'label': 'Race alone or in combination with one or more other races!!Total population!!Asian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0062M', {'label': 'Race alone or in combination with one or more other races!!Total population!!Asian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0062PE', {'label': 'Race alone or in combination with one or more other races!!Total population!!Asian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0062PM', {'label': 'Race alone or in combination with one or more other races!!Total population!!Asian', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0063E', {'label': 'Race alone or in combination with one or more other races!!Total population!!Native Hawaiian and Other Pacific Islander', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0063M', {'label': 'Race alone or in combination with one or more other races!!Total population!!Native Hawaiian and Other Pacific Islander', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0063PE', {'label': 'Race alone or in combination with one or more other races!!Total population!!Native Hawaiian and Other Pacific Islander', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0063PM', {'label': 'Race alone or in combination with one or more other races!!Total population!!Native Hawaiian and Other Pacific Islander', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0064E', {'label': 'Race alone or in combination with one or more other races!!Total population!!Some other race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0064M', {'label': 'Race alone or in combination with one or more other races!!Total population!!Some other race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0064PE', {'label': 'Race alone or in combination with one or more other races!!Total population!!Some other race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0064PM', {'label': 'Race alone or in combination with one or more other races!!Total population!!Some other race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0065E', {'label': 'HISPANIC OR LATINO AND RACE!!Total population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0065M', {'label': 'HISPANIC OR LATINO AND RACE!!Total population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0065PE', {'label': 'HISPANIC OR LATINO AND RACE!!Total population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0065PM', {'label': 'HISPANIC OR LATINO AND RACE!!Total population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0066E', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0066M', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0066PE', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0066PM', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0067E', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)!!Mexican', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0067M', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)!!Mexican', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0067PE', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)!!Mexican', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0067PM', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)!!Mexican', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0068E', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)!!Puerto Rican', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0068M', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)!!Puerto Rican', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0068PE', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)!!Puerto Rican', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0068PM', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)!!Puerto Rican', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0069E', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)!!Cuban', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0069M', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)!!Cuban', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0069PE', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)!!Cuban', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0069PM', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)!!Cuban', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0070E', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)!!Other Hispanic or Latino', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0070M', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)!!Other Hispanic or Latino', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0070PE', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)!!Other Hispanic or Latino', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0070PM', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)!!Other Hispanic or Latino', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0071E', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0071M', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0071PE', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0071PM', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0072E', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!White alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0072M', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!White alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0072PE', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!White alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0072PM', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!White alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0073E', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Black or African American alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0073M', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Black or African American alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0073PE', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Black or African American alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0073PM', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Black or African American alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0074E', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!American Indian and Alaska Native alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0074M', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!American Indian and Alaska Native alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0074PE', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!American Indian and Alaska Native alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0074PM', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!American Indian and Alaska Native alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0075E', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Asian alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0075M', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Asian alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0075PE', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Asian alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0075PM', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Asian alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0076E', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Native Hawaiian and Other Pacific Islander alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0076M', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Native Hawaiian and Other Pacific Islander alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0076PE', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Native Hawaiian and Other Pacific Islander alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0076PM', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Native Hawaiian and Other Pacific Islander alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0077E', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Some other race alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0077M', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Some other race alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0077PE', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Some other race alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0077PM', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Some other race alone', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0078E', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Two or more races', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0078M', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Two or more races', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0078PE', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Two or more races', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0078PM', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Two or more races', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0079E', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Two or more races!!Two races including Some other race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0079M', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Two or more races!!Two races including Some other race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0079PE', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Two or more races!!Two races including Some other race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0079PM', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Two or more races!!Two races including Some other race', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0080E', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Two or more races!!Two races excluding Some other race, and Three or more races', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0080M', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Two or more races!!Two races excluding Some other race, and Three or more races', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0080PE', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Two or more races!!Two races excluding Some other race, and Three or more races', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0080PM', {'label': 'HISPANIC OR LATINO AND RACE!!Total population!!Not Hispanic or Latino!!Two or more races!!Two races excluding Some other race, and Three or more races', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0081E', {'label': 'Total housing units', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0081M', {'label': 'Total housing units', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0081PE', {'label': 'Total housing units', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0081PM', {'label': 'Total housing units', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0082E', {'label': 'CITIZEN, VOTING AGE POPULATION!!Citizen, 18 and over population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0082M', {'label': 'CITIZEN, VOTING AGE POPULATION!!Citizen, 18 and over population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0082PE', {'label': 'CITIZEN, VOTING AGE POPULATION!!Citizen, 18 and over population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0082PM', {'label': 'CITIZEN, VOTING AGE POPULATION!!Citizen, 18 and over population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0083E', {'label': 'CITIZEN, VOTING AGE POPULATION!!Citizen, 18 and over population!!Male', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0083M', {'label': 'CITIZEN, VOTING AGE POPULATION!!Citizen, 18 and over population!!Male', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0083PE', {'label': 'CITIZEN, VOTING AGE POPULATION!!Citizen, 18 and over population!!Male', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0083PM', {'label': 'CITIZEN, VOTING AGE POPULATION!!Citizen, 18 and over population!!Male', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0084E', {'label': 'CITIZEN, VOTING AGE POPULATION!!Citizen, 18 and over population!!Female', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0084M', {'label': 'CITIZEN, VOTING AGE POPULATION!!Citizen, 18 and over population!!Female', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0084PE', {'label': 'CITIZEN, VOTING AGE POPULATION!!Citizen, 18 and over population!!Female', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'}), ('DP05_0084PM', {'label': 'CITIZEN, VOTING AGE POPULATION!!Citizen, 18 and over population!!Female', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int'})])
>>> print(censusdata.censusvar('acs5', '2015', ['DP05_0001E', 'DP05_0014PE', 'DP05_0015PE', 'DP05_0016PE']))
JSON variable information includes unexpected number of keys (7, instead of 4):  {'name': 'DP05_0001E', 'label': 'SEX AND AGE!!Total population', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int', 'group': 'N/A', 'limit': 0, 'validValues': []}
JSON variable information includes unexpected number of keys (7, instead of 4):  {'name': 'DP05_0014PE', 'label': 'SEX AND AGE!!Total population!!65 to 74 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int', 'group': 'N/A', 'limit': 0, 'validValues': []}
JSON variable information includes unexpected number of keys (7, instead of 4):  {'name': 'DP05_0015PE', 'label': 'SEX AND AGE!!Total population!!75 to 84 years', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int', 'group': 'N/A', 'limit': 0, 'validValues': []}
JSON variable information includes unexpected number of keys (7, instead of 4):  {'name': 'DP05_0016PE', 'label': 'SEX AND AGE!!Total population!!85 years and over', 'concept': 'ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'predicateType': 'int', 'group': 'N/A', 'limit': 0, 'validValues': []}
{'DP05_0001E': ['ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population', 'int'], 'DP05_0014PE': ['ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!65 to 74 years', 'int'], 'DP05_0015PE': ['ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!75 to 84 years', 'int'], 'DP05_0016PE': ['ACS DEMOGRAPHIC AND HOUSING ESTIMATES', 'SEX AND AGE!!Total population!!85 years and over', 'int']}

After identifying the relevant variables, we download and describe the data, and compute the percent 65+ similarly to how we did so before, except now the computation is somewhat simpler:

>>> county65plus = censusdata.download('acs5', '2015', censusdata.censusgeo([('county', '*')]), ['DP05_0001E', 'DP05_0014PE', 'DP05_0015PE', 'DP05_0016PE',], tabletype='profile')
>>> print(county65plus.describe())
         DP05_0001E  DP05_0014PE  DP05_0015PE  DP05_0016PE
count  3.220000e+03  3220.000000  3220.000000  3220.000000
mean   9.940935e+04     9.605932     5.303882     2.193261
std    3.193055e+05     2.431750     1.625876     0.929203
min    8.500000e+01     2.100000     0.000000     0.000000
25%    1.121800e+04     8.100000     4.200000     1.600000
50%    2.603500e+04     9.400000     5.100000     2.000000
75%    6.643050e+04    10.800000     6.200000     2.600000
max    1.003839e+07    32.500000    14.900000     9.100000
>>> county65plus['percent_65plus'] = county65plus['DP05_0014PE'] + county65plus['DP05_0015PE'] + county65plus['DP05_0016PE']
>>> county65plus = county65plus[['DP05_0001E', 'percent_65plus']]
>>> county65plus = county65plus.rename(columns={'DP05_0001E': 'population_size'})
>>> print(county65plus.describe())
       population_size  percent_65plus
count     3.220000e+03     3220.000000
mean      9.940935e+04       17.103075
std       3.193055e+05        4.391266
min       8.500000e+01        3.300000
25%       1.121800e+04       14.300000
50%       2.603500e+04       16.800000
75%       6.643050e+04       19.400000
max       1.003839e+07       50.900000

Finally, we identify the top 30 counties for population aged 65+, and export data for all counties to CSV:

>>> county65plus.sort_values('percent_65plus', ascending=False, inplace=True)
>>> print(county65plus.head(30))
                                                    population_size  percent_65plus
Sumter County, Florida: Summary level: 050, sta...           108501            50.9
Charlotte County, Florida: Summary level: 050, ...           165783            36.8
Mineral County, Colorado: Summary level: 050, s...              733            36.6
Hooker County, Nebraska: Summary level: 050, st...              681            35.8
La Paz County, Arizona: Summary level: 050, sta...            20335            35.2
Citrus County, Florida: Summary level: 050, sta...           139654            34.4
Wheeler County, Oregon: Summary level: 050, sta...             1348            34.3
Highland County, Virginia: Summary level: 050, ...             2244            34.0
Alcona County, Michigan: Summary level: 050, st...            10550            34.0
Real County, Texas: Summary level: 050, state:4...             3356            34.0
Lancaster County, Virginia: Summary level: 050,...            11129            33.9
Sierra County, New Mexico: Summary level: 050, ...            11615            33.9
Llano County, Texas: Summary level: 050, state:...            19323            33.6
Highlands County, Florida: Summary level: 050, ...            98328            33.3
Sarasota County, Florida: Summary level: 050, s...           392038            33.1
Northumberland County, Virginia: Summary level:...            12304            33.1
McIntosh County, North Dakota: Summary level: 0...             2759            33.1
Catron County, New Mexico: Summary level: 050, ...             3583            32.7
Towns County, Georgia: Summary level: 050, stat...            10800            31.9
Hickory County, Missouri: Summary level: 050, s...             9335            31.5
Ontonagon County, Michigan: Summary level: 050,...             6298            30.6
Union County, Georgia: Summary level: 050, stat...            21725            30.5
Curry County, Oregon: Summary level: 050, state...            22338            30.4
Hinsdale County, Colorado: Summary level: 050, ...              874            30.1
Jefferson County, Washington: Summary level: 05...            30083            30.1
McMullen County, Texas: Summary level: 050, sta...              778            29.7
Keweenaw County, Michigan: Summary level: 050, ...             2198            29.7
McPherson County, South Dakota: Summary level: ...             2263            29.7
Indian River County, Florida: Summary level: 05...           142866            29.6
Baxter County, Arkansas: Summary level: 050, st...            41040            29.5
>>> censusdata.exportcsv('county65plus.csv', county65plus)

Example 3: Downloading State Data

For this example, we will be running a simple linear regression model, so we need an additional import:

>>> import statsmodels.formula.api as sm

We begin by downloading data on some basic socioeconomic characteristics for all U.S. states:

>>> statedata = censusdata.download('acs5', '2015', censusdata.censusgeo([('state', '*')]), ['B01001_001E', 'B19013_001E', 'B19083_001E', 'C17002_001E', 'C17002_002E', 'C17002_003E', 'C17002_004E', 'B03002_001E', 'B03002_003E', 'B03002_004E', 'B03002_012E',])

We then link data on the percent of voters in each state voting Democratic in the 2016 U.S. presidential election:

>>> voting2016 = {
...         censusdata.censusgeo((('state', '01'),)): 34.6,
...         censusdata.censusgeo((('state', '02'),)): 37.7,
...         censusdata.censusgeo((('state', '04'),)): 45.4,
...         censusdata.censusgeo((('state', '05'),)): 33.8,
...         censusdata.censusgeo((('state', '06'),)): 61.6,
...         censusdata.censusgeo((('state', '08'),)): 47.2,
...         censusdata.censusgeo((('state', '09'),)): 54.5,
...         censusdata.censusgeo((('state', '10'),)): 53.4,
...         censusdata.censusgeo((('state', '11'),)): 92.8,
...         censusdata.censusgeo((('state', '12'),)): 47.8,
...         censusdata.censusgeo((('state', '13'),)): 45.6,
...         censusdata.censusgeo((('state', '15'),)): 62.3,
...         censusdata.censusgeo((('state', '16'),)): 27.6,
...         censusdata.censusgeo((('state', '17'),)): 55.4,
...         censusdata.censusgeo((('state', '18'),)): 37.9,
...         censusdata.censusgeo((('state', '19'),)): 42.2,
...         censusdata.censusgeo((('state', '20'),)): 36.2,
...         censusdata.censusgeo((('state', '21'),)): 32.7,
...         censusdata.censusgeo((('state', '22'),)): 38.4,
...         censusdata.censusgeo((('state', '23'),)): 47.9,
...         censusdata.censusgeo((('state', '24'),)): 60.5,
...         censusdata.censusgeo((('state', '25'),)): 60.8,
...         censusdata.censusgeo((('state', '26'),)): 47.3,
...         censusdata.censusgeo((('state', '27'),)): 46.9,
...         censusdata.censusgeo((('state', '28'),)): 39.7,
...         censusdata.censusgeo((('state', '29'),)): 38,
...         censusdata.censusgeo((('state', '30'),)): 36,
...         censusdata.censusgeo((('state', '31'),)): 34,
...         censusdata.censusgeo((('state', '32'),)): 47.9,
...         censusdata.censusgeo((('state', '33'),)): 47.6,
...         censusdata.censusgeo((('state', '34'),)): 55,
...         censusdata.censusgeo((('state', '35'),)): 48.3,
...         censusdata.censusgeo((('state', '36'),)): 58.8,
...         censusdata.censusgeo((('state', '37'),)): 46.7,
...         censusdata.censusgeo((('state', '38'),)): 27.8,
...         censusdata.censusgeo((('state', '39'),)): 43.5,
...         censusdata.censusgeo((('state', '40'),)): 28.9,
...         censusdata.censusgeo((('state', '41'),)): 51.7,
...         censusdata.censusgeo((('state', '42'),)): 47.6,
...         censusdata.censusgeo((('state', '44'),)): 55.4,
...         censusdata.censusgeo((('state', '45'),)): 40.8,
...         censusdata.censusgeo((('state', '46'),)): 31.7,
...         censusdata.censusgeo((('state', '47'),)): 34.9,
...         censusdata.censusgeo((('state', '48'),)): 43.4,
...         censusdata.censusgeo((('state', '49'),)): 27.8,
...         censusdata.censusgeo((('state', '50'),)): 61.1,
...         censusdata.censusgeo((('state', '51'),)): 49.9,
...         censusdata.censusgeo((('state', '53'),)): 54.4,
...         censusdata.censusgeo((('state', '54'),)): 26.5,
...         censusdata.censusgeo((('state', '55'),)): 46.9,
...         censusdata.censusgeo((('state', '56'),)): 22.5,
... }
>>> voting2016 = pd.DataFrame.from_dict(voting2016, orient='index')
>>> statedata['percent_democratic_pres_2016'] = voting2016

We then rename columns, compute some additional variables, and rescale some variables to make regression coefficients more easily interpretable:

>>> statedata = statedata.rename(columns={'B01001_001E': 'population_size'})
>>> statedata.population_size = statedata.population_size / 100000
>>> statedata = statedata.rename(columns={'B19013_001E': 'median_HH_income'})
>>> statedata['median_HH_income'] = statedata['median_HH_income'] / 1000
>>> statedata = statedata.rename(columns={'B19083_001E': 'gini_index'})
>>> statedata.gini_index = statedata.gini_index * 100
>>> statedata['percent_below_125_poverty'] = (statedata['C17002_002E'] + statedata['C17002_003E'] + statedata['C17002_004E']) / statedata['C17002_001E'] * 100
>>> statedata['percent_nonhisp_white'] = statedata['B03002_003E'] / statedata['B03002_001E'] * 100
>>> statedata['percent_nonhisp_black'] = statedata['B03002_004E'] / statedata['B03002_001E'] * 100
>>> statedata['percent_hispanic'] = statedata['B03002_012E'] / statedata['B03002_001E'] * 100

We run a quick check on the data and then delete variables we no longer need:

>>> assert (statedata['population_size'] == statedata['B03002_001E'] / 100000).all()
>>> for column in ['C17002_001E', 'C17002_002E', 'C17002_003E', 'C17002_004E', 'B03002_001E', 'B03002_003E', 'B03002_004E', 'B03002_012E',]:
...         del statedata[column]
...

We are only interested in the 50 states + DC, so we drop Puerto Rico:

>>> statedata = statedata.drop([censusdata.censusgeo([('state', '72')])])

Finally, we reorder the variables and run simple descriptives:

>>> statedata = statedata.reindex(columns=['percent_democratic_pres_2016', 'population_size', 'median_HH_income', 'percent_below_125_poverty', 'gini_index', 'percent_nonhisp_white', 'percent_nonhisp_black', 'percent_hispanic'])
>>> print(statedata.describe())
       percent_democratic_pres_2016  population_size  median_HH_income  percent_below_125_poverty  gini_index  percent_nonhisp_white  percent_nonhisp_black  percent_hispanic
count                         51.00            51.00             51.00                      51.00       51.00                  51.00                  51.00             51.00
mean                          45.05            62.06             54.64                      19.44       46.22                  69.53                  10.91             11.20
std                           12.41            70.53              9.16                       3.94        2.14                  16.12                  10.77             10.06
min                           22.50             5.80             39.66                      11.84       41.81                  22.89                   0.44              1.37
25%                           36.10            17.34             47.55                      16.25       44.81                  58.43                   3.17              4.72
50%                           46.70            43.97             53.00                      20.08       46.26                  73.60                   7.12              8.84
75%                           52.55            68.46             60.68                      22.45       47.59                  81.23                  14.92             12.88
max                           92.80           384.21             74.55                      28.96       53.17                  93.88                  47.98             47.36

Then we examine bivariate correlations prior to running a linear regression model:

>>> print(statedata.corr())
                              percent_democratic_pres_2016  population_size  median_HH_income  percent_below_125_poverty  gini_index  percent_nonhisp_white  percent_nonhisp_black  percent_hispanic
percent_democratic_pres_2016                          1.00             0.24              0.57                      -0.21        0.47                  -0.53                   0.34              0.26
population_size                                       0.24             1.00              0.03                       0.18        0.43                  -0.40                   0.11              0.53
median_HH_income                                      0.57             0.03              1.00                      -0.81       -0.09                  -0.27                  -0.06              0.11
percent_below_125_poverty                            -0.21             0.18             -0.81                       1.00        0.48                  -0.23                   0.39              0.19
gini_index                                            0.47             0.43             -0.09                       0.48        1.00                  -0.45                   0.61              0.28
percent_nonhisp_white                                -0.53            -0.40             -0.27                      -0.23       -0.45                   1.00                  -0.46             -0.63
percent_nonhisp_black                                 0.34             0.11             -0.06                       0.39        0.61                  -0.46                   1.00             -0.13
percent_hispanic                                      0.26             0.53              0.11                       0.19        0.28                  -0.63                  -0.13              1.00
>>> result = sm.ols(formula="percent_democratic_pres_2016 ~ population_size + median_HH_income + percent_nonhisp_black + percent_hispanic", data=statedata).fit()
>>> print(result.summary())
                                 OLS Regression Results
========================================================================================
Dep. Variable:     percent_democratic_pres_2016   R-squared:                       0.532
Model:                                      OLS   Adj. R-squared:                  0.492
Method:                           Least Squares   F-statistic:                     13.08
Date:                          Sat, 22 Jul 2017   Prob (F-statistic):           3.42e-07
Time:                                  11:22:54   Log-Likelihood:                -180.94
No. Observations:                            51   AIC:                             371.9
Df Residuals:                                46   BIC:                             381.5
Df Model:                                     4
Covariance Type:                      nonrobust
=========================================================================================
                            coef    std err          t      P>|t|      [0.025      0.975]
-----------------------------------------------------------------------------------------
Intercept                -5.7076      7.801     -0.732      0.468     -21.409       9.994
population_size           0.0121      0.021      0.563      0.576      -0.031       0.055
median_HH_income          0.7715      0.138      5.603      0.000       0.494       1.049
percent_nonhisp_black     0.4551      0.120      3.790      0.000       0.213       0.697
percent_hispanic          0.2578      0.151      1.704      0.095      -0.047       0.562
==============================================================================
Omnibus:                        2.104   Durbin-Watson:                   1.637
Prob(Omnibus):                  0.349   Jarque-Bera (JB):                1.237
Skew:                           0.208   Prob(JB):                        0.539
Kurtosis:                       3.640   Cond. No.                         647.
==============================================================================
Warnings:
[1] Standard Errors assume that the covariance matrix of the errors is correctly specified.

In this simple model, the percentage voting Democratic is not significantly associated with population size or % Hispanic, at the p<.05 level. It is significantly associated with median household income and the % non-Hispanic black. Every $1,000 increase in median household income is associated with an increase of just under 1 percentage point in the Democratic vote. Every one percentage point increase in the % non-Hispanic black is associated with about a half a percentage point increase in the Democratic vote. Of course,

  1. The outcome variable is not continuous, due to its bounded range, and this model does not account for this (it is essentially a linear probability model);
  2. The choice of covariates is simplistic and just designed to demonstrate fitting a model;
  3. We might consider robust standard errors for this model.