Search Demographics Example

This is an example of searching by county.

python3 search_demographics.py
Please select one of the following choices:
1. Search by county
2. Search by state
3. Search by population
0. Quit

Enter selection: 1
County name (or prefix)? Bronx County

================================================================================
|          County |  State |   Ed-HS|   H-Own%|  # House | Pop-2020 | Pop. PSQM|
--------------------------------------------------------------------------------
|    Bronx County |     NY |   72.8 |     19.7|   503829 |  1472654 |     32903|
--------------------------------------------------------------------------------

Please select one of the following choices:
1. Search by county
2. Search by state
3. Search by population
0. Quit

Enter selection: 1
County name (or prefix)? Cook County

================================================================================
|          County |  State |   Ed-HS|   H-Own%|  # House | Pop-2020 | Pop. PSQM|
--------------------------------------------------------------------------------
|     Cook County |     IL |   87.1 |     56.9|  1972108 |  5275541 |      5495|
|     Cook County |     GA |   79.1 |     66.4|     6217 |    17229 |        75|
|     Cook County |     MN |   97.1 |     76.9|     2691 |     5600 |         3|
--------------------------------------------------------------------------------

Please select one of the following choices:
1. Search by county
2. Search by state
3. Search by population
0. Quit

Enter selection: 1
County name (or prefix)? Swarthmore

No records found

Please select one of the following choices:
1. Search by county
2. Search by state
3. Search by population
0. Quit

Enter selection: 0

Goodbye!

python3 search_demographics.py

Please select one of the following choices:
1. Search by county
2. Search by state
3. Search by population
0. Quit

Enter selection: 1
County name (or prefix)? Ada

================================================================================
|          County |  State |   Ed-HS|   H-Own%|  # House | Pop-2020 | Pop. PSQM|
--------------------------------------------------------------------------------
|      Ada County |     ID |   95.2 |     69.3|   173353 |   494967 |       372|
|    Adair County |     IA |   94.2 |     74.3|     3200 |     7496 |        13|
|    Adair County |     KY |   79.6 |     76.1|     6977 |    18903 |        46|
|    Adair County |     MO |   90.1 |     60.1|     9258 |    25314 |        45|
|    Adair County |     OK |   80.8 |     69.3|     7733 |    19495 |        39|
|    Adams County |     CO |   83.8 |     66.2|   166450 |   519572 |       378|
|    Adams County |     IA |   93.8 |     81.7|     1598 |     3704 |         9|
|    Adams County |     ID |   90.2 |     80.3|     1757 |     4379 |         2|
|    Adams County |     IL |   92.5 |     71.8|    27112 |    65737 |        78|
|    Adams County |     IN |   84.7 |     77.1|    12481 |    35809 |       101|
|    Adams County |     MS |   77.9 |     62.4|    11237 |    29538 |        69|
|    Adams County |     ND |   94.5 |     73.5|     1035 |     2200 |         2|
|    Adams County |     NE |   90.0 |     66.5|    12712 |    31205 |        55|
|    Adams County |     OH |   80.2 |     70.8|    10673 |    27477 |        48|
|    Adams County |     PA |   88.8 |     78.0|    39345 |   103852 |       195|
|    Adams County |     WA |   66.9 |     63.1|     5973 |    20613 |         9|
|    Adams County |     WI |   87.5 |     83.3|     9062 |    20654 |        32|
--------------------------------------------------------------------------------

Please select one of the following choices:
1. Search by county
2. Search by state
3. Search by population
0. Quit

Enter selection: 0

Goodbye!