API Technical Discussions

HTTP Get returning all null values

Hi,

I am doing a http get http://api.census.gov/data/2010/sf1?key=user key&get=P0010001,NAME&for=state:* and this succeeds with response of 200, but the JSON elements are null. This same call used to work a few days back, now I get the following: ["P0010001","NAME","state"],["null","null","null"],["null","null","null"],...

Please help.

Thank You.

Voting

-2 votes
0 up votes
2 down votes

Bugs / Problems

Query string errors

I have the following query strings for the sf1_2010.xml, sf1_2000.xml, and sf1_1990.xml respectively. All query strings are the same format, just different query values:

1) http://api.census.gov/data/2010/sf1?key=a8e19a47c9c91ffa82c63c0f383ebbe8d7b3fa55&get=P0070001,NAME&for=county:*&in=state:*

2) http://api.census.gov/data/2000/sf1?key=a8e19a47c9c91ffa82c63c0f383ebbe8d7b3fa55&get=EXTCITIN,NAME&for=county:*&in=state:*... more »

Voting

-1 votes
0 up votes
1 down votes

Using Data

Problem in Virginia Data

Using the SF1 api, when I loop through the counties in Virginia, it finishes the county loop and then begins a loop through cities. I noticed it while running a nested loop for the entire US. Virginia was the only state that I noticed doing this, though there could be others.

Here's the URL I'm using that generates this list of counties + cities.
http://api.census.gov/data/2010/sf1?key={ikey}&get=NAME&for=county:*&in=state:51... more »

Voting

-1 votes
0 up votes
1 down votes