Open vr00n opened 5 years ago
Interesting... so that gives us the raw data, and then we would need to copy the front-end code to replicate the report? Or just mess with the page source to plug in the appropriate query?
Exactly. Im not enough of a front end programmer to reverse engineer that bit but it seems standardized text - so just need to plug in the numbers.
...and here's the master list of variables!
https://api.census.gov/data/2017/acs/acs5/profile/variables/
I just tried for single variable "DP02_0065PE", "Percent!!EDUCATIONAL ATTAINMENT!!Graduate or professional degree" and received a result.
So we can create customized reports!
Any noteworthy takeaways so far?
Here is a look at NY 14 where it features in top-3 and bottom-3 compared to all other NY CDs https://docs.google.com/spreadsheets/d/e/2PACX-1vS-aiZVt79sEY_9EECR2RTEm79hL0fJ9u5v-KhCoSoBOWBi_EAQZUL5yqprq4LN2mmK2PFv637s0Kir/pubhtml?gid=1453527182&single=true
Measure | % value | NY 14's RANK |
---|---|---|
Percent Estimate!!HEALTH INSURANCE COVERAGE!!Civilian noninstitutionalized population!!Civilian noninstitutionalized population 19 to 64 years!!In labor force!!Employed!!No health insurance coverage | 22 | 1 |
Percent Estimate!!HEALTH INSURANCE COVERAGE!!Civilian noninstitutionalized population!!Civilian noninstitutionalized population 19 to 64 years!!Not in labor force!!No health insurance coverage | 19.9 | 1 |
Percent Estimate!!HEALTH INSURANCE COVERAGE!!Civilian noninstitutionalized population!!No health insurance coverage | 15.2 | 1 |
Percent Estimate!!HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)!!Mexican | 9.1 | 1 |
Percent Estimate!!HOUSEHOLDS BY TYPE!!Total households!!Family households (families)!!Male householder no wife present family | 8.2 | 1 |
Percent Estimate!!HOUSEHOLDS BY TYPE!!Total households!!Family households (families)!!Male householder no wife present family!!With own children of the householder under 18 years | 3.1 | 1 |
Percent Estimate!!INDUSTRY!!Civilian employed population 16 years and over!!Arts entertainment and recreation and accommodation and food services | 15.7 | 1 |
Percent Estimate!!LANGUAGE SPOKEN AT HOME!!Population 5 years and over!!Language other than English | 68.3 | 1 |
Percent Estimate!!RACE!!Total population!!One race!!Native Hawaiian and Other Pacific Islander | 0.1 | 1 |
Percent Estimate!!SEX AND AGE!!Total population!!35 to 44 years | 15.3 | 1 |
Percent Estimate!!UNITS IN STRUCTURE!!Total housing units!!Boat RV van etc. | 0.1 | 1 |
Percent Estimate!!ANCESTRY!!Total population!!Greek | 1.6 | 2 |
Percent Estimate!!HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)!!Cuban | 0.7 | 2 |
Percent Estimate!!INDUSTRY!!Civilian employed population 16 years and over!!Construction | 7.9 | 2 |
Percent Estimate!!INDUSTRY!!Civilian employed population 16 years and over!!Other services except public administration | 6.6 | 2 |
Percent Estimate!!LANGUAGE SPOKEN AT HOME!!Population 5 years and over!!Language other than English!!Speak English less than very well | 35.7 | 2 |
Percent Estimate!!OCCUPANTS PER ROOM!!Occupied housing units!!1.51 or more | 5.1 | 2 |
Percent Estimate!!PLACE OF BIRTH!!Total population!!Foreign born | 46.2 | 2 |
Percent Estimate!!Race alone or in combination with one or more other races!!Total population!!Native Hawaiian and Other Pacific Islander | 0.3 | 2 |
Percent Estimate!!RACE!!Total population!!One race!!Asian!!Filipino | 1.7 | 2 |
Percent Estimate!!RACE!!Total population!!One race!!Asian!!Other Asian | 4.4 | 2 |
Percent Estimate!!RELATIONSHIP!!Population in households!!Other relatives | 13.5 | 2 |
Percent Estimate!!SELECTED MONTHLY OWNER COSTS (SMOC)!!Housing units without a mortgage!!$800 to $999 | 22.9 | 2 |
Percent Estimate!!SEX AND AGE!!Total population!!18 years and over!!Male | 50 | 2 |
Percent Estimate!!SEX AND AGE!!Total population!!Male | 50.4 | 2 |
Percent Estimate!!EDUCATIONAL ATTAINMENT!!Population 25 years and over!!Less than 9th grade | 14.2 | 3 |
Percent Estimate!!GROSS RENT!!Occupied units paying rent!!$1 000 to $1 499 | 41 | 3 |
Percent Estimate!!GROSS RENT!!Occupied units paying rent!!$1 500 to $1 999 | 30.8 | 3 |
Percent Estimate!!HEALTH INSURANCE COVERAGE!!Civilian noninstitutionalized population!!Civilian noninstitutionalized population 19 to 64 years!!In labor force!!Unemployed!!No health insurance coverage | 25.1 | 3 |
Percent Estimate!!HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race) | 49 | 3 |
Percent Estimate!!HISPANIC OR LATINO AND RACE!!Total population!!Hispanic or Latino (of any race)!!Other Hispanic or Latino | 29.5 | 3 |
Percent Estimate!!INCOME AND BENEFITS (IN 2017 INFLATION-ADJUSTED DOLLARS)!!Families!!$25 000 to $34 999 | 10.6 | 3 |
Percent Estimate!!INCOME AND BENEFITS (IN 2017 INFLATION-ADJUSTED DOLLARS)!!Families!!$35 000 to $49 999 | 13.8 | 3 |
Percent Estimate!!INCOME AND BENEFITS (IN 2017 INFLATION-ADJUSTED DOLLARS)!!Total households!!$50 000 to $74 999 | 19.1 | 3 |
Percent Estimate!!LANGUAGE SPOKEN AT HOME!!Population 5 years and over!!Spanish | 42.8 | 3 |
Percent Estimate!!LANGUAGE SPOKEN AT HOME!!Population 5 years and over!!Spanish!!Speak English less than very well | 22.7 | 3 |
Percent Estimate!!OCCUPANTS PER ROOM!!Occupied housing units!!1.01 to 1.50 | 7.6 | 3 |
Percent Estimate!!OCCUPATION!!Civilian employed population 16 years and over!!Service occupations | 27.4 | 3 |
Percent Estimate!!Race alone or in combination with one or more other races!!Total population!!Some other race | 23.9 | 3 |
Percent Estimate!!RACE!!Total population!!One race!!Asian!!Asian Indian | 4 | 3 |
Percent Estimate!!RACE!!Total population!!One race!!Asian!!Vietnamese | 0.3 | 3 |
Percent Estimate!!RACE!!Total population!!One race!!Some other race | 22.6 | 3 |
Percent Estimate!!ROOMS!!Total housing units!!3 rooms | 28.1 | 3 |
Percent Estimate!!SELECTED MONTHLY OWNER COSTS AS A PERCENTAGE OF HOUSEHOLD INCOME (SMOCAPI)!!Housing units with a mortgage (excluding units where SMOCAPI cannot be computed)!!35.0 percent or more | 44 | 3 |
Percent Estimate!!U.S. CITIZENSHIP STATUS!!Foreign-born population!!Not a U.S. citizen | 54.4 | 3 |
Percent Estimate!!UNITS IN STRUCTURE!!Total housing units!!3 or 4 units | 15.7 | 3 |
Percent Estimate!!ANCESTRY!!Total population!!French (except Basque) | 0.4 | 25 |
Percent Estimate!!EDUCATIONAL ATTAINMENT!!Population 25 years and over!!Graduate or professional degree | 9.1 | 25 |
Percent Estimate!!GROSS RENT!!Occupied units paying rent!!Less than $500 | 4.8 | 25 |
Percent Estimate!!HEALTH INSURANCE COVERAGE!!Civilian noninstitutionalized population!!Civilian noninstitutionalized population 19 to 64 years!!In labor force!!Unemployed!!With health insurance coverage | 74.9 | 25 |
Percent Estimate!!INDUSTRY!!Civilian employed population 16 years and over!!Educational services and health care and social assistance | 21.8 | 25 |
Percent Estimate!!PLACE OF BIRTH!!Total population!!Native!!Born in United States!!State of residence | 44 | 25 |
Percent Estimate!!U.S. CITIZENSHIP STATUS!!Foreign-born population!!Naturalized U.S. citizen | 45.6 | 25 |
Percent Estimate!!HEALTH INSURANCE COVERAGE!!Civilian noninstitutionalized population!!Civilian noninstitutionalized population 19 to 64 years!!In labor force!!Employed!!With health insurance coverage | 78 | 26 |
Percent Estimate!!HEALTH INSURANCE COVERAGE!!Civilian noninstitutionalized population!!Civilian noninstitutionalized population 19 to 64 years!!In labor force!!Employed!!With health insurance coverage!!With private health insurance | 61.9 | 26 |
Percent Estimate!!OCCUPANTS PER ROOM!!Occupied housing units!!1.00 or less | 87.2 | 26 |
Percent Estimate!!OCCUPATION!!Civilian employed population 16 years and over!!Management business science and arts occupations | 29.1 | 26 |
Percent Estimate!!PLACE OF BIRTH!!Total population!!Native | 53.8 | 26 |
Percent Estimate!!PLACE OF BIRTH!!Total population!!Native!!Born in United States | 49.4 | 26 |
Percent Estimate!!SEX AND AGE!!Total population!!18 years and over!!Female | 50 | 26 |
Percent Estimate!!SEX AND AGE!!Total population!!Female | 49.6 | 26 |
Percent Estimate!!EMPLOYMENT STATUS!!Females 16 years and over!!In labor force!!Civilian labor force!!Employed | 0 | 27 |
Percent Estimate!!HEALTH INSURANCE COVERAGE!!Civilian noninstitutionalized population!!Civilian noninstitutionalized population 19 to 64 years!!Not in labor force!!With health insurance coverage | 80.1 | 27 |
Percent Estimate!!HEALTH INSURANCE COVERAGE!!Civilian noninstitutionalized population!!With health insurance coverage | 84.8 | 27 |
Percent Estimate!!LANGUAGE SPOKEN AT HOME!!Population 5 years and over!!English only | 31.7 | 27 |
Percent Estimate!!Race alone or in combination with one or more other races!!Total population!!Black or African American | 0 | 27 |
Awesome... seems like there are lots of non-obvious findings in that list besides just "asian and lower income"
Hey @christophertull i just found out that the vars i used were from 2011 and not 2017 census. I just updated my comment above
@patwater, I had to delete the tweet :/
https://www.census.gov/acs/www/data/data-tables-and-tools/narrative-profiles/2017/ is a Beta feature that converts census data to readable narratives about a specific
census geography
.Currently it supports only these census geos
BUT I was able to take a look under the hood and generate the API calls to return data by
Congressional Districts
!!!Example: to the site uses this api call to retrieve data about Occupied Housing Characteristics for a census tract and populate that section on the page for that census tract.
This is the URL of that API call
However, changing the last few URL params to:
&for=congressional%20district%3A14&in=state%3A36
gives us values forcongressional districts
for the14
th district instate=36
(NY)So we can now create narrative profiles for Congressional Districts!!!