Vote up to Idea Missing counties Vote down to Idea Missing counties

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=

Comment

Submitted by 10 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.

    10 months ago
  2. census_user2014 Idea Submitter

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

    10 months ago
  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.

    10 months ago
  4. census_user2014 Idea Submitter

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

    10 months ago

Events

  1. The idea was posted
    10 months ago