We have been playing with building an api that would accept map clicks and return back a list of electeds in Alameda County.
Here is a starting point for this api. So far, the api includes special districts like AC transit and BART as well as governments from House of Representatives down to city councilors. Here are some things I have discovered:
Tell us what you think or how we could make the information more useful. I would like to figure some standard return for all elects.
Here is the endpoint. Go to the url to see what fields are available. Click query to use a form to explore different ways to grab the data.
Here is some api documentation from ESRI (we use their server):
Please submit if/how you use this api. It helps us make the case for open data.
If you are an ArcGIS user, we recently published new data on ArcGIS Online. Search for it at arcgis.com with our handle, "usc_public."
The featured layer package shows 2010 census tracts within Alameda County displayed by majority ethnic group within each tract. In many census tracts, there is no racial group that comprises the true majority (over 50%) of the population in that tract. Therefore, we symbolized based on which group has plurality – which group represents the largest number. Look at the script for the field labeled "Most" to see how we did it.
As part of our commitment to Open Data and to encourage others to analyse and use the data we manage, clean and curate we are making our crime reports database available publicly. If you are a coder, developer or hacker this is for you. If you're not technically inclined then we'd suggest you head on back to our Data Portal for more people friendly data. Or you can take a look at our analyses bases on these data in our partnership with the OPD here.
Oakland Police report data is generated from the Urban Strategies partnership with the Oakland Police Department. Cleaned and geocoded reports generally take one week to process, so data will be available up until the week prior. Crime report data is summarized by the week --Sunday - Saturday. Please note that the starting date is not always the Sunday of that week, but it represents the first instance of a report for that particular beat.
To obtain a layer of the boundaries for the community police beats, please go to:
Function Call: Get crime summary
Base URL: http://rest.infoalamedacounty.org/index.php/api/usc/crimeAggregate
• stdate (YYYY-MM-DD)-beginning date for query
• beat:string-community police beats in Oakland
As part of our commitment to Open Data and to encourage efficiency in our partner agencies and nonprofits we are making our rich service provider database available as a data feed for use in whatever system, application or listing service you desire. If you are a coder, developer or hacker this is for you. If you're not technically inclined then we'd suggest you head on back to our Data Portal for more people friendly data. Or you can take a look at our web site that uses this data at www.alamedareentryservices.org.
The service provider directory contains listings for over 400 service providers, not just those providing specific reentry services but almost all providers in the county. This dataset was collated and quality checked over several months in 2010 and is a very comprehensive listing of social service providers in our county with rich details including service eligibility, opening hours, accessibility and more. Based on the type of service provided, the organizations are organized into general categories and then further divided into subcategories. To gain access to the locations, the client needs to provide the category and subcategory names. Please note service provider locations may contain duplicates since most locations provide multiple services across several categories/subcategories.
*Red Options are Required
Default return format is xml
Function Call:Get service categories
BASE URL: http://rest.infoalamedacounty.org/index.php/api/reentry/servicegroup
Example Return http://rest.infoalamedacounty.org/index.php/api/reentry/servicegroup
Function Call: Get service subcategories
Base URL: http://rest.infoalamedacounty.org/index.php/api/reentry/services
Example Return http://rest.infoalamedacounty.org/index.php/api/reentry/services/categoryID/1
<name>Temporary/ Transitional Housing</name>
Bridges the gap between emergency shelter and permanent affordable housing.
Temporary housing on a night-by-night or week-by-week basis.
Function Call: Get locations of service providers
Base URL: http://rest.infoalamedacounty.org/index.php/api/reentry/locations
• miles:int- buffer distance from a point to gather services
• latitude:double- the latitude of the point to buffer
• longitude:double -the longitude of the point to buffer
<name>Society of St. Vincent de Paul</name>
<address>675 23rd Street</address>
<name>Building Futures for Women and Children</name>
<address>1395 Bancroft Avenue</address>
All we ask in return is that you tell us how you are using the API (so we can get funding to keep it going) and your ideas on how we can improve or expand the API.
Please refer to the attached document to get started.