Data to link to website
For local governments that are lacking expertise or resources, is there an option to provide an API to link to their website for visual and textual display?
For local governments that are lacking expertise or resources, is there an option to provide an API to link to their website for visual and textual display?
Preface: New to API Calls & Census Data (not sure the proper Campaign to post on) Curious, how can I more efficiently pull data through the API without having to specify each individual Unique ID (found in the ACS2011_5-Year_TableShells.xls file)? If I wanted to pull all data for Table ID: B01001 what would my {&get=} be? Currently, I am using each individual Unique ID as so: http://api.census.gov/data/2011/acs5?{key}&get=B01001_001E,B01001_002E,B01001_003E,B01001_004E,B01001_005E,B01001_006E,B01001_007E,B01001_008E,B01001_009E,B01001_010E,NAME&for=state:06 ...more »
Preface: New to API Calls & Census Data (not sure the proper Campaign to post on)
Curious, how can I more efficiently pull data through the API without having to specify each individual Unique ID (found in the ACS2011_5-Year_TableShells.xls file)?
If I wanted to pull all data for Table ID: B01001 what would my {&get=} be?
Currently, I am using each individual Unique ID as so:
http://api.census.gov/data/2011/acs5?{key}&get=B01001_001E,B01001_002E,B01001_003E,B01001_004E,B01001_005E,B01001_006E,B01001_007E,B01001_008E,B01001_009E,B01001_010E,NAME&for=state:06
Is there a syntax for spanning Unique ID values within a single table?
And why is it that I cannot use the Unique ID value as is outlined in the ACS2011_5-YearTableShells.xls file, rather I need to split the value after the Table ID with an underscore and Unique ID value, as so: B01001002 needs to become B01001_002E inorder for the call to work.
Any assistance would be most helpful.
Cheers,
B
« less full details »
the api should simply ignore any parameter it doesn't understand instead of throwing an error. For example jquery will append _=randomNumber to prevent caching of jsonp by the browser. This feature breaks that.
The jsonp callback should be 'callback' not 'jsonp' there is no reason you can't have both, but almost every single site that uses jsonp uses callback as the parameter, using something weird prevents people from easily making apps.
To help local governments better plan for disaster recovery for their residents, it would helpful to know which areas contained high risk/vulnerable individuals. These individuals might include the elderly, small children, disabled individuals, those who are language isolated, and those who do not have access to a vehicle. Creation of heat maps, or other visualizations of these populations can help emergency management ...more »
To help local governments better plan for disaster recovery for their residents, it would helpful to know which areas contained high risk/vulnerable individuals. These individuals might include the elderly, small children, disabled individuals, those who are language isolated, and those who do not have access to a vehicle. Creation of heat maps, or other visualizations of these populations can help emergency management offices across the country better prepare to minimize the possible loss of life and human suffering in the event of a natural or man-made hazard that can affect their community.
« less full details »
I'm doing a project where I require census statistics by Zip Code. I want to look at correlations between several different factors. I have addresses and zip codes.
To pull in data by zip code what would my API call look like.
Working with the Puget Sound Regional Council, I've modified my acs package for R to allow users to download data directly from the Census ACS API. See http://eglenn.scripts.mit.edu/citystate/2013/02/major-improvements-to-acs-r-sneak-peak-at-version-1-0/ for more info and user guide. Features and improvements include: * The package is now capable of downloading data directly from the new Census American Community ...more »
Working with the Puget Sound Regional Council, I've modified my acs package for R to allow users to download data directly from the Census ACS API. See http://eglenn.scripts.mit.edu/citystate/2013/02/major-improvements-to-acs-r-sneak-peak-at-version-1-0/ for more info and user guide.
Features and improvements include:
* The package is now capable of downloading data directly from the new Census American Community Survey API and importing into R (with proper statistical treatment of estimates and error, variable and geographic relabeling, and more), all through a single “acs.fetch()” function;
* The package includes a new “geo.make()” function to allow users to create their own custom geographies for organize and download data; and
* The package provides two special “lookup” tools to help filter through all the existing Census geographies (with the “geo.lookup()” function) and tables (with the “acs.lookup()” function) to find exactly what they want. These functions return new R “lookup” objects which can be saved, manipulated, and passed to acs.fetch() for downloading data.
(Still beta, but getting close -- any help/testing appreciated.)
« less full details »
Over the last two days, I submitted a request for an Census API key at
http://www.census.gov/developers/tos/key_request.html
The website says to expect an email after a few minutes, but I've never received any email about how to activate an API key. (Yes, I've checked my spam folder.)
First of all I want to thank you all at the Census for your brilliant effort in providing a usable API. I think the documentation needs to be improved, though, with more examples of string requests and possible use of wild cards, if any. I am currently working on a web application where I want the user to visualize demographic indicators within a certain distance from a specific/user-picked LatLong (for instance total ...more »
First of all I want to thank you all at the Census for your brilliant effort in providing a usable API. I think the documentation needs to be improved, though, with more examples of string requests and possible use of wild cards, if any.
I am currently working on a web application where I want the user to visualize demographic indicators within a certain distance from a specific/user-picked LatLong (for instance total population count within 5 miles, or % of Hispanic people for each block group within a tract), but I can't find any information on how to retrieve, through the API, the census' geographic boundaries (tract, block group or block) in order to plot them on a map (Google), or how to get a list of all block groups within a tract or blocks within a block group.
Is this at all possible? If so, can you please give me some direction?
« less full details »
I have an API request where the get argument that works is "P0030001,P0030002,P0030003,P0030004". However, I wanted to get all available names in that concept, which in total is a list of 8 elements "P0030001,P0030002,P0030003,...P0030008".
This request fails with error "unknown variable 'P0030005,P0030006,P0030007,P0030008"
Is there a limit on the length for the GET argument?