Gov APIs: The Notorious Case of Official Statistics

Xavier Badosa
Xavier BadosaWeb Manager at Idescat
Gov APIs
The Notorious Case
of Official Statistics
APIdays Mediterranea
May 29 & 30, 2014
Barcelona
Xavier Badosa
(@badosa)
2009
“APIs
2013
for WhiteHouse.gov?”
“What in the heck
2013
does that mean?”
> 500
2014
Gov APIs: The Notorious Case of Official Statistics
Gov APIs
Society as a
distributed system
enabled
by government
Gov APIs
!
Transform
government
into a platform
·∙
is a very long word
Gov ern ment·∙
Service provider
Teller Window Interface
Teller Window Interface
Digital Window Interface
Gov APIs: The Notorious Case of Official Statistics
API
Better user interfaces
Integration into external processes
API
API
Write
API
Write
Not many
Gov APIs: The Notorious Case of Official Statistics
Gov APIs: The Notorious Case of Official Statistics
Gov APIs: The Notorious Case of Official Statistics
Gov APIs: The Notorious Case of Official Statistics
API
Read
Gov APIs: The Notorious Case of Official Statistics
Gov APIs: The Notorious Case of Official Statistics
Service provider
(data as a by-product)
Service provider
(data as a by-product)
open data ≠ gov as a platform
Service provider
(data as a by-product)
open data ≠ gov as a platform
open services
Service provider
(data as a by-product)
Data provider
Service provider
(data as a by-product)
Data provider
open data = gov as a platform
Gov APIs: The Notorious Case of Official Statistics
Gov APIs: The Notorious Case of Official Statistics
Book Interface
Gov APIs: The Notorious Case of Official Statistics
Gov APIs: The Notorious Case of Official Statistics
We
put
data
in
cells
data has no
intrinsic value
3.2
public transit system
data
as an
infrastructure
Gov APIs: The Notorious Case of Official Statistics
Gov APIs: The Notorious Case of Official Statistics
Gov APIs: The Notorious Case of Official Statistics
An infrastructure
is useless if nothing is built on top of it
Re-use
as a matter
of survival
To use again
in a new way
elsewhere
Mobility
Mobility
widget
Mobility
download
Mobility
API
The Richness of Language
verb object+
download
API
Get
Get…
all the data
the data I want
website
download
API
The Software Staircase
access
processing
maximum
data exposure
and reach
accuracy
preservation
brand awareness
the
Business
of
Reference
maximum
data exposure
and reach
API
FOUR-­‐LETTER  
WORDS  
AHEAD
FOUR-­‐LETTER  
WORDS  
AHEAD
maximum
data exposure
and reach
FREE
EASY
OPEN
API
maximum
data exposure
and reach
as  in    
free  beer
FREE
Gov APIs: The Notorious Case of Official Statistics
maximum
data exposure
and reach
OPEN
as  in    
open  air
Gov APIs: The Notorious Case of Official Statistics
Gov APIs: The Notorious Case of Official Statistics
Gov APIs: The Notorious Case of Official Statistics
Gov APIs: The Notorious Case of Official Statistics
Gov APIs: The Notorious Case of Official Statistics
Gov APIs: The Notorious Case of Official Statistics
Gov APIs: The Notorious Case of Official Statistics
Good for consumers
Good for the government
(savings, richer analytics)
Federated identity verification
of developers?
maximum
data exposure
and reach
EASY
as  in    
dead  easy
1+1
The Fifteen Minute Rule
A person of reasonable
ability should be able to
get from zero to ‘Hello World’
in fifteen minutes.
Michael E. Driscoll
Metamarkets
maximum
data exposure
and reach
EASY
as  in    
dead  easy
Apps are
already hard
Getting
the data
should be
dead simple
maximum
data exposure
and reach
EASY
as  in    
dead  easy
Docless APIs
Standard
endpoints,
responses,
errors
[  
      [  "P0010001",  "NAME",              "state"  ],  
      [  "710231",      "Alaska",          "02"        ],  
      [  "4779736",    "Alabama",        "01"        ],  
      [  "2915918",    "Arkansas",      "05"        ],  
      [  "6392017",    "Arizona",        "04"        ],  
      [  "37253956",  "California",  "06"        ],  
      ...  
]
{  
      ...,  
      "Results":  [{  
            "series":  [{  
                  "seriesID":  "LAUCN040010000000005",  
                  "data":  [  
                        {  
                              "year":  "2013",  
                              "period":  "M11",  
                              "periodName":  "November",  
                              "value":  "16393",  
                              "footnotes":  [...]  
                        },  
                        ...  
                  ]  
            }]  
      }]  
}
{  
      "BEAAPI":  {  
            "Request":  {...},  
            "Results":  {  
                  "Statistic":  "Per  capita  personal  income",  
                  "UnitOfMeasure":"dollars",  
                  "PublicTable":"CA1-­‐3  Personal  income  summary",  
                  "UTCProductionTime":"2014-­‐05-­‐11T17:02:55.817",  
                  "NoteRef":"2",  "Dimensions":  [...],  
                  "Data":  [  
                        {  
                              "GeoFips":"00000",  
                              "GeoName":"United  States",  
                              "Code":"PCPI_CI",  
                              "TimePeriod":"2009",  
                              "CL_UNIT":"USD",  
                              "UNIT_MULT":"0",  
                              "DataValue":"39357"  
                        },  
                        ...  
                  ],  "Notes":  [...]  
            }  
      }  
}
{  
      "JSONDataResult":  [  
            {  
                  "AgencyName":  "MCC",  
                  "Amount":  "-­‐6983525",  
                  "BenefitingLocation":  "Ghana",  
                  "Category":  "Economic  Development",  
                  "FiscalYear":  "2013",  
                  "Sector":  "Agriculture"  
            },  
            ...  
      ]  
}
{  
    "columns":  [  
        {  "code":"region",  "text":  "Region"  },  
        {  "code":"ageG5",  "text":"Age",  "comment":  ...  },  
        {  "code":"period",  "text":"Time",  "type":"t"  },  
        {  "code":"x",  "text":"Population",  "type":"c",  "unit":"amount"  }  
    ],  
    "comments":  [...],  
    "data":[  
        {  "key":  ["02","0-­‐7","2003"],  "values":  [  100  ]  },  
        {  "key":  ["02","0-­‐7","2004"],  "values":  [  101  ]  },  
        ...  
    ]  
}
[  
      {...},  
      [  
            {  
                  "indicator":  {  
                        "id":  "NY.GDP.MKTP.CD",  
                        "value":  "GDP  (current  US$)"  
                  },  
                  "country":  {  "id":  "BR",  "value":  "Brazil"  },  
                  "value":  "1620165226993.77",  
                  "decimal":  "0",  
                  "date":  "2009"  
            },  
            ...  
      ]  
]
Gov APIs: The Notorious Case of Official Statistics
SDMX,
RDF,
LGDx
SDMX
[  
      {  
            "area_name":  "Panama",  
            "measurement":  "tonnes",  
            "value":  1152.87890625,  
            "year":  2007,  
            "footnotes":  [...]  
      },  
      ...  
]
Unofficial
A Data-to-Provider(s)
Translation Protocol?
Service provider
Data provider
Write APIs
Common APIs
JSON-­‐stat.org
{  
      "dataset":  {  
            "status":  {...},  
            "dimension":  {...},  
            "label":  "Value  (NOK  1  000)  by  imports/exports...",  
            "source":  "Statistics  Norway",  
            "updated":  "2014-­‐05-­‐13T18:36:18Z",  
            "value":  [  77287250,  70377617,  73499048,  ...  ]  
      }  
}
Gov APIs: The Notorious Case of Official Statistics
Thank you !
Gov APIs
The Notorious Case
of Official Statistics
Xavier Badosa
(@badosa)
B&W  road  by  Niamor83  (CC  BY-­‐NC-­‐SA).  Color  road  by  Xavier  Badosa    
(CC  BY).  Snake  by  Brewbooks  (CC  BY-­‐SA).  Teller  window  by  Lorianne  
DiSabato  (CC  BY-­‐NC-­‐ND).  We're  closed  sign  by  Leol30  (CC  BY-­‐NC-­‐SA).    
Book  by  Chris  “shutterhacks”  (CC  BY).  Metal  movable  type  by  Willi  
Heidelbach  (CC  BY-­‐SA).  Zeros  and  ones  by  Josh  Bancroft  (CC  BY-­‐NC).    
Prison  Cell  by  Donkeycart  (CC  BY-­‐NC).  Railroad  by  Xavier  Badosa  (CC  BY).  
Dartboard  by  Jacob  Vance  (CC  BY-­‐NC).  Beers  by  Evil  Sivan  (CC  BY-­‐NC-­‐SA).  
Sea  by  Grant  MacDonald  (CC  BY-­‐NC).  Clock  by  Christian  Cable  (CC  BY).  
Bottle  by  Prizmatic  (CC  BY-­‐NC).  Reduce  Reuse  Recycle  by  Steve  Snodgrass  
(CC  BY).  Computer  icon  by  Danilo  de  Marco.  Woman  profile  icon  by  
VisualPharm  (http://www.visualpharm.com).  Spermatozoa,  author  
unkown.
Credits
1 of 87

Recommended

Consuming Nordic Statbank data with JSON-stat by
Consuming Nordic Statbank data with JSON-statConsuming Nordic Statbank data with JSON-stat
Consuming Nordic Statbank data with JSON-statXavier Badosa
10.5K views132 slides
StatisticalTable, a JSON-stat-based vocabulary by
StatisticalTable, a JSON-stat-based vocabularyStatisticalTable, a JSON-stat-based vocabulary
StatisticalTable, a JSON-stat-based vocabularyXavier Badosa
22.8K views23 slides
JSON-stat, a simple light standard for all kinds of data disseminators by
JSON-stat, a simple light standard for all kinds of data disseminatorsJSON-stat, a simple light standard for all kinds of data disseminators
JSON-stat, a simple light standard for all kinds of data disseminatorsXavier Badosa
121.6K views68 slides
Data Dissemination through Data Visualization by
Data Dissemination through Data VisualizationData Dissemination through Data Visualization
Data Dissemination through Data VisualizationXavier Badosa
15K views80 slides
JSON-stat in the Sea of Standards by
JSON-stat in the Sea of StandardsJSON-stat in the Sea of Standards
JSON-stat in the Sea of StandardsXavier Badosa
6.8K views62 slides
Decoupling Official Statistics by
Decoupling Official StatisticsDecoupling Official Statistics
Decoupling Official StatisticsXavier Badosa
12.4K views89 slides

More Related Content

Viewers also liked

Periodisme de dades i oficines estadístiques by
Periodisme de dades i oficines estadístiquesPeriodisme de dades i oficines estadístiques
Periodisme de dades i oficines estadístiquesXavier Badosa
14.8K views76 slides
Difusió estadísTICa oficial by
Difusió estadísTICa oficialDifusió estadísTICa oficial
Difusió estadísTICa oficialXavier Badosa
14.7K views37 slides
JSON-stat & JS: the JSON-stat Javascript Toolkit by
JSON-stat & JS: the JSON-stat Javascript ToolkitJSON-stat & JS: the JSON-stat Javascript Toolkit
JSON-stat & JS: the JSON-stat Javascript ToolkitXavier Badosa
24.6K views51 slides
Reutilización de datos gracias a la visualización de datos by
Reutilización de datos gracias a la visualización de datosReutilización de datos gracias a la visualización de datos
Reutilización de datos gracias a la visualización de datosXavier Badosa
14.3K views58 slides
JSON-stat in the session "The future of standards in statistics", United Nati... by
JSON-stat in the session "The future of standards in statistics", United Nati...JSON-stat in the session "The future of standards in statistics", United Nati...
JSON-stat in the session "The future of standards in statistics", United Nati...Xavier Badosa
13.7K views67 slides
Idescat Visual: Gràfics i mapes by
Idescat Visual: Gràfics i mapesIdescat Visual: Gràfics i mapes
Idescat Visual: Gràfics i mapesXavier Badosa
14.6K views116 slides

Viewers also liked(20)

Periodisme de dades i oficines estadístiques by Xavier Badosa
Periodisme de dades i oficines estadístiquesPeriodisme de dades i oficines estadístiques
Periodisme de dades i oficines estadístiques
Xavier Badosa14.8K views
Difusió estadísTICa oficial by Xavier Badosa
Difusió estadísTICa oficialDifusió estadísTICa oficial
Difusió estadísTICa oficial
Xavier Badosa14.7K views
JSON-stat & JS: the JSON-stat Javascript Toolkit by Xavier Badosa
JSON-stat & JS: the JSON-stat Javascript ToolkitJSON-stat & JS: the JSON-stat Javascript Toolkit
JSON-stat & JS: the JSON-stat Javascript Toolkit
Xavier Badosa24.6K views
Reutilización de datos gracias a la visualización de datos by Xavier Badosa
Reutilización de datos gracias a la visualización de datosReutilización de datos gracias a la visualización de datos
Reutilización de datos gracias a la visualización de datos
Xavier Badosa14.3K views
JSON-stat in the session "The future of standards in statistics", United Nati... by Xavier Badosa
JSON-stat in the session "The future of standards in statistics", United Nati...JSON-stat in the session "The future of standards in statistics", United Nati...
JSON-stat in the session "The future of standards in statistics", United Nati...
Xavier Badosa13.7K views
Idescat Visual: Gràfics i mapes by Xavier Badosa
Idescat Visual: Gràfics i mapesIdescat Visual: Gràfics i mapes
Idescat Visual: Gràfics i mapes
Xavier Badosa14.6K views
Links and Widgets: the Fabric of the Web by Xavier Badosa
Links and Widgets: the Fabric of the WebLinks and Widgets: the Fabric of the Web
Links and Widgets: the Fabric of the Web
Xavier Badosa15.9K views
Standards for statistical data dissemination: a wish list by Xavier Badosa
Standards for statistical data dissemination: a wish listStandards for statistical data dissemination: a wish list
Standards for statistical data dissemination: a wish list
Xavier Badosa17.7K views
La difusión estadística y la apertura de datos: un viaje de ida y vuelta by Xavier Badosa
La difusión estadística y la apertura de datos: un viaje de ida y vueltaLa difusión estadística y la apertura de datos: un viaje de ida y vuelta
La difusión estadística y la apertura de datos: un viaje de ida y vuelta
Xavier Badosa15.1K views
Rectificaciones: una propuesta de estándar by Xavier Badosa
Rectificaciones: una propuesta de estándarRectificaciones: una propuesta de estándar
Rectificaciones: una propuesta de estándar
Xavier Badosa15.9K views
WWW para editores (y más allá) (6) by Xavier Badosa
WWW para editores (y más allá) (6)WWW para editores (y más allá) (6)
WWW para editores (y más allá) (6)
Xavier Badosa14.1K views
WWW para editores (y más allá) (y 8) by Xavier Badosa
WWW para editores (y más allá) (y 8)WWW para editores (y más allá) (y 8)
WWW para editores (y más allá) (y 8)
Xavier Badosa13.8K views
Anatomía de las APIs del Idescat by Xavier Badosa
Anatomía de las APIs del IdescatAnatomía de las APIs del Idescat
Anatomía de las APIs del Idescat
Xavier Badosa16K views
La difusión estadística y la apertura de datos gubernamentales by Xavier Badosa
La difusión estadística y la apertura de datos gubernamentalesLa difusión estadística y la apertura de datos gubernamentales
La difusión estadística y la apertura de datos gubernamentales
Xavier Badosa14K views
WWW para editores (y más allá) (4) by Xavier Badosa
WWW para editores (y más allá) (4)WWW para editores (y más allá) (4)
WWW para editores (y más allá) (4)
Xavier Badosa14.3K views
WWW para editores (y más allá) (7) by Xavier Badosa
WWW para editores (y más allá) (7)WWW para editores (y más allá) (7)
WWW para editores (y más allá) (7)
Xavier Badosa14.1K views
El Idescat en Google Public Data Explorer by Xavier Badosa
El Idescat en Google Public Data ExplorerEl Idescat en Google Public Data Explorer
El Idescat en Google Public Data Explorer
Xavier Badosa15.5K views
WWW para editores (y más allá) (2) by Xavier Badosa
WWW para editores (y más allá) (2)WWW para editores (y más allá) (2)
WWW para editores (y más allá) (2)
Xavier Badosa14.3K views
Statistical dissemination 2.0 by Xavier Badosa
Statistical dissemination 2.0Statistical dissemination 2.0
Statistical dissemination 2.0
Xavier Badosa14.9K views

Similar to Gov APIs: The Notorious Case of Official Statistics

IOOF IT System Modernisation by
IOOF IT System ModernisationIOOF IT System Modernisation
IOOF IT System ModernisationMongoDB
356 views28 slides
Querying NoSQL with SQL - KCDC - August 2017 by
Querying NoSQL with SQL - KCDC - August 2017Querying NoSQL with SQL - KCDC - August 2017
Querying NoSQL with SQL - KCDC - August 2017Matthew Groves
200 views72 slides
Understanding N1QL Optimizer to Tune Queries by
Understanding N1QL Optimizer to Tune QueriesUnderstanding N1QL Optimizer to Tune Queries
Understanding N1QL Optimizer to Tune QueriesKeshav Murthy
336 views50 slides
SQL for JSON: Rich, Declarative Querying for NoSQL Databases and Applications  by
SQL for JSON: Rich, Declarative Querying for NoSQL Databases and Applications SQL for JSON: Rich, Declarative Querying for NoSQL Databases and Applications 
SQL for JSON: Rich, Declarative Querying for NoSQL Databases and Applications Keshav Murthy
1.8K views55 slides
Bringing Data Analytics to the Edge by
Bringing Data Analytics to the EdgeBringing Data Analytics to the Edge
Bringing Data Analytics to the EdgeTon Machielsen
737 views20 slides
Bringing SQL to NoSQL: Rich, Declarative Query for NoSQL by
Bringing SQL to NoSQL: Rich, Declarative Query for NoSQLBringing SQL to NoSQL: Rich, Declarative Query for NoSQL
Bringing SQL to NoSQL: Rich, Declarative Query for NoSQLKeshav Murthy
1.2K views75 slides

Similar to Gov APIs: The Notorious Case of Official Statistics(20)

IOOF IT System Modernisation by MongoDB
IOOF IT System ModernisationIOOF IT System Modernisation
IOOF IT System Modernisation
MongoDB356 views
Querying NoSQL with SQL - KCDC - August 2017 by Matthew Groves
Querying NoSQL with SQL - KCDC - August 2017Querying NoSQL with SQL - KCDC - August 2017
Querying NoSQL with SQL - KCDC - August 2017
Matthew Groves200 views
Understanding N1QL Optimizer to Tune Queries by Keshav Murthy
Understanding N1QL Optimizer to Tune QueriesUnderstanding N1QL Optimizer to Tune Queries
Understanding N1QL Optimizer to Tune Queries
Keshav Murthy336 views
SQL for JSON: Rich, Declarative Querying for NoSQL Databases and Applications  by Keshav Murthy
SQL for JSON: Rich, Declarative Querying for NoSQL Databases and Applications SQL for JSON: Rich, Declarative Querying for NoSQL Databases and Applications 
SQL for JSON: Rich, Declarative Querying for NoSQL Databases and Applications 
Keshav Murthy1.8K views
Bringing Data Analytics to the Edge by Ton Machielsen
Bringing Data Analytics to the EdgeBringing Data Analytics to the Edge
Bringing Data Analytics to the Edge
Ton Machielsen737 views
Bringing SQL to NoSQL: Rich, Declarative Query for NoSQL by Keshav Murthy
Bringing SQL to NoSQL: Rich, Declarative Query for NoSQLBringing SQL to NoSQL: Rich, Declarative Query for NoSQL
Bringing SQL to NoSQL: Rich, Declarative Query for NoSQL
Keshav Murthy1.2K views
IBM Db2 JSON 11.5 by Phil Downey
IBM  Db2 JSON 11.5IBM  Db2 JSON 11.5
IBM Db2 JSON 11.5
Phil Downey1.9K views
The oecd delta project – providing easier access to data through api's by Jonathan Challener
The oecd delta project – providing easier access to data through api'sThe oecd delta project – providing easier access to data through api's
The oecd delta project – providing easier access to data through api's
Jonathan Challener1.1K views
0 to 60 with AWS AppSync: Rapid Development Techniques for Mobile APIs (MOB32... by Amazon Web Services
0 to 60 with AWS AppSync: Rapid Development Techniques for Mobile APIs (MOB32...0 to 60 with AWS AppSync: Rapid Development Techniques for Mobile APIs (MOB32...
0 to 60 with AWS AppSync: Rapid Development Techniques for Mobile APIs (MOB32...
Boost user experience is your processes with Adaptive Cards - SPS Cologne by Tomasz Poszytek
Boost user experience is your processes with Adaptive Cards - SPS CologneBoost user experience is your processes with Adaptive Cards - SPS Cologne
Boost user experience is your processes with Adaptive Cards - SPS Cologne
Tomasz Poszytek141 views
Webinar: Exploring the Aggregation Framework by MongoDB
Webinar: Exploring the Aggregation FrameworkWebinar: Exploring the Aggregation Framework
Webinar: Exploring the Aggregation Framework
MongoDB3.5K views
Couchbase Tutorial: Big data Open Source Systems: VLDB2018 by Keshav Murthy
Couchbase Tutorial: Big data Open Source Systems: VLDB2018Couchbase Tutorial: Big data Open Source Systems: VLDB2018
Couchbase Tutorial: Big data Open Source Systems: VLDB2018
Keshav Murthy667 views
Agg framework selectgroup feb2015 v2 by MongoDB
Agg framework selectgroup feb2015 v2Agg framework selectgroup feb2015 v2
Agg framework selectgroup feb2015 v2
MongoDB11.6K views
Building and Scaling the Internet of Things with MongoDB at Vivint by MongoDB
Building and Scaling the Internet of Things with MongoDB at Vivint Building and Scaling the Internet of Things with MongoDB at Vivint
Building and Scaling the Internet of Things with MongoDB at Vivint
MongoDB1.6K views
Document Data Modelling with Couchbase Server 4.0 by Cihan Biyikoglu
Document Data Modelling with Couchbase Server 4.0Document Data Modelling with Couchbase Server 4.0
Document Data Modelling with Couchbase Server 4.0
Cihan Biyikoglu570 views
Application Development & Database Choices: Postgres Support for non Relation... by EDB
Application Development & Database Choices: Postgres Support for non Relation...Application Development & Database Choices: Postgres Support for non Relation...
Application Development & Database Choices: Postgres Support for non Relation...
EDB292 views
Introducing N1QL: New SQL Based Query Language for JSON by Keshav Murthy
Introducing N1QL: New SQL Based Query Language for JSONIntroducing N1QL: New SQL Based Query Language for JSON
Introducing N1QL: New SQL Based Query Language for JSON
Keshav Murthy801 views
Query in Couchbase. N1QL: SQL for JSON by Keshav Murthy
Query in Couchbase.  N1QL: SQL for JSONQuery in Couchbase.  N1QL: SQL for JSON
Query in Couchbase. N1QL: SQL for JSON
Keshav Murthy3.9K views
Docker Summit MongoDB - Data Democratization by Chris Grabosky
Docker Summit MongoDB - Data Democratization Docker Summit MongoDB - Data Democratization
Docker Summit MongoDB - Data Democratization
Chris Grabosky91 views
Enable Your Marketing Teams to Engage Users with Relevant & Personalized Cont... by Amazon Web Services
Enable Your Marketing Teams to Engage Users with Relevant & Personalized Cont...Enable Your Marketing Teams to Engage Users with Relevant & Personalized Cont...
Enable Your Marketing Teams to Engage Users with Relevant & Personalized Cont...
Amazon Web Services1.1K views

More from Xavier Badosa

Putting Data in Cells by
Putting Data in CellsPutting Data in Cells
Putting Data in CellsXavier Badosa
442 views105 slides
The Trouble with Tables by
The Trouble with TablesThe Trouble with Tables
The Trouble with TablesXavier Badosa
9K views81 slides
What's our business? Statistics as platform by
What's our business? Statistics as platformWhat's our business? Statistics as platform
What's our business? Statistics as platformXavier Badosa
37.4K views125 slides
Idescat on the Google Public Data Explorer by
Idescat on the Google Public Data ExplorerIdescat on the Google Public Data Explorer
Idescat on the Google Public Data ExplorerXavier Badosa
16K views129 slides
Los widgets del Idescat: una aplicación de las APIs by
Los widgets del Idescat: una aplicación de las APIsLos widgets del Idescat: una aplicación de las APIs
Los widgets del Idescat: una aplicación de las APIsXavier Badosa
15.6K views80 slides
E-books Are Not the Future of Books by
E-books Are Not the Future of BooksE-books Are Not the Future of Books
E-books Are Not the Future of BooksXavier Badosa
18.9K views168 slides

More from Xavier Badosa(8)

What's our business? Statistics as platform by Xavier Badosa
What's our business? Statistics as platformWhat's our business? Statistics as platform
What's our business? Statistics as platform
Xavier Badosa37.4K views
Idescat on the Google Public Data Explorer by Xavier Badosa
Idescat on the Google Public Data ExplorerIdescat on the Google Public Data Explorer
Idescat on the Google Public Data Explorer
Xavier Badosa16K views
Los widgets del Idescat: una aplicación de las APIs by Xavier Badosa
Los widgets del Idescat: una aplicación de las APIsLos widgets del Idescat: una aplicación de las APIs
Los widgets del Idescat: una aplicación de las APIs
Xavier Badosa15.6K views
E-books Are Not the Future of Books by Xavier Badosa
E-books Are Not the Future of BooksE-books Are Not the Future of Books
E-books Are Not the Future of Books
Xavier Badosa18.9K views
Proyecto E-book 2001 by Xavier Badosa
Proyecto E-book 2001Proyecto E-book 2001
Proyecto E-book 2001
Xavier Badosa13.6K views
WWW para editores (y más allá) (5) by Xavier Badosa
WWW para editores (y más allá) (5)WWW para editores (y más allá) (5)
WWW para editores (y más allá) (5)
Xavier Badosa14.1K views

Recently uploaded

How to Find Contractors and Architects for Your Historic Home Renovation by
How to Find Contractors and Architects for Your Historic Home RenovationHow to Find Contractors and Architects for Your Historic Home Renovation
How to Find Contractors and Architects for Your Historic Home RenovationNational Trust for Historic Preservation
165 views8 slides
AABS project overview by
AABS project overviewAABS project overview
AABS project overviewWorldFish
29 views17 slides
Mapping location and co-location of industries at the neighborhood level - A... by
Mapping location and co-location of industries at the neighborhood level  - A...Mapping location and co-location of industries at the neighborhood level  - A...
Mapping location and co-location of industries at the neighborhood level - A...OECD CFE
6 views19 slides
Dr. John Ulimwengu - 2023 ReSAKSS Conference.pptx by
Dr. John Ulimwengu - 2023 ReSAKSS Conference.pptxDr. John Ulimwengu - 2023 ReSAKSS Conference.pptx
Dr. John Ulimwengu - 2023 ReSAKSS Conference.pptxAKADEMIYA2063
7 views9 slides
COP 28 GHANA DELEGATES.docx by
COP 28 GHANA DELEGATES.docxCOP 28 GHANA DELEGATES.docx
COP 28 GHANA DELEGATES.docxKweku Zurek
6.3K views23 slides
Advancing and democratizing business data in Canada- Patrick Gill & Stephen Tapp by
Advancing and democratizing business data in Canada- Patrick Gill & Stephen TappAdvancing and democratizing business data in Canada- Patrick Gill & Stephen Tapp
Advancing and democratizing business data in Canada- Patrick Gill & Stephen TappOECD CFE
6 views16 slides

Recently uploaded(20)

AABS project overview by WorldFish
AABS project overviewAABS project overview
AABS project overview
WorldFish29 views
Mapping location and co-location of industries at the neighborhood level - A... by OECD CFE
Mapping location and co-location of industries at the neighborhood level  - A...Mapping location and co-location of industries at the neighborhood level  - A...
Mapping location and co-location of industries at the neighborhood level - A...
OECD CFE6 views
Dr. John Ulimwengu - 2023 ReSAKSS Conference.pptx by AKADEMIYA2063
Dr. John Ulimwengu - 2023 ReSAKSS Conference.pptxDr. John Ulimwengu - 2023 ReSAKSS Conference.pptx
Dr. John Ulimwengu - 2023 ReSAKSS Conference.pptx
AKADEMIYA20637 views
COP 28 GHANA DELEGATES.docx by Kweku Zurek
COP 28 GHANA DELEGATES.docxCOP 28 GHANA DELEGATES.docx
COP 28 GHANA DELEGATES.docx
Kweku Zurek6.3K views
Advancing and democratizing business data in Canada- Patrick Gill & Stephen Tapp by OECD CFE
Advancing and democratizing business data in Canada- Patrick Gill & Stephen TappAdvancing and democratizing business data in Canada- Patrick Gill & Stephen Tapp
Advancing and democratizing business data in Canada- Patrick Gill & Stephen Tapp
OECD CFE6 views
Ms. Julie Collins - 2023 ReSAKSS Conference.pptx by AKADEMIYA2063
Ms. Julie Collins - 2023 ReSAKSS Conference.pptxMs. Julie Collins - 2023 ReSAKSS Conference.pptx
Ms. Julie Collins - 2023 ReSAKSS Conference.pptx
AKADEMIYA206317 views
Support Girl students with Education by SERUDS INDIA
Support Girl students with EducationSupport Girl students with Education
Support Girl students with Education
SERUDS INDIA6 views
Mrs. Tsitsi Makombe - 2023 ReSAKSS Conference by AKADEMIYA2063
Mrs. Tsitsi Makombe - 2023 ReSAKSS Conference Mrs. Tsitsi Makombe - 2023 ReSAKSS Conference
Mrs. Tsitsi Makombe - 2023 ReSAKSS Conference
AKADEMIYA20638 views
Financial sustainability of schemes managed by PHED in Punjab_Krishnakumar Th... by India Water Portal
Financial sustainability of schemes managed by PHED in Punjab_Krishnakumar Th...Financial sustainability of schemes managed by PHED in Punjab_Krishnakumar Th...
Financial sustainability of schemes managed by PHED in Punjab_Krishnakumar Th...
Dr Jean Paul Latyr FAYE - 2023 ReSAKSS Conference.pptx by AKADEMIYA2063
Dr Jean Paul Latyr FAYE - 2023 ReSAKSS Conference.pptxDr Jean Paul Latyr FAYE - 2023 ReSAKSS Conference.pptx
Dr Jean Paul Latyr FAYE - 2023 ReSAKSS Conference.pptx
AKADEMIYA206310 views
Mr. Kenao Lao - 2023 ReSAKSS Conference.pptx by AKADEMIYA2063
 Mr. Kenao Lao - 2023 ReSAKSS Conference.pptx Mr. Kenao Lao - 2023 ReSAKSS Conference.pptx
Mr. Kenao Lao - 2023 ReSAKSS Conference.pptx
AKADEMIYA20637 views
Case study of Gokarna Multi-village scheme, Kumta, Karnataka_IIM-B_2023.pdf by India Water Portal
Case study of Gokarna Multi-village scheme, Kumta, Karnataka_IIM-B_2023.pdfCase study of Gokarna Multi-village scheme, Kumta, Karnataka_IIM-B_2023.pdf
Case study of Gokarna Multi-village scheme, Kumta, Karnataka_IIM-B_2023.pdf
Dr Getaw Tadesse - 2023 ReSAKSS Conference .pptx by AKADEMIYA2063
Dr Getaw Tadesse - 2023 ReSAKSS Conference .pptxDr Getaw Tadesse - 2023 ReSAKSS Conference .pptx
Dr Getaw Tadesse - 2023 ReSAKSS Conference .pptx
AKADEMIYA206313 views
Arrow Adoption Training for Kinship Families by ArrowMarketing
Arrow Adoption Training for Kinship FamiliesArrow Adoption Training for Kinship Families
Arrow Adoption Training for Kinship Families
ArrowMarketing42 views
Dr. Fleur Wouterse - 2023 ReSAKSS Conference.pptx by AKADEMIYA2063
Dr. Fleur Wouterse - 2023 ReSAKSS Conference.pptxDr. Fleur Wouterse - 2023 ReSAKSS Conference.pptx
Dr. Fleur Wouterse - 2023 ReSAKSS Conference.pptx
AKADEMIYA20637 views

Gov APIs: The Notorious Case of Official Statistics

  • 1. Gov APIs The Notorious Case of Official Statistics APIdays Mediterranea May 29 & 30, 2014 Barcelona Xavier Badosa (@badosa)
  • 4. “What in the heck 2013 does that mean?”
  • 7. Gov APIs Society as a distributed system enabled by government
  • 9. ·∙ is a very long word Gov ern ment·∙
  • 15. API
  • 16. Better user interfaces Integration into external processes API
  • 26. Service provider (data as a by-product)
  • 27. Service provider (data as a by-product) open data ≠ gov as a platform
  • 28. Service provider (data as a by-product) open data ≠ gov as a platform open services
  • 29. Service provider (data as a by-product) Data provider
  • 30. Service provider (data as a by-product) Data provider open data = gov as a platform
  • 43. An infrastructure is useless if nothing is built on top of it
  • 45. To use again in a new way elsewhere
  • 50. The Richness of Language verb object+ download API Get Get… all the data the data I want
  • 52. maximum data exposure and reach accuracy preservation brand awareness the Business of Reference
  • 53. maximum data exposure and reach API FOUR-­‐LETTER   WORDS   AHEAD FOUR-­‐LETTER   WORDS   AHEAD
  • 55. maximum data exposure and reach as  in     free  beer FREE
  • 65. Good for consumers Good for the government (savings, richer analytics)
  • 67. maximum data exposure and reach EASY as  in     dead  easy 1+1
  • 68. The Fifteen Minute Rule A person of reasonable ability should be able to get from zero to ‘Hello World’ in fifteen minutes. Michael E. Driscoll Metamarkets
  • 69. maximum data exposure and reach EASY as  in     dead  easy Apps are already hard Getting the data should be dead simple
  • 70. maximum data exposure and reach EASY as  in     dead  easy Docless APIs Standard endpoints, responses, errors
  • 71. [        [  "P0010001",  "NAME",              "state"  ],        [  "710231",      "Alaska",          "02"        ],        [  "4779736",    "Alabama",        "01"        ],        [  "2915918",    "Arkansas",      "05"        ],        [  "6392017",    "Arizona",        "04"        ],        [  "37253956",  "California",  "06"        ],        ...   ]
  • 72. {        ...,        "Results":  [{              "series":  [{                    "seriesID":  "LAUCN040010000000005",                    "data":  [                          {                                "year":  "2013",                                "period":  "M11",                                "periodName":  "November",                                "value":  "16393",                                "footnotes":  [...]                          },                          ...                    ]              }]        }]   }
  • 73. {        "BEAAPI":  {              "Request":  {...},              "Results":  {                    "Statistic":  "Per  capita  personal  income",                    "UnitOfMeasure":"dollars",                    "PublicTable":"CA1-­‐3  Personal  income  summary",                    "UTCProductionTime":"2014-­‐05-­‐11T17:02:55.817",                    "NoteRef":"2",  "Dimensions":  [...],                    "Data":  [                          {                                "GeoFips":"00000",                                "GeoName":"United  States",                                "Code":"PCPI_CI",                                "TimePeriod":"2009",                                "CL_UNIT":"USD",                                "UNIT_MULT":"0",                                "DataValue":"39357"                          },                          ...                    ],  "Notes":  [...]              }        }   }
  • 74. {        "JSONDataResult":  [              {                    "AgencyName":  "MCC",                    "Amount":  "-­‐6983525",                    "BenefitingLocation":  "Ghana",                    "Category":  "Economic  Development",                    "FiscalYear":  "2013",                    "Sector":  "Agriculture"              },              ...        ]   }
  • 75. {      "columns":  [          {  "code":"region",  "text":  "Region"  },          {  "code":"ageG5",  "text":"Age",  "comment":  ...  },          {  "code":"period",  "text":"Time",  "type":"t"  },          {  "code":"x",  "text":"Population",  "type":"c",  "unit":"amount"  }      ],      "comments":  [...],      "data":[          {  "key":  ["02","0-­‐7","2003"],  "values":  [  100  ]  },          {  "key":  ["02","0-­‐7","2004"],  "values":  [  101  ]  },          ...      ]   }
  • 76. [        {...},        [              {                    "indicator":  {                          "id":  "NY.GDP.MKTP.CD",                          "value":  "GDP  (current  US$)"                    },                    "country":  {  "id":  "BR",  "value":  "Brazil"  },                    "value":  "1620165226993.77",                    "decimal":  "0",                    "date":  "2009"              },              ...        ]   ]
  • 79. SDMX
  • 80. [        {              "area_name":  "Panama",              "measurement":  "tonnes",              "value":  1152.87890625,              "year":  2007,              "footnotes":  [...]        },        ...   ] Unofficial
  • 84. {        "dataset":  {              "status":  {...},              "dimension":  {...},              "label":  "Value  (NOK  1  000)  by  imports/exports...",              "source":  "Statistics  Norway",              "updated":  "2014-­‐05-­‐13T18:36:18Z",              "value":  [  77287250,  70377617,  73499048,  ...  ]        }   }
  • 86. Thank you ! Gov APIs The Notorious Case of Official Statistics Xavier Badosa (@badosa)
  • 87. B&W  road  by  Niamor83  (CC  BY-­‐NC-­‐SA).  Color  road  by  Xavier  Badosa     (CC  BY).  Snake  by  Brewbooks  (CC  BY-­‐SA).  Teller  window  by  Lorianne   DiSabato  (CC  BY-­‐NC-­‐ND).  We're  closed  sign  by  Leol30  (CC  BY-­‐NC-­‐SA).     Book  by  Chris  “shutterhacks”  (CC  BY).  Metal  movable  type  by  Willi   Heidelbach  (CC  BY-­‐SA).  Zeros  and  ones  by  Josh  Bancroft  (CC  BY-­‐NC).     Prison  Cell  by  Donkeycart  (CC  BY-­‐NC).  Railroad  by  Xavier  Badosa  (CC  BY).   Dartboard  by  Jacob  Vance  (CC  BY-­‐NC).  Beers  by  Evil  Sivan  (CC  BY-­‐NC-­‐SA).   Sea  by  Grant  MacDonald  (CC  BY-­‐NC).  Clock  by  Christian  Cable  (CC  BY).   Bottle  by  Prizmatic  (CC  BY-­‐NC).  Reduce  Reuse  Recycle  by  Steve  Snodgrass   (CC  BY).  Computer  icon  by  Danilo  de  Marco.  Woman  profile  icon  by   VisualPharm  (http://www.visualpharm.com).  Spermatozoa,  author   unkown. Credits