Using Data

Block Data from ACS

In looking at the geography levels supported by 2012 ACS, I don't see block-level data. See: http://api.census.gov/data/2012/acs5/profile/geography.json I am looking for block data support like this (that I'm using from 2010 decennial survey): { "name": "block", "requires": [ "state", "county", "tract" ] } (http://api.census.gov/data/2010/sf1/geography.json) Is there another/better ...more »

Submitted by

API Technical Discussions

Access Micro-data for Blocks

I'm working on a school project with 2010 Census data. Currently, we are getting tract-level data using codes from http://api.census.gov/data/2010/sf1/variables.json to get data. For example, to find the white 65-year old males in a county's tracts, we make the API call: http://api.census.gov/data/2010/sf1?key=[key]&get=PCT012I068,NAME&for=tract:*&in=state:08+county:059 However, when making the same call at a block ...more »

Submitted by

Using Data

Improving API documentation

Example of easier to follow API documentation: http://developer.usatoday.com/docs/read/Census Versus no coded variable definitions on the page: https://www.census.gov/developers/data/ All the needed content is in this presentation, but it was not intuitive to click on it since it refers to a specific event: https://www.census.gov/developers/NDoCH_Support_Slides.pdf Maybe rename it "ACS API Handbook"? Great great ...more »

Submitted by

Bugs / Problems

error on 2008-2012 data profile query

I ran the following query (key omitted): http://api.census.gov/data/2012/acs5/profile?get=NAME,DP02_0076E,DP02_0076M,DP02_0077E,DP02_0077M&for=place:*&in=state:27 and received the following error: There was an error while running your query. We've logged the error and we'll correct it ASAP. Sorry for the inconvenience. When I query for only the DP02_0076 variables the query succeeds. The query fails when adding ...more »

Submitted by

Bugs / Problems

invalid json

For this particular api query to acs5 I receive invalid json. I confirmed this with jslint. I suspect one of the fields aren't escaping properly or something. http://api.census.gov/data/2012/acs5/profile?get=DP04_0088E,DP02_0100E,DP02_0104E,DP02_0105E,DP02_0106E,DP02_0107E,DP02_0108E,DP02_0109E,DP02_0111E,DP02_0112E,DP02_0113E,DP03_0019E,DP03_0020E,DP03_0021E,DP03_0022E,DP03_0023E,DP03_0024E,DP03_0025E,DP02_0090E,DP03_0004E,DP03_0005E,DP03_0006E&for=place:*&in=state:*&key={key} ...more »

Submitted by

API Technical Discussions

API extension for query across hierarchy

Hi All, The API has incredible functionality for query/results within the nested US Census Bureau Geography (e.g. getting data for all the tracts in a county or all the block groups within a track). However, it does not appear to support queries that run across the same geography very well. For instance It does not appear to allow me to query the same parameter (e.g. race) in Tract A within County B and Tract C ...more »

Submitted by

Bugs / Problems

Duplicate Keys in JSON

In accessing the variables for report "2012 American Community Survey: 1-Year Profile Tables" located here: http://api.census.gov/data.json When I pull back the c_variablesLink: http://api.census.gov/data/2012/acs1/profile/variables.json There are two json objects that are duplicated one of them is (at lines 39-41 and 54-56): "CSA": { "label": "Geography" } and the other is (60-62 and 63-65): "CBSA": { ...more »

Submitted by

Bugs / Problems

State Legislative Districts in ACS 2008-2012

When querying the ACS 2008-2012, the State Legislative Districts (at least for Utah) are labeled "2010" when using the API and "2012" when using the FactFinder. It looks like the raw summary file data also says 2010. Using the mapping function on FactFinder for estimates from the most recent 5 year ACS shows current State Legislative districts (effective Jan 1, 2013). This is congruent with what is listed on the first ...more »

Submitted by

Using Data

Obtaining census tract numbers

Can I use this API to create an easy way for users on my website to get their census tract number without using a map? I simply want the users to input their residential address into text fields. Hopefully this API will spit out their 10 digit census tract number after input. I would prefer NOT to redirect applicants to a 3rd party site. I ultimately want to use the census tract number from the API to reconcile it with ...more »

Submitted by

API Technical Discussions

ZCTA in ACS 2012

Hi,

I am having trouble accessing ZCTA-level in ACS 5-year released on December 17, 2013.

Here is an example query that works for 2011 but not for 2012.

Thanks!

http://api.census.gov/data/2011/acs5?get=B06010_001E&for=zip+code+tabulation+area:*&key=

http://api.census.gov/data/2012/acs5?get=B06010_001E&for=zip+code+tabulation+area:*&key=

Submitted by

Feature Requests

idiosyncratic geographies

My specific request would be for api access to the statewide non-metropolitan geographic level (need the medians so I can't back into a value). However, I realize this has to be a pretty low priority for most api users. Do the developers have a goal of adding more of these types of geos or should I expect that I'll be going to factfinder for this type of request for years to come? (Extremely happy with the current ...more »

Submitted by

Bugs / Problems

Not accessing Census 2010 SF1 block data correctly

Need help resolving access issue -- Having a problem accessing some housing items in Census 2010 SF1 at block level: this works: http://api.census.gov/data/2010/sf1?key=XXX&get=H0050001&for=block:1001&in=state:11+county:001+tract:004100 this does not work: http://api.census.gov/data/2010/sf1?key=XXX&get=H0010001&for=block:1001&in=state:11+county:001+tract:004100 (says item not known) So far as known all P table items ...more »

Submitted by

API Technical Discussions

API supporting multiple geography query

Hi All,

I have been working on my application and one of the things I would like to do is query the same variable on multiple geographies. For instance, get the total population at the Block Group, Tract, County, State, and Nation.

Right now, it is my understanding that this would represent five different calls to the API.

Can this be done in one call to the API ?

Submitted by