140 likes | 260 Views
Integrating the Census Data API with ArcGIS Web Applications. James Tedrick. U.S. Government Data APIs. https://www.data.gov/developers/apis. Census Data API. http://www.census.gov/developers/. Decennial Census Data 1990, 2000, 2010 American Community Survey (ACS) – 1,3,5 year
E N D
Integrating the Census Data API with ArcGIS Web Applications James Tedrick
U.S. Government Data APIs https://www.data.gov/developers/apis Integrating the Census Data API with ArcGIS Web Applications
Census Data API http://www.census.gov/developers/ • Decennial Census Data1990, 2000, 2010 • American Community Survey (ACS) – 1,3,5 year • Future Population Estimates • Economic Indicators (Time Series) • Economic-Wide Key Statistics, by industry2007, 2012 Integrating the Census Data API with ArcGIS Web Applications
We Are Here! http://bit.ly/CensusAPIdemo Integrating the Census Data API with ArcGIS Web Applications
What does it do? • Get your location • Find the block groups within 1 mile • Get data from the Census API • Chart! Integrating the Census Data API with ArcGIS Web Applications
Let’s Peek Inside! Integrating the Census Data API with ArcGIS Web Applications
Joining APIs • FIPS as unique ID between APIs • Census data comes in as an array of rows (think CSV file) • Transform each row into an object with keys from first row • Didn’t need to actually create joint objects, but simple • ArcGIS Objects – add extra fields to attributes of each graphic • Census objects – add geometry to object Integrating the Census Data API with ArcGIS Web Applications
Initial Issues My Server • Cross-domain requests – required a proxy on my web server • API limitations – only 5 variables per request • Working across multiple counties & states – separate API calls We Are Here Census Integrating the Census Data API with ArcGIS Web Applications
Initial Issues My Server • Cross-domain requests – required a proxy on my web server • API limitations – only 5 variables per request • Working across multiple counties & states – separate API calls We Are Here APIs evolve (aka 1 year later) • CORS enabled Census API – cross domain solved • API limitations removed – fewer requests • Data Description tools in beta Census Integrating the Census Data API with ArcGIS Web Applications
Getting Started • Census API: http://www.census.gov/developers/ • TIGERweb Services: http://tigerweb.geo.census.gov/tigerwebmain/TIGERweb_main.htmlhttp://tigerweb.geo.census.gov/arcgis/rest/services/TIGERweb Integrating the Census Data API with ArcGIS Web Applications
Related Sessions – Search for ‘Census’ • Tuesday: National Statistical Organizations Industry Focus (Hilton, Indigo 206) • The Applications of Data, 12:00 – 1:00 • Dissemination and Analysis of Census Data, 3:15 – 4:30 • Wednesday • TW: Using ArcGIS to Support Healthy Communities and Open Health Data Portals10:15 – 11:30, Room 31C • DT: Mapping in Excel Using US Census TIGERweb Service as Custom Location Type10:30 – 11:00, Federal Showcase • DT: US Census Bureau Demographic Data Viz Tools11:30 – 12:00, Federal Showcase • Panel: Calling all Business, Government and Community Decision Makers - Help Census Bureau Innovate its Data Products and Services1:30 – 2:45, Marina E Integrating the Census Data API with ArcGIS Web Applications
Related Sessions – Search for ‘Census’ • Thursday • TW: Using ArcGIS to Support Healthy Communities and Open Health Data Portals8:30 – 9:45, Room 32A • Paper Session: Census Bureau Innovative Tools and Products for 2020 Decennial10:15 – 11:30, Room 30A • Paper Session: Research and Analysis Using Census data3:15 – 4:30, Room 30C Integrating the Census Data API with ArcGIS Web Applications
Thank you… Please fill out the session survey: Offering ID: 2212 Online – www.esri.com/ucsessionsurveys Integrating the Census Data API with ArcGIS Web Applications
Integrating the Census Data API with ArcGIS Web Applications