SlideShare una empresa de Scribd logo
1 de 40
Descargar para leer sin conexión
Building APIs in Government
for Social Good
Tyrone Grandison PhD
www.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 Order
M-13-13
11
12
13
THE PLAN
14
The Reality
APIs: Sweat and Toil, CitySDK, MIDAAS
Lessons
15
Sweat and Toil
http://developer.dol.gov/others/sweat-and-toil
https://github.com/USDepartmentofLabor/Child-Labor
https://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 CitySDK
https://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
MIDAAS
https://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,	API	Gateway
beta Postgres,	S3,	EC2
THE PLAN
36
The Reality
APIs: Sweat and Toil, CitySDK, MIDAAS
Lessons
Summary
People
Scope
Constraints
Validate
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
tyronewagrandison@gmail.com

Más contenido relacionado

Destacado

Internet ve společnosti a společnost na Internetu
Internet ve společnosti a společnost na InternetuInternet ve společnosti a společnost na Internetu
Internet ve společnosti a společnost na InternetuPetr Lupac
 
Allen hefner presentation
Allen hefner presentationAllen hefner presentation
Allen hefner presentationGreen17Creative
 
Меняют ли технологии то, как мы учимся
Меняют ли технологии то, как мы учимсяМеняют ли технологии то, как мы учимся
Меняют ли технологии то, как мы учимсяDmitry Izmestiev
 
Video Blogs and Softvideo (videoécriture
Video Blogs and Softvideo (videoécritureVideo Blogs and Softvideo (videoécriture
Video Blogs and Softvideo (videoécriturevogmae
 
Flyer IERS - Intercultural Education through Religious Studies
Flyer IERS - Intercultural Education through Religious StudiesFlyer IERS - Intercultural Education through Religious Studies
Flyer IERS - Intercultural Education through Religious StudiesGrial - University of Salamanca
 
Find company reports in EBSCO Business Source Complete
Find company reports in EBSCO Business Source CompleteFind company reports in EBSCO Business Source Complete
Find company reports in EBSCO Business Source CompleteJulie Anne Kent
 
100 things i like about katie pdf
100 things i like about katie pdf100 things i like about katie pdf
100 things i like about katie pdfjessicaure
 
Avoin koodi pähkinänkuoressa - Avoimen koodin hankkiminen
Avoin koodi pähkinänkuoressa - Avoimen koodin hankkiminenAvoin koodi pähkinänkuoressa - Avoimen koodin hankkiminen
Avoin koodi pähkinänkuoressa - Avoimen koodin hankkiminenCOSS
 
Boosting your performance in the connected world
Boosting your performance in the connected worldBoosting your performance in the connected world
Boosting your performance in the connected worldCOSS
 
IFS Staráme se o podnikání
IFS Staráme se o podnikáníIFS Staráme se o podnikání
IFS Staráme se o podnikáníIFS Czech
 
Digital Materiality: Making, Networks, Film
Digital Materiality: Making, Networks, FilmDigital Materiality: Making, Networks, Film
Digital Materiality: Making, Networks, Filmvogmae
 
JUNAR Case study Costa Rica
JUNAR Case study Costa Rica JUNAR Case study Costa Rica
JUNAR Case study Costa Rica Pierre GEORGES
 
From Lip-Service to Action: Improving Healthcare Privacy Practices
From Lip-Service to Action: Improving Healthcare Privacy PracticesFrom Lip-Service to Action: Improving Healthcare Privacy Practices
From Lip-Service to Action: Improving Healthcare Privacy PracticesTyrone Grandison
 
Marketing 281 Jan 2016 Lesson Plan
Marketing 281 Jan 2016 Lesson PlanMarketing 281 Jan 2016 Lesson Plan
Marketing 281 Jan 2016 Lesson PlanJulie Anne Kent
 
Power 5sentits
Power 5sentitsPower 5sentits
Power 5sentitsagelada
 

Destacado (20)

Internet ve společnosti a společnost na Internetu
Internet ve společnosti a společnost na InternetuInternet ve společnosti a společnost na Internetu
Internet ve společnosti a společnost na Internetu
 
Allen hefner presentation
Allen hefner presentationAllen hefner presentation
Allen hefner presentation
 
Меняют ли технологии то, как мы учимся
Меняют ли технологии то, как мы учимсяМеняют ли технологии то, как мы учимся
Меняют ли технологии то, как мы учимся
 
Video Blogs and Softvideo (videoécriture
Video Blogs and Softvideo (videoécritureVideo Blogs and Softvideo (videoécriture
Video Blogs and Softvideo (videoécriture
 
Flyer IERS - Intercultural Education through Religious Studies
Flyer IERS - Intercultural Education through Religious StudiesFlyer IERS - Intercultural Education through Religious Studies
Flyer IERS - Intercultural Education through Religious Studies
 
Research Perfection
Research PerfectionResearch Perfection
Research Perfection
 
Find company reports in EBSCO Business Source Complete
Find company reports in EBSCO Business Source CompleteFind company reports in EBSCO Business Source Complete
Find company reports in EBSCO Business Source Complete
 
100 things i like about katie pdf
100 things i like about katie pdf100 things i like about katie pdf
100 things i like about katie pdf
 
TRAILER presentation at LINQ 2013
TRAILER presentation at LINQ 2013TRAILER presentation at LINQ 2013
TRAILER presentation at LINQ 2013
 
Avoin koodi pähkinänkuoressa - Avoimen koodin hankkiminen
Avoin koodi pähkinänkuoressa - Avoimen koodin hankkiminenAvoin koodi pähkinänkuoressa - Avoimen koodin hankkiminen
Avoin koodi pähkinänkuoressa - Avoimen koodin hankkiminen
 
Boosting your performance in the connected world
Boosting your performance in the connected worldBoosting your performance in the connected world
Boosting your performance in the connected world
 
IFS Staráme se o podnikání
IFS Staráme se o podnikáníIFS Staráme se o podnikání
IFS Staráme se o podnikání
 
Foxworth Portfolio
Foxworth PortfolioFoxworth Portfolio
Foxworth Portfolio
 
Digital Materiality: Making, Networks, Film
Digital Materiality: Making, Networks, FilmDigital Materiality: Making, Networks, Film
Digital Materiality: Making, Networks, Film
 
Jw day 7 (unit 3)
Jw day 7 (unit 3)Jw day 7 (unit 3)
Jw day 7 (unit 3)
 
Ejercicios enlace iii 2013
Ejercicios enlace iii 2013Ejercicios enlace iii 2013
Ejercicios enlace iii 2013
 
JUNAR Case study Costa Rica
JUNAR Case study Costa Rica JUNAR Case study Costa Rica
JUNAR Case study Costa Rica
 
From Lip-Service to Action: Improving Healthcare Privacy Practices
From Lip-Service to Action: Improving Healthcare Privacy PracticesFrom Lip-Service to Action: Improving Healthcare Privacy Practices
From Lip-Service to Action: Improving Healthcare Privacy Practices
 
Marketing 281 Jan 2016 Lesson Plan
Marketing 281 Jan 2016 Lesson PlanMarketing 281 Jan 2016 Lesson Plan
Marketing 281 Jan 2016 Lesson Plan
 
Power 5sentits
Power 5sentitsPower 5sentits
Power 5sentits
 

Similar a Building APIs in Government for Social Good

Government as a Platform: What We've Learned Since 2008 (pdf with notes)
Government as a Platform: What We've Learned Since 2008 (pdf with notes)Government as a Platform: What We've Learned Since 2008 (pdf with notes)
Government as a Platform: What We've Learned Since 2008 (pdf with notes)Tim O'Reilly
 
Big Data - Statistics
Big Data - StatisticsBig Data - Statistics
Big Data - StatisticsLynne Carlson
 
Intermediation Platforms, political challenges
Intermediation Platforms, political challengesIntermediation Platforms, political challenges
Intermediation Platforms, political challengesStephane Grumbach
 
Future of Special Districts
Future of Special DistrictsFuture of Special Districts
Future of Special DistrictsDustin Haisler
 
AMO 2010 Urban Symposium
AMO 2010 Urban SymposiumAMO 2010 Urban Symposium
AMO 2010 Urban SymposiumBepublic
 
Preparing the next generation for the cognitive era
Preparing the next generation for the cognitive era Preparing the next generation for the cognitive era
Preparing the next generation for the cognitive era Steven Miller
 
Platform Shift: How New Business Models Are Changing the Shape of Industry
Platform Shift: How New Business Models Are Changing the Shape of IndustryPlatform Shift: How New Business Models Are Changing the Shape of Industry
Platform Shift: How New Business Models Are Changing the Shape of IndustryMarshall Van Alstyne
 
GIS and Asset Management Moving to the Future :
GIS and Asset Management  Moving to the Future : GIS and Asset Management  Moving to the Future :
GIS and Asset Management Moving to the Future : Symphony3
 
2. Economic Impact and Societal Considerations for Policy Decisions.
2. Economic Impact and Societal Considerations for Policy Decisions.2. Economic Impact and Societal Considerations for Policy Decisions.
2. Economic Impact and Societal Considerations for Policy Decisions.Saurabh Mishra
 
Leveraging the Government Platform
Leveraging the Government PlatformLeveraging the Government Platform
Leveraging the Government PlatformMark Headd
 
Open Data for Financial Innovations in the Developing World
Open Data for Financial Innovations in the Developing WorldOpen Data for Financial Innovations in the Developing World
Open Data for Financial Innovations in the Developing WorldBiplav Srivastava
 
Fundamentals of Big Data in 2 minutes!!
Fundamentals of Big Data in  2 minutes!!Fundamentals of Big Data in  2 minutes!!
Fundamentals of Big Data in 2 minutes!!Simplify360
 
Designing for Digital 2017
Designing for Digital 2017Designing for Digital 2017
Designing for Digital 2017Cyd Harrell
 
What I learnt at the Government Digital Service
What I learnt at the Government Digital ServiceWhat I learnt at the Government Digital Service
What I learnt at the Government Digital Serviceannashipman
 
2014 Tech M&A Monthly - Mid-Year Report
2014 Tech M&A Monthly - Mid-Year Report2014 Tech M&A Monthly - Mid-Year Report
2014 Tech M&A Monthly - Mid-Year ReportCorum Group
 
The attention economy and the internet
The attention economy and the internetThe attention economy and the internet
The attention economy and the internetRoss Garrett
 
SOFIT Final Public Copy
SOFIT Final Public CopySOFIT Final Public Copy
SOFIT Final Public CopyLaura Szakmary
 
Commerce + content perfected
Commerce + content perfectedCommerce + content perfected
Commerce + content perfectedElastic Path
 
Ds webinar-30july
Ds webinar-30julyDs webinar-30july
Ds webinar-30julyEdureka!
 

Similar a Building APIs in Government for Social Good (20)

Government as a Platform: What We've Learned Since 2008 (pdf with notes)
Government as a Platform: What We've Learned Since 2008 (pdf with notes)Government as a Platform: What We've Learned Since 2008 (pdf with notes)
Government as a Platform: What We've Learned Since 2008 (pdf with notes)
 
Big Data - Statistics
Big Data - StatisticsBig Data - Statistics
Big Data - Statistics
 
Intermediation Platforms, political challenges
Intermediation Platforms, political challengesIntermediation Platforms, political challenges
Intermediation Platforms, political challenges
 
Future of Special Districts
Future of Special DistrictsFuture of Special Districts
Future of Special Districts
 
AMO 2010 Urban Symposium
AMO 2010 Urban SymposiumAMO 2010 Urban Symposium
AMO 2010 Urban Symposium
 
Preparing the next generation for the cognitive era
Preparing the next generation for the cognitive era Preparing the next generation for the cognitive era
Preparing the next generation for the cognitive era
 
Platform Shift: How New Business Models Are Changing the Shape of Industry
Platform Shift: How New Business Models Are Changing the Shape of IndustryPlatform Shift: How New Business Models Are Changing the Shape of Industry
Platform Shift: How New Business Models Are Changing the Shape of Industry
 
GIS and Asset Management Moving to the Future :
GIS and Asset Management  Moving to the Future : GIS and Asset Management  Moving to the Future :
GIS and Asset Management Moving to the Future :
 
2. Economic Impact and Societal Considerations for Policy Decisions.
2. Economic Impact and Societal Considerations for Policy Decisions.2. Economic Impact and Societal Considerations for Policy Decisions.
2. Economic Impact and Societal Considerations for Policy Decisions.
 
A year in public data, a view from within...
A year in public data, a view from within...A year in public data, a view from within...
A year in public data, a view from within...
 
Leveraging the Government Platform
Leveraging the Government PlatformLeveraging the Government Platform
Leveraging the Government Platform
 
Open Data for Financial Innovations in the Developing World
Open Data for Financial Innovations in the Developing WorldOpen Data for Financial Innovations in the Developing World
Open Data for Financial Innovations in the Developing World
 
Fundamentals of Big Data in 2 minutes!!
Fundamentals of Big Data in  2 minutes!!Fundamentals of Big Data in  2 minutes!!
Fundamentals of Big Data in 2 minutes!!
 
Designing for Digital 2017
Designing for Digital 2017Designing for Digital 2017
Designing for Digital 2017
 
What I learnt at the Government Digital Service
What I learnt at the Government Digital ServiceWhat I learnt at the Government Digital Service
What I learnt at the Government Digital Service
 
2014 Tech M&A Monthly - Mid-Year Report
2014 Tech M&A Monthly - Mid-Year Report2014 Tech M&A Monthly - Mid-Year Report
2014 Tech M&A Monthly - Mid-Year Report
 
The attention economy and the internet
The attention economy and the internetThe attention economy and the internet
The attention economy and the internet
 
SOFIT Final Public Copy
SOFIT Final Public CopySOFIT Final Public Copy
SOFIT Final Public Copy
 
Commerce + content perfected
Commerce + content perfectedCommerce + content perfected
Commerce + content perfected
 
Ds webinar-30july
Ds webinar-30julyDs webinar-30july
Ds webinar-30july
 

Más de Tyrone Grandison

Global Scientific Research as a Tool to Unlock and Engage Talent and Expand t...
Global Scientific Research as a Tool to Unlock and Engage Talent and Expand t...Global Scientific Research as a Tool to Unlock and Engage Talent and Expand t...
Global Scientific Research as a Tool to Unlock and Engage Talent and Expand t...Tyrone Grandison
 
Learning From the COViD-19 Global Pandemic
Learning From the COViD-19 Global PandemicLearning From the COViD-19 Global Pandemic
Learning From the COViD-19 Global PandemicTyrone Grandison
 
Systemic Barriers in Technology: Striving for Equity and Access
Systemic Barriers in Technology: Striving for Equity and AccessSystemic Barriers in Technology: Striving for Equity and Access
Systemic Barriers in Technology: Striving for Equity and AccessTyrone Grandison
 
Are There Ethical Limits to What Science Can Achieve or Should Pursue?
Are There Ethical Limits to What Science Can Achieve or Should Pursue?Are There Ethical Limits to What Science Can Achieve or Should Pursue?
Are There Ethical Limits to What Science Can Achieve or Should Pursue?Tyrone Grandison
 
Using Data and Computing for the Greater Good
Using Data and Computing for the Greater GoodUsing Data and Computing for the Greater Good
Using Data and Computing for the Greater GoodTyrone Grandison
 
How to effectively collaborate with your IT Departments to Develop Secure IA ...
How to effectively collaborate with your IT Departments to Develop Secure IA ...How to effectively collaborate with your IT Departments to Develop Secure IA ...
How to effectively collaborate with your IT Departments to Develop Secure IA ...Tyrone Grandison
 
DOES innovation Lab Launch
DOES innovation Lab LaunchDOES innovation Lab Launch
DOES innovation Lab LaunchTyrone Grandison
 
Creating Chandler's IT Strategic Plan
Creating Chandler's IT Strategic PlanCreating Chandler's IT Strategic Plan
Creating Chandler's IT Strategic PlanTyrone Grandison
 
Inventing with Purpose, Intention and Focus
Inventing with Purpose, Intention and FocusInventing with Purpose, Intention and Focus
Inventing with Purpose, Intention and FocusTyrone Grandison
 
Becoming a Nation of Innovation
Becoming a Nation of InnovationBecoming a Nation of Innovation
Becoming a Nation of InnovationTyrone Grandison
 
Running Mixed Workloads on Kubernetes at IHME
Running Mixed Workloads on Kubernetes at IHMERunning Mixed Workloads on Kubernetes at IHME
Running Mixed Workloads on Kubernetes at IHMETyrone Grandison
 
ISPAB Presentation - The Commerce Data Service
ISPAB Presentation - The Commerce Data ServiceISPAB Presentation - The Commerce Data Service
ISPAB Presentation - The Commerce Data ServiceTyrone Grandison
 
Strategies and Tactics for Accelerating IT Modernization
Strategies and Tactics for Accelerating IT ModernizationStrategies and Tactics for Accelerating IT Modernization
Strategies and Tactics for Accelerating IT ModernizationTyrone Grandison
 
The Creative Economy within the United States of America
The Creative Economy within the United States of AmericaThe Creative Economy within the United States of America
The Creative Economy within the United States of AmericaTyrone Grandison
 
Enabling Data-Driven Private-Public Collaborations
Enabling Data-Driven Private-Public CollaborationsEnabling Data-Driven Private-Public Collaborations
Enabling Data-Driven Private-Public CollaborationsTyrone Grandison
 
Creating a Data-Driven Government: Big Data With Purpose
Creating a Data-Driven Government: Big Data With PurposeCreating a Data-Driven Government: Big Data With Purpose
Creating a Data-Driven Government: Big Data With PurposeTyrone Grandison
 
Security and Privacy in Healthcare
Security and Privacy in HealthcareSecurity and Privacy in Healthcare
Security and Privacy in HealthcareTyrone Grandison
 
Publishing in Biomedical Data Science
Publishing in Biomedical Data SciencePublishing in Biomedical Data Science
Publishing in Biomedical Data ScienceTyrone Grandison
 

Más de Tyrone Grandison (20)

Global Scientific Research as a Tool to Unlock and Engage Talent and Expand t...
Global Scientific Research as a Tool to Unlock and Engage Talent and Expand t...Global Scientific Research as a Tool to Unlock and Engage Talent and Expand t...
Global Scientific Research as a Tool to Unlock and Engage Talent and Expand t...
 
Learning From the COViD-19 Global Pandemic
Learning From the COViD-19 Global PandemicLearning From the COViD-19 Global Pandemic
Learning From the COViD-19 Global Pandemic
 
Systemic Barriers in Technology: Striving for Equity and Access
Systemic Barriers in Technology: Striving for Equity and AccessSystemic Barriers in Technology: Striving for Equity and Access
Systemic Barriers in Technology: Striving for Equity and Access
 
COVID and the Ederly
COVID and the EderlyCOVID and the Ederly
COVID and the Ederly
 
Are There Ethical Limits to What Science Can Achieve or Should Pursue?
Are There Ethical Limits to What Science Can Achieve or Should Pursue?Are There Ethical Limits to What Science Can Achieve or Should Pursue?
Are There Ethical Limits to What Science Can Achieve or Should Pursue?
 
Using Data and Computing for the Greater Good
Using Data and Computing for the Greater GoodUsing Data and Computing for the Greater Good
Using Data and Computing for the Greater Good
 
How to effectively collaborate with your IT Departments to Develop Secure IA ...
How to effectively collaborate with your IT Departments to Develop Secure IA ...How to effectively collaborate with your IT Departments to Develop Secure IA ...
How to effectively collaborate with your IT Departments to Develop Secure IA ...
 
DOES innovation Lab Launch
DOES innovation Lab LaunchDOES innovation Lab Launch
DOES innovation Lab Launch
 
Creating Chandler's IT Strategic Plan
Creating Chandler's IT Strategic PlanCreating Chandler's IT Strategic Plan
Creating Chandler's IT Strategic Plan
 
Inventing with Purpose, Intention and Focus
Inventing with Purpose, Intention and FocusInventing with Purpose, Intention and Focus
Inventing with Purpose, Intention and Focus
 
Becoming a Nation of Innovation
Becoming a Nation of InnovationBecoming a Nation of Innovation
Becoming a Nation of Innovation
 
Running Mixed Workloads on Kubernetes at IHME
Running Mixed Workloads on Kubernetes at IHMERunning Mixed Workloads on Kubernetes at IHME
Running Mixed Workloads on Kubernetes at IHME
 
The Power Of Open
The Power Of OpenThe Power Of Open
The Power Of Open
 
ISPAB Presentation - The Commerce Data Service
ISPAB Presentation - The Commerce Data ServiceISPAB Presentation - The Commerce Data Service
ISPAB Presentation - The Commerce Data Service
 
Strategies and Tactics for Accelerating IT Modernization
Strategies and Tactics for Accelerating IT ModernizationStrategies and Tactics for Accelerating IT Modernization
Strategies and Tactics for Accelerating IT Modernization
 
The Creative Economy within the United States of America
The Creative Economy within the United States of AmericaThe Creative Economy within the United States of America
The Creative Economy within the United States of America
 
Enabling Data-Driven Private-Public Collaborations
Enabling Data-Driven Private-Public CollaborationsEnabling Data-Driven Private-Public Collaborations
Enabling Data-Driven Private-Public Collaborations
 
Creating a Data-Driven Government: Big Data With Purpose
Creating a Data-Driven Government: Big Data With PurposeCreating a Data-Driven Government: Big Data With Purpose
Creating a Data-Driven Government: Big Data With Purpose
 
Security and Privacy in Healthcare
Security and Privacy in HealthcareSecurity and Privacy in Healthcare
Security and Privacy in Healthcare
 
Publishing in Biomedical Data Science
Publishing in Biomedical Data SciencePublishing in Biomedical Data Science
Publishing in Biomedical Data Science
 

Último

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 

Último (20)

Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 

Building APIs in Government for Social Good

Notas del editor

  1. By show of hands, How many people here have worked in Government? How many people think that there is a technical difference between delivering APIs in Government vs the Private Sector? My mission here today to shed some light on the process. If there is anything that you need to remember from this talk, it is that there are more similarities than differences.
  2. I have spent the last two and a half years of my life working in government.
  3. Before government, I worked in the private sector, academia and startup world as a developer (Python, Java, C, C++), manager, CTO, Consultant and Founder, which gives me a unique perspective.
  4. This is the plan for today. I am going to start with the reality of government, delve in three APIs that my teams and I have built, and finish with the lessons that we have learned.
  5. While the private sector takes on elastic problems, like entertainment and marketing. Government takes on hard problems like homelessness, health, safety, defense, trade, and social justice.
  6. The problems are difficult optimization problems And not just in one dimension.
  7. But rather in multiple dimensions And many of the dimensions are not anywhere technology or science related. *** Laws, Systems, Personalities/Egos.
  8. Developing APIs (or any tech) in Government is an issue in Organizational Change Management. Where you have align Process, Policy and People in order to enable Technology development. It is daunting, slow and normally takes a lot of effort.
  9. However, there is hope on the horizon.
  10. On May 9th 2013, the President created an Executive Order that stated that data produced by the US government should be machine-readable and open by default. Executive Order -- Making Open and Machine Readable the New Default for Government Information
  11. Data.gov, which was launched in May 2009, was used as the vehicle or mechanism to fuel compliance to M-13-13 and offer a wealth of new data sets and APIs to the community.
  12. Additionally, the Administration has just released the initial guidelines on Federal Source Code.
  13. You throw into the mix, an amazing set of agile and user-centered startup-like organizations within government working on accelerating the development of data products and services, and you see why there has been a steady stream of Social Good APIs coming from the Federal government over the last few years.
  14. Now, look at three APIs, focused on solving social problems, that my teams and I have developed and deployed within the last 15 months.
  15. The first is Sweat and Toil. The API details are in the top URL. The API fuels both Android and iPhone apps with the same name. The other two URLS contain the code. If you have feedback and or want to collaborate, please let us know. The data itself is the information produced by the Bureau of International Labor Affairs (ILAB) on the countries that produce goods and products that use child and or forced labor. ILAB’s mission is to use all available international channels to improve working conditions, raise living standards, protect workers' ability to exercise their rights, and address the workplace exploitation of children and other vulnerable populations.
  16. Every year, ILAB has a congressional mandate to produce three reports on international child labor and forced labor. Typically, the ILAB team spends nine months collecting information on all the countries in the world (except the US) to create over 1,000 pages of information that they then hand out in thick books; offering a PDF version on their website for increased accessibility. Our idea was simple – liberate the data, make it available to the entire dev community and see what new and interesting things are done.
  17. The first step in making any API stick within the Department was getting the buy-in from the Department’s leadership. Carol Pier – the head of ILAB and Chris Lu and Tom Perez – the leaders of the Department of Labor. Without their support, getting the necessary assistance from the different units within the Department would have been impossible and we would have spent years in discussion on a plan of action.
  18. The second step was sitting with ILAB Program team (Tina Faulkner, Charita Castro, Chandra Ulca) and going through the process they use to create their thousand page deliverable. In summary, there is a team of researchers that are tasked with manually gathering information from a set of countries in a given region. Each researcher records their findings in a single Word document per country. This document is passed around to peers and supervisors for vetting and editing until a final version is arrived at. Once all the country profiles are complete, the Word documents are sent to a contractor to be converted to PDF documents. This PDF documents are merged and sent to a printing company that produces the books. The PDF documents are also used to populate the website content and are placed on the website itself.
  19. Given the current process, the first point when the data is in a stable state is when the Word docs are sent to the contractor for PDF conversion. So, this is the point where we should start the API creation process.
  20. However, we just couldn’t use any technology that we wanted to build the API. The Department of Labor’s Office of Public Affairs holds the responsibility for maintaining the Department’s APIs. At the time, they have a v1 of their API and had embarked on a more full-featured v2 – which would handle API management for internal devs. In order to ensure longevity, we had to use their platform, which is called Quarry – PHP, CodeIgniter – and currently open source.
  21. The ILAB team worked with us to identify the user personas for their data – politicians, internal ILAB staff & executives, government officials, and the general public. For each user group, the team helped us identify and prioritize their user stories. We used this as our starting point for defining our endpoints.
  22. The final step involved using all the prior information to create a simple RESTful API. Our process involves taking over a 150 Word documents and 5 spreadsheets and converting them into a single JSON file (with accompanying XML and CSV files). Because Quarry expects the data to be served from a database, we have to create a separate script to export structure and context to a MySQL DB. Because of unicode issues, I also had to export to a MSSQL. It is MSSQL that currently drives the API.
  23. The second API is “Census CitySDK”. The first link is the URL for the project’s home; and the second is the project Github repo.
  24. CitySDK is a software development kit that enables the easy and seamless integration of Federal and local data sources in order of help civic innovators quickly build solutions to their local problems. Though, we start with the data from the US Census Bureau, the intention is to expand the number of Federal agencies included in each release.
  25. The Census Bureau collects over 20,000 attributes on a representative sample of the 320 million people in American. All the demographic studies that involve Americans and all solutions that include American geography use Census data. Census has an API. However, most people prefer to perform bulk downloads rather than work with the Census API – because the simplest requests require multiple, non-intuitive steps.
  26. To get to the specific issues that need to be fixed, we spoke to our users – the civic hackers. We held a series of user discovery sessions and gathered the feedback from as many people as we could – legally.
  27. We were constrained by the fact that the Leadership team needed us to help with increasing usage of the Census API. The IT team behind Census API would use the feedback received from our engagements to chart their path forward.
  28. For the Minimally Viable Product, we developed a thin layer that abstracted away the complexity of the Census API and allowed a JS developer to easily download Census attributes for any region and combine it with local datasets. This was a decent start, but did not have the flexibility to be useful for developers that did not only want to visualize data. So, we created a beta that can be used in any programming language. We implemented in using node.js and it enables richer data analysis scenarios.
  29. The third API is MIDAAS, which stands for Making Income Data Accessible As a Service. The first link is the website that contains all the information on the project. And the second link is the Github repo for the API.
  30. This project focuses on Income Inequality – how do we have an informed discussion around income and wealth & enable the developer community to start building system based on income data from the Census Bureau and the Bureau of Labor Statistics.
  31. Income Inequality was defined by the President as one of the defining issues of our time.
  32. The Department of Commerce has a Data Advisory Board called CDAC – The Commerce Data Advisory Committee - a group a high-level executives in the data space who echo’ed the President’s sentiment and provided the team with the initial user stories that we focused on.
  33. Fortunately, the Census Bureau has a deep bench of experts who have working in the Income and Wealth space for over three decades. Trudi Renwick, who leads the Bureau’s Survey of Income and Program Participation, was kind enough to validate all things that we did with the data.
  34. Fortunately, we were finally exploring getting formal approval to use the cloud within the Department. The timing was right and the Commerce Data Service – a startup with the Department – could be the vehicle for externalizing this initiative.
  35. Both MVP and beta versions were built using AWS. We took the ACS PUMS data, which is the most detailed (and most under-utilized) dataset produced by the US Census Bureau. ACS stands for the American Community Survey and PUMS stands for the Public Microdata Use Sample. We downloaded the full dataset, extracted the income and wealth dimensions and created an API specifically focused on accessing those dimensions. For the MVP, we used Redshift, Lambda and API gateway. For the beta, we had to shift to an AWS stack that was FEDRAMP certified. So, we went to Postgres, S3 and EC2.
  36. Let’s look at what we learned from all this.
  37. It is important to have the support of leadership and the technology shop to both clear the way for these projects to happen and to ensure that these solutions persist. It is extremely important that all projects are scoped for maximum awesomeness, which means that 1) they are focused, 2) they include user input, 3) that there must be a need for them, 4) that there should be access to both domain experts and end users, 5) there is a delivery path that fits naturally into an existing workflow. Each of the APIs I presented used a different tech stack – because each had a different technical constraint. Each solution was rigorously validated by the appropriate stakeholders because we need to make sure that we are appropriately using the data and that the data is high-quality. Finally, we typically show our initial mockups or versions of what we are building in 2 to 4 weeks in order to start engaging our stakeholders.
  38. Sweat and Toil: The monthly access stats for the data now triples the ILAB web traffic. We have taken the API to a few hackathons and a few teams have built interesting apps on the data. CitySDK: In Minnesota, civil hackers built a CitySDK app that helps people with disabilities easily find a place to live or travel to in the state that satisfies their specific accessibility needs. In Chicago, innovators created Purshable - a CitySDK mobile app helps reduce waste, increase grocer’s profit, and offer shoppers high quality food at a fraction of the cost. In Washington DC, technologists developed HyperLocal - a CitySDK app that helps Food Truck operators without a lottery parking spot find customers by locating tweets from those who are hungry.
  39. We have been fortunate enough to have caught the eye of a few organizations that have honored the team’s work.
  40. I will end with that. Any questions?