User:Straughn/2020 Census

From Wikipedia, the free encyclopedia

I've created this subpage for my reference, and hopefully yours as well. Many pages for populated places in the United States have not been updated with relevant information from the 2020 Census. Here's an example from Leonore, Illinois, which hasn't been updated since 2000:

As of the census of 2000, there were 110 people, 52 households, and 30 families residing in the village. The population density was 1,279.8 people per square mile (471.9/km2). There were 54 housing units at an average density of 628.3 per square mile (231.7/km2). The racial makeup of the village was 99.09% White, and 0.91% from two or more races. Hispanic or Latino of any race were 1.82% of the population.

There were 52 households, out of which 17.3% had children under the age of 18 living with them, 55.8% were married couples living together, 3.8% had a female householder with no husband present, and 40.4% were non-families. 34.6% of all households were made up of individuals, and 17.3% had someone living alone who was 65 years of age or older. The average household size was 2.12 and the average family size was 2.71.

In the village, the population was spread out, with 14.5% under the age of 18, 8.2% from 18 to 24, 30.0% from 25 to 44, 21.8% from 45 to 64, and 25.5% who were 65 years of age or older. The median age was 43 years. For every 100 females, there were 96.4 males. For every 100 females age 18 and over, there were 100.0 males.

The median income for a household in the village was $36,250, and the median income for a family was $53,750. Males had a median income of $30,750 versus $26,250 for females. The per capita income for the village was $19,465. There were no families and 1.8% of the population living below the poverty line, including no under eighteens and 6.5% of those over 64.

Most pages include language that is very much like this. However, it is often not easy to find this information in Census tables. Here's how to find it:

Finding 2020 Census data[edit]

Start by going to the Census's data page: https://data.census.gov/cedsci/

From there, enter the name of the place you want information on. You'll see something like the screenshot to the right. Click on the bolded entry, as that will give you a good data snapshot. In other cases, you will need to get information from tables. To do that, you'll run a search, then select the Tables tab. Here's where each piece of information above can be found.

Information Location Example from above Sample API Query (Townships in Illinois)
Total population Place profile there were 110 people, https://api.census.gov/data/2020/dec/pl?get=NAME,P1_001N,P1_003N,P1_004N,P1_005N,P1_006N,P1_007N,P1_008N,P1_009N,P2_002N,H1_001N&for=county%20subdivision:*&in=state:17
Total households Place profile 52 households, https://api.census.gov/data/2020/acs/acs5/subject?get=NAME,S1101_C01_001E,S1101_C01_002E,S1101_C01_003E,S1101_C01_004E&for=county%20subdivision:*&in=state:17 (Total households, avg. household size, total families, avg. family size)
Total families Table S1101 HOUSEHOLDS AND FAMILIES and 30 families residing in the village. https://api.census.gov/data/2020/acs/acs5/subject?get=NAME,S1101_C01_001E,S1101_C01_002E,S1101_C01_003E,S1101_C01_004E&for=county%20subdivision:*&in=state:17
Area U.S. Census Gazetteer[1] The population density... Calculated
Population Density Divide the total population by the area from the above source.

Use Template:Convert to do this. These are rounded to the nearest decimal.

was 1,279.8 people per square mile (471.9/km2) Calculated
Total housing units Place profile There were 54 housing units https://api.census.gov/data/2020/dec/pl?get=NAME,H1_001N&for=county%20subdivision:*&in=state:17
Housing unit density Divide the total housing units by the area from the above source. See population density. at an average density of 628.3 per square mile (231.7/km2). Calculated
Race Table P1 RACE

or Table P2 HISPANIC OR LATINO, AND NOT HISPANIC OR LATINO BY RACE

or Place profile

Include as many racial groups as are identified in the data. Round to the nearest hundredth.

The racial makeup of the village was 99.09% White, and 0.91% from two or more races. https://api.census.gov/data/2020/dec/pl?get=NAME,P1_001N,P1_003N,P1_004N,P1_005N,P1_006N,P1_007N,P1_008N,P1_009N,P2_002N,H1_001N&for=county%20subdivision:*&in=state:17 (Total population, White, Black, American Indian, Asian, Pacific Islander, Other, two or more races, Hispanic, Housing Units)
Hispanic or Latinx Table P2 HISPANIC OR LATINO, AND NOT HISPANIC OR LATINO BY RACE

or Place profile

Hispanic or Latino of any race were 1.82% of the population. See above
Households Table S1101 HOUSEHOLDS AND FAMILIES There were 52 households, out of which 17.3% had children under the age of 18 living with them, 55.8% were married couples living together, 3.8% had a female householder with no husband present, and 40.4% were non-families. 34.6% of all households were made up of individuals, and 17.3% had someone living alone who was 65 years of age or older. The average household size was 2.12 and the average family size was 2.71. Total households: S1101_C01_001E

Households with children 18 or under: S1101_C01_010E

Married couple households: S1101_C02_001E

Female householder with no spouse present: S1101_C04_001E

Non-family:

Householder living alone: S1101_C01_012E %

Households consisting of someone 65 or older living alone: S1101_C01_013E

Age and Sex Table S0101 AGE AND SEX In the village, the population was spread out, with 14.5% under the age of 18, 8.2% from 18 to 24, 30.0% from 25 to 44, 21.8% from 45 to 64, and 25.5% who were 65 years of age or older. The median age was 43 years. For every 100 females, there were 96.4 males. For every 100 females age 18 and over, there were 100.0 males. % Under 18: S0101_C02_022E

18-24: S0101_C02_023E 25-29: S0101_C02_007E 30-34: S0101_C02_008E 35-39: S0101_C02_009E 40-44: S0101_C02_010E 45-49: S0101_C02_011E 50-54: S0101_C02_012E 55-59: S0101_C02_013E 60-64: S0101_C02_014E over 64: S0101_C02_030E

median age:

males per 100 females: S0101_C01_033E males over 18: S0101_C03_026E females over 18:S0101_C05_026E

Median income Place profile The median income for a household in the village was $36,250, and the median income for a family was $53,750. https://api.census.gov/data/2020/acs/acs5/subject?get=NAME,S1901_C01_012E,S1901_C02_012E&for=county%20subdivision:*&in=state:17 (Median household income, median family income)
Income by sex This varies greatly and I have issues with it. A lot of articles use S1903 MEDIAN INCOME IN THE PAST 12 MONTHS, but they seem to be using data for male and female householders, rather than individuals.

I prefer Table S2411 OCCUPATION BY SEX AND MEDIAN EARNINGS IN THE PAST 12 MONTHS

Males had a median income of $30,750 versus $26,250 for females. The per capita income for the village was $19,465. https://api.census.gov/data/2020/acs/acs5/subject?get=NAME,S2411_C02_001E,S2411_C03_001E&for=county%20subdivision:*&in=state:17 (Male earnings, female earnings)
Per capita income S1902 MEAN INCOME IN THE PAST 12 MONTHS (IN 2020 INFLATION-ADJUSTED DOLLARS) The per capita income for the village was $19,465. S1902_C03_019E
Poverty of families S1702 POVERTY STATUS IN THE PAST 12 MONTHS OF FAMILIES There were no families... https://api.census.gov/data/2020/acs/acs5/subject?get=NAME,S2411_C02_001E,S2411_C03_001E,S1902_C03_019E,S1702_C02_001E&for=county%20subdivision:*&in=state:17 (male income, female income, % of families below poverty line)
Poverty of individuals S1701 POVERTY STATUS IN THE PAST 12 MONTHS and 1.8% of the population living below the poverty line, including no under eighteens and 6.5% of those over 64. S1701_C03_001E (% population below poverty line)

S1701_C03_002E (% under 18 below poverty line) S1701_C03_010E (% 65 and over below poverty line)

API Queries[edit]

I've used the Census API to pull data to make things easier. This has to be pulled from a variety of APIs; see the above table for some examples and data points. Here are some examples for townships in Illinois. Refer to the Census API documentation for details on how to adjust this for municipalites, counties, etc.

Race, Total Population[edit]

https://api.census.gov/data/2020/dec/pl?get=NAME,P1_001N,P1_003N,P1_004N,P1_005N,P1_006N,P1_007N,P1_008N,P1_009N,P2_002N,H1_001N&for=county%20subdivision:*&in=state:17

This queries the 2020 Census: total population, population by race and ethnicity, total number of housing units.

Total Families and Households, Family and Household Size[edit]

https://api.census.gov/data/2020/acs/acs5/subject?get=NAME,S1101_C01_001E,S1101_C01_002E,S1101_C01_003E,S1101_C01_004E&for=county%20subdivision:*&in=state:17

Some notes[edit]

  • Census data is collected in various ways at various times. Not all of the data we want is from the 2020 Census, some of it comes from the 2020 American Community Survey, which collects different data in different ways. This means that data may conflict or vary.
  • Don't forget to edit the data in other places.
    • Total population is usually mentioned in the opening paragraph.
    • Other information is usually found in the Infobox
    • There are often tables showing historical populations

References and links[edit]

  1. ^ Bureau, US Census. "Gazetteer Files". Census.gov. Retrieved 2022-06-08.