Vote up to Idea Missing counties
Voting Disabled
Vote down to Idea Missing counties

Rank149

Idea#225

This idea is active.
API Technical Discussions »

Missing counties

API calls are only returning some of the counties in a state. For example, this call will only return 53 of the 254 counties in Texas.

http://api.census.gov/data/2012/acs1?get=B19101_001E&for=county:*&key=

Submitted by census_user2014 5 months ago

Events

  1. The idea was posted
    5 months ago

Comments (4)

  1. The county codes we use are FIPS codes which allow for sorting of counties alphabetically. Gaps are left in the numbering in the event a county name changes the entire list does not need to be renumbered losing code comparability. See the county code lists at www.census.gov/geo/reference/codes/cou.html for a list of all count codes. You will see that there are very few states with even number county codes.

    5 months ago
    1 Agreed
    0 Disagreed
  2. census_user2014 Idea Submitter

    Thank you. Can you point me to where to find the other 201 Texas counties?

    5 months ago
    0 Agreed
    0 Disagreed
  3. It looks like you are calling the ACS 1-year estimates. These estimates are only available for geographies with a population of 65,000 or more. In order to see all of the counties in Texas you need to use the ACS 5-year estimates.

    5 months ago
    4 Agreed
    0 Disagreed
  4. census_user2014 Idea Submitter

    Thanks! It was confusing that it was only returning some of them.

    5 months ago
    0 Agreed
    0 Disagreed