Building APIs in Government for Social Good Tyrone Grandison PhD www.tyronegrandison.org @tyrgr
Building APIs in Government for Social Good
Tyrone Grandison PhDwww.tyronegrandison.org @tyrgr
2
Deputy Chief Data Officer, US Department of Commerce (2015-16)
White House Presidential Innovation Fellow,Department of Labor & US Census Bureau (2014-15)
My Time In Government
3
THE PLAN
4
The Reality
APIs: Sweat and Toil, CitySDK, MIDAAS
Lessons
government takes on the hardest, inelastic problems
5
optimum
6
n-dimensional
7
8
9
10
Executive OrderM-13-13
11
12
13
THE PLAN
14
The Reality
APIs: Sweat and Toil, CitySDK, MIDAAS
Lessons
15
Sweat and Toilhttp://developer.dol.gov/others/sweat-and-toil
https://github.com/USDepartmentofLabor/Child-Laborhttps://github.com/USDepartmentofLabor/Child-Labor-Android
16
17
Building the API – Step 1
Coalition and Urgency
18
Building the API – Step 2
Understand The Data Production Process
19
Building the API – Step 3
Find Natural Intervention Point
20
Building the API – Step 4
Learn Technology Constraints
21
Building the API – Step 5
Understand The API User Groups
22
Python QuarryMySQL,MSSQL
Building the API – Step 6
23
Census CitySDKhttps://uscensusbureau.github.io/citysdk/
https://github.com/uscensusbureau/citysdk
24
25
Building the API – Step 1
Validate The Demand
26
Building the API – Step 2
Understand The User
27
Building the API – Step 3
Understand Technology Constraints
28
Building The API – Step 4
MVP JS beta node.js
29
MIDAAShttps://midaas.commerce.gov
https://github.com/CommerceDataService/midaas-api
30
31
Building the API – Step 1
Validate The Need
32
Building the API – Step 2
Understand Initial User Stories
33
Building the API – Step 3
Validate with Domain Experts
34
Building the API – Step 4
Understand Technical Constraints
35
Building the API – Step 5
MVP Redshift,Lambda,APIGatewaybeta Postgres,S3,EC2
THE PLAN
36
The Reality
APIs: Sweat and Toil, CitySDK, MIDAAS
Lessons
Summary
PeopleScope
ConstraintsValidate
Show The Thing
37
Sweat and Toil•Monthly Data Users >
Web Traffic•Three tools built using
this data.
38
So Far
CENSUS CitySDK•Over 10 civic solutions
built using CitySDK•Positive User Feedback
MIDAAS: Hack The Pay Gap Initiative
Sweat and Toil• 2016 Department of
Labor‘s Innovation Award.
MIDAAS• 2016 Nominee Fedscoop
Innovation Of The Year.
39
So Far
CENSUS CitySDK• 2016 Department of
Commerce Gold medal• 2016 Best Data API
Award, API:World• 2015 Fedscoop Innovation
Of The Year
Thank you