SlideShare uma empresa Scribd logo
1 de 87
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
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
API
Better user interfaces
Integration into external processes
API
API
Write
API
Write
Not many
API
Read
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
Book Interface
We
put
data
in
cells
data has no
intrinsic value
3.2
public transit system
data
as an
infrastructure
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
maximum
data exposure
and reach
OPEN
as  in    
open  air
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"  
            },  
            ...  
      ]  
]
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,  ...  ]  
      }  
}
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

Mais conteúdo relacionado

Destaque

Periodisme de dades i oficines estadístiques
Periodisme de dades i oficines estadístiquesPeriodisme de dades i oficines estadístiques
Periodisme de dades i oficines estadístiquesXavier Badosa
 
Difusió estadísTICa oficial
Difusió estadísTICa oficialDifusió estadísTICa oficial
Difusió estadísTICa oficialXavier Badosa
 
JSON-stat & JS: the JSON-stat Javascript Toolkit
JSON-stat & JS: the JSON-stat Javascript ToolkitJSON-stat & JS: the JSON-stat Javascript Toolkit
JSON-stat & JS: the JSON-stat Javascript ToolkitXavier Badosa
 
Reutilización de datos gracias a la visualización de datos
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
 
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...
JSON-stat in the session "The future of standards in statistics", United Nati...Xavier Badosa
 
Idescat Visual: Gràfics i mapes
Idescat Visual: Gràfics i mapesIdescat Visual: Gràfics i mapes
Idescat Visual: Gràfics i mapesXavier Badosa
 
Links and Widgets: the Fabric of the Web
Links and Widgets: the Fabric of the WebLinks and Widgets: the Fabric of the Web
Links and Widgets: the Fabric of the WebXavier Badosa
 
Standards for statistical data dissemination: a wish list
Standards for statistical data dissemination: a wish listStandards for statistical data dissemination: a wish list
Standards for statistical data dissemination: a wish listXavier Badosa
 
La 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 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 vueltaXavier Badosa
 
Rectificaciones: una propuesta de estándar
Rectificaciones: una propuesta de estándarRectificaciones: una propuesta de estándar
Rectificaciones: una propuesta de estándarXavier 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)
WWW para editores (y más allá) (6)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)
WWW para editores (y más allá) (y 8)Xavier Badosa
 
Anatomía de las APIs del Idescat
Anatomía de las APIs del IdescatAnatomía de las APIs del Idescat
Anatomía de las APIs del IdescatXavier Badosa
 
La difusión estadística y la apertura de datos gubernamentales
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 gubernamentalesXavier 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)
WWW para editores (y más allá) (4)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)
WWW para editores (y más allá) (7)Xavier Badosa
 
El Idescat en Google Public Data Explorer
El Idescat en Google Public Data ExplorerEl Idescat en Google Public Data Explorer
El Idescat en Google Public Data ExplorerXavier 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)
WWW para editores (y más allá) (2)Xavier Badosa
 
Statistical dissemination 2.0
Statistical dissemination 2.0Statistical dissemination 2.0
Statistical dissemination 2.0Xavier Badosa
 

Destaque (20)

Periodisme de dades i oficines estadístiques
Periodisme de dades i oficines estadístiquesPeriodisme de dades i oficines estadístiques
Periodisme de dades i oficines estadístiques
 
Difusió estadísTICa oficial
Difusió estadísTICa oficialDifusió estadísTICa oficial
Difusió estadísTICa oficial
 
JSON-stat & JS: the JSON-stat Javascript Toolkit
JSON-stat & JS: the JSON-stat Javascript ToolkitJSON-stat & JS: the JSON-stat Javascript Toolkit
JSON-stat & JS: the JSON-stat Javascript Toolkit
 
Reutilización de datos gracias a la visualización de datos
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
 
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...
JSON-stat in the session "The future of standards in statistics", United Nati...
 
Idescat Visual: Gràfics i mapes
Idescat Visual: Gràfics i mapesIdescat Visual: Gràfics i mapes
Idescat Visual: Gràfics i mapes
 
Links and Widgets: the Fabric of the Web
Links and Widgets: the Fabric of the WebLinks and Widgets: the Fabric of the Web
Links and Widgets: the Fabric of the Web
 
Standards for statistical data dissemination: a wish list
Standards for statistical data dissemination: a wish listStandards for statistical data dissemination: a wish list
Standards for statistical data dissemination: a wish list
 
La 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 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
 
Rectificaciones: una propuesta de estándar
Rectificaciones: una propuesta de estándarRectificaciones: una propuesta de estándar
Rectificaciones: una propuesta de estándar
 
WWW para editores (y más allá) (6)
WWW para editores (y más allá) (6)WWW para editores (y más allá) (6)
WWW para editores (y más allá) (6)
 
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)
WWW para editores (y más allá) (y 8)
 
Toplax
ToplaxToplax
Toplax
 
Anatomía de las APIs del Idescat
Anatomía de las APIs del IdescatAnatomía de las APIs del Idescat
Anatomía de las APIs del Idescat
 
La difusión estadística y la apertura de datos gubernamentales
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
 
WWW para editores (y más allá) (4)
WWW para editores (y más allá) (4)WWW para editores (y más allá) (4)
WWW para editores (y más allá) (4)
 
WWW para editores (y más allá) (7)
WWW para editores (y más allá) (7)WWW para editores (y más allá) (7)
WWW para editores (y más allá) (7)
 
El Idescat en Google Public Data Explorer
El Idescat en Google Public Data ExplorerEl Idescat en Google Public Data Explorer
El Idescat en Google Public Data Explorer
 
WWW para editores (y más allá) (2)
WWW para editores (y más allá) (2)WWW para editores (y más allá) (2)
WWW para editores (y más allá) (2)
 
Statistical dissemination 2.0
Statistical dissemination 2.0Statistical dissemination 2.0
Statistical dissemination 2.0
 

Semelhante a Gov APIs: The Notorious Case of Official Statistics

IOOF IT System Modernisation
IOOF IT System ModernisationIOOF IT System Modernisation
IOOF IT System ModernisationMongoDB
 
Querying NoSQL with SQL - KCDC - August 2017
Querying NoSQL with SQL - KCDC - August 2017Querying NoSQL with SQL - KCDC - August 2017
Querying NoSQL with SQL - KCDC - August 2017Matthew Groves
 
Understanding N1QL Optimizer to Tune Queries
Understanding N1QL Optimizer to Tune QueriesUnderstanding N1QL Optimizer to Tune Queries
Understanding N1QL Optimizer to Tune QueriesKeshav 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 
SQL for JSON: Rich, Declarative Querying for NoSQL Databases and Applications Keshav Murthy
 
Bringing Data Analytics to the Edge
Bringing Data Analytics to the EdgeBringing Data Analytics to the Edge
Bringing Data Analytics to the EdgeTon Machielsen
 
Bringing SQL to NoSQL: Rich, Declarative Query for NoSQL
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
 
IBM Db2 JSON 11.5
IBM  Db2 JSON 11.5IBM  Db2 JSON 11.5
IBM Db2 JSON 11.5Phil Downey
 
The oecd delta project – providing easier access to data through api's
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'sJonathan Challener
 
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...
0 to 60 with AWS AppSync: Rapid Development Techniques for Mobile APIs (MOB32...Amazon Web Services
 
Boost user experience is your processes with Adaptive Cards - SPS Cologne
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 CologneTomasz Poszytek
 
Webinar: Exploring the Aggregation Framework
Webinar: Exploring the Aggregation FrameworkWebinar: Exploring the Aggregation Framework
Webinar: Exploring the Aggregation FrameworkMongoDB
 
Couchbase Tutorial: Big data Open Source Systems: VLDB2018
Couchbase Tutorial: Big data Open Source Systems: VLDB2018Couchbase Tutorial: Big data Open Source Systems: VLDB2018
Couchbase Tutorial: Big data Open Source Systems: VLDB2018Keshav Murthy
 
Agg framework selectgroup feb2015 v2
Agg framework selectgroup feb2015 v2Agg framework selectgroup feb2015 v2
Agg framework selectgroup feb2015 v2MongoDB
 
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
Building and Scaling the Internet of Things with MongoDB at Vivint MongoDB
 
Document Data Modelling with Couchbase Server 4.0
Document Data Modelling with Couchbase Server 4.0Document Data Modelling with Couchbase Server 4.0
Document Data Modelling with Couchbase Server 4.0Cihan Biyikoglu
 
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...
Application Development & Database Choices: Postgres Support for non Relation...EDB
 
Introducing N1QL: New SQL Based Query Language for JSON
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 JSONKeshav Murthy
 
Query in Couchbase. N1QL: SQL for JSON
Query in Couchbase.  N1QL: SQL for JSONQuery in Couchbase.  N1QL: SQL for JSON
Query in Couchbase. N1QL: SQL for JSONKeshav Murthy
 
Docker Summit MongoDB - Data Democratization
Docker Summit MongoDB - Data Democratization Docker Summit MongoDB - Data Democratization
Docker Summit MongoDB - Data Democratization Chris Grabosky
 
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...
Enable Your Marketing Teams to Engage Users with Relevant & Personalized Cont...Amazon Web Services
 

Semelhante a Gov APIs: The Notorious Case of Official Statistics (20)

IOOF IT System Modernisation
IOOF IT System ModernisationIOOF IT System Modernisation
IOOF IT System Modernisation
 
Querying NoSQL with SQL - KCDC - August 2017
Querying NoSQL with SQL - KCDC - August 2017Querying NoSQL with SQL - KCDC - August 2017
Querying NoSQL with SQL - KCDC - August 2017
 
Understanding N1QL Optimizer to Tune Queries
Understanding N1QL Optimizer to Tune QueriesUnderstanding N1QL Optimizer to Tune Queries
Understanding N1QL Optimizer to Tune Queries
 
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 
SQL for JSON: Rich, Declarative Querying for NoSQL Databases and Applications 
 
Bringing Data Analytics to the Edge
Bringing Data Analytics to the EdgeBringing Data Analytics to the Edge
Bringing Data Analytics to the Edge
 
Bringing SQL to NoSQL: Rich, Declarative Query for NoSQL
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
 
IBM Db2 JSON 11.5
IBM  Db2 JSON 11.5IBM  Db2 JSON 11.5
IBM Db2 JSON 11.5
 
The oecd delta project – providing easier access to data through api's
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
 
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...
0 to 60 with AWS AppSync: Rapid Development Techniques for Mobile APIs (MOB32...
 
Boost user experience is your processes with Adaptive Cards - SPS Cologne
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
 
Webinar: Exploring the Aggregation Framework
Webinar: Exploring the Aggregation FrameworkWebinar: Exploring the Aggregation Framework
Webinar: Exploring the Aggregation Framework
 
Couchbase Tutorial: Big data Open Source Systems: VLDB2018
Couchbase Tutorial: Big data Open Source Systems: VLDB2018Couchbase Tutorial: Big data Open Source Systems: VLDB2018
Couchbase Tutorial: Big data Open Source Systems: VLDB2018
 
Agg framework selectgroup feb2015 v2
Agg framework selectgroup feb2015 v2Agg framework selectgroup feb2015 v2
Agg framework selectgroup feb2015 v2
 
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
Building and Scaling the Internet of Things with MongoDB at Vivint
 
Document Data Modelling with Couchbase Server 4.0
Document Data Modelling with Couchbase Server 4.0Document Data Modelling with Couchbase Server 4.0
Document Data Modelling with Couchbase Server 4.0
 
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...
Application Development & Database Choices: Postgres Support for non Relation...
 
Introducing N1QL: New SQL Based Query Language for JSON
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
 
Query in Couchbase. N1QL: SQL for JSON
Query in Couchbase.  N1QL: SQL for JSONQuery in Couchbase.  N1QL: SQL for JSON
Query in Couchbase. N1QL: SQL for JSON
 
Docker Summit MongoDB - Data Democratization
Docker Summit MongoDB - Data Democratization Docker Summit MongoDB - Data Democratization
Docker Summit MongoDB - Data Democratization
 
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...
Enable Your Marketing Teams to Engage Users with Relevant & Personalized Cont...
 

Mais de Xavier Badosa

Putting Data in Cells
Putting Data in CellsPutting Data in Cells
Putting Data in CellsXavier Badosa
 
The Trouble with Tables
The Trouble with TablesThe Trouble with Tables
The Trouble with TablesXavier Badosa
 
What's our business? Statistics as platform
What's our business? Statistics as platformWhat's our business? Statistics as platform
What's our business? Statistics as platformXavier Badosa
 
Idescat on the Google Public Data Explorer
Idescat on the Google Public Data ExplorerIdescat on the Google Public Data Explorer
Idescat on the Google Public Data ExplorerXavier Badosa
 
Los widgets del Idescat: una aplicación de las APIs
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
 
E-books Are Not the Future of Books
E-books Are Not the Future of BooksE-books Are Not the Future of Books
E-books Are Not the Future of BooksXavier Badosa
 
Proyecto E-book 2001
Proyecto E-book 2001Proyecto E-book 2001
Proyecto E-book 2001Xavier 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)
WWW para editores (y más allá) (5)Xavier Badosa
 

Mais de Xavier Badosa (8)

Putting Data in Cells
Putting Data in CellsPutting Data in Cells
Putting Data in Cells
 
The Trouble with Tables
The Trouble with TablesThe Trouble with Tables
The Trouble with Tables
 
What's our business? Statistics as platform
What's our business? Statistics as platformWhat's our business? Statistics as platform
What's our business? Statistics as platform
 
Idescat on the Google Public Data Explorer
Idescat on the Google Public Data ExplorerIdescat on the Google Public Data Explorer
Idescat on the Google Public Data Explorer
 
Los widgets del Idescat: una aplicación de las APIs
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
 
E-books Are Not the Future of Books
E-books Are Not the Future of BooksE-books Are Not the Future of Books
E-books Are Not the Future of Books
 
Proyecto E-book 2001
Proyecto E-book 2001Proyecto E-book 2001
Proyecto E-book 2001
 
WWW para editores (y más allá) (5)
WWW para editores (y más allá) (5)WWW para editores (y más allá) (5)
WWW para editores (y más allá) (5)
 

Último

NO1 Certified kala jadu Love Marriage Black Magic Punjab Powerful Black Magic...
NO1 Certified kala jadu Love Marriage Black Magic Punjab Powerful Black Magic...NO1 Certified kala jadu Love Marriage Black Magic Punjab Powerful Black Magic...
NO1 Certified kala jadu Love Marriage Black Magic Punjab Powerful Black Magic...Amil baba
 
If there is a Hell on Earth, it is the Lives of Children in Gaza.pdf
If there is a Hell on Earth, it is the Lives of Children in Gaza.pdfIf there is a Hell on Earth, it is the Lives of Children in Gaza.pdf
If there is a Hell on Earth, it is the Lives of Children in Gaza.pdfKatrina Sriranpong
 
Call Girl Benson Town - Phone No 7001305949 For Ultimate Sexual Urges
Call Girl Benson Town - Phone No 7001305949 For Ultimate Sexual UrgesCall Girl Benson Town - Phone No 7001305949 For Ultimate Sexual Urges
Call Girl Benson Town - Phone No 7001305949 For Ultimate Sexual Urgesnarwatsonia7
 
call girls in Vasant Kunj DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vasant Kunj DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️call girls in Vasant Kunj DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vasant Kunj DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️saminamagar
 
Jewish Efforts to Influence American Immigration Policy in the Years Before t...
Jewish Efforts to Influence American Immigration Policy in the Years Before t...Jewish Efforts to Influence American Immigration Policy in the Years Before t...
Jewish Efforts to Influence American Immigration Policy in the Years Before t...yalehistoricalreview
 
RPT ENGLISH YEAR 2 (SK) 2024-2025 by RozayusAcademy.docx
RPT ENGLISH YEAR 2 (SK) 2024-2025 by RozayusAcademy.docxRPT ENGLISH YEAR 2 (SK) 2024-2025 by RozayusAcademy.docx
RPT ENGLISH YEAR 2 (SK) 2024-2025 by RozayusAcademy.docxg63394294
 
Russian Call Girl Hebbagodi ! 7001305949 ₹2999 Only and Free Hotel Delivery 2...
Russian Call Girl Hebbagodi ! 7001305949 ₹2999 Only and Free Hotel Delivery 2...Russian Call Girl Hebbagodi ! 7001305949 ₹2999 Only and Free Hotel Delivery 2...
Russian Call Girl Hebbagodi ! 7001305949 ₹2999 Only and Free Hotel Delivery 2...narwatsonia7
 
How to design healthy team dynamics to deliver successful digital projects.pptx
How to design healthy team dynamics to deliver successful digital projects.pptxHow to design healthy team dynamics to deliver successful digital projects.pptx
How to design healthy team dynamics to deliver successful digital projects.pptxTechSoupConnectLondo
 
13875446-Ballistic Missile Trajectories.ppt
13875446-Ballistic Missile Trajectories.ppt13875446-Ballistic Missile Trajectories.ppt
13875446-Ballistic Missile Trajectories.pptsilvialandin2
 
call girls in Mukherjee Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝...
call girls in Mukherjee Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝...call girls in Mukherjee Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝...
call girls in Mukherjee Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝...saminamagar
 
productionpost-productiondiary-240320114322-5004daf6.pptx
productionpost-productiondiary-240320114322-5004daf6.pptxproductionpost-productiondiary-240320114322-5004daf6.pptx
productionpost-productiondiary-240320114322-5004daf6.pptxHenryBriggs2
 
Monastic-Supremacy-in-the-Philippines-_20240328_092725_0000.pdf
Monastic-Supremacy-in-the-Philippines-_20240328_092725_0000.pdfMonastic-Supremacy-in-the-Philippines-_20240328_092725_0000.pdf
Monastic-Supremacy-in-the-Philippines-_20240328_092725_0000.pdfCharlynTorres1
 
Canadian Immigration Tracker - Key Slides - February 2024.pdf
Canadian Immigration Tracker - Key Slides - February 2024.pdfCanadian Immigration Tracker - Key Slides - February 2024.pdf
Canadian Immigration Tracker - Key Slides - February 2024.pdfAndrew Griffith
 
this is for educational purposes related
this is for educational purposes relatedthis is for educational purposes related
this is for educational purposes relatedAldrinBalibol1
 
Make Charity for Poor Students to Strong Kurnool
Make Charity for Poor Students to Strong KurnoolMake Charity for Poor Students to Strong Kurnool
Make Charity for Poor Students to Strong KurnoolSERUDS INDIA
 
call girls in Laxmi Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
call girls in Laxmi Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️call girls in Laxmi Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
call girls in Laxmi Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️saminamagar
 
Press Freedom in Europe - Time to turn the tide.
Press Freedom in Europe - Time to turn the tide.Press Freedom in Europe - Time to turn the tide.
Press Freedom in Europe - Time to turn the tide.Christina Parmionova
 
办理约克大学毕业证成绩单|购买加拿大文凭证书
办理约克大学毕业证成绩单|购买加拿大文凭证书办理约克大学毕业证成绩单|购买加拿大文凭证书
办理约克大学毕业证成绩单|购买加拿大文凭证书zdzoqco
 
PETTY CASH FUND - GOVERNMENT ACCOUNTING.pptx
PETTY CASH FUND - GOVERNMENT ACCOUNTING.pptxPETTY CASH FUND - GOVERNMENT ACCOUNTING.pptx
PETTY CASH FUND - GOVERNMENT ACCOUNTING.pptxCrisAnnBusilan
 
call girls in Tilak Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
call girls in Tilak Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️call girls in Tilak Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
call girls in Tilak Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️saminamagar
 

Último (20)

NO1 Certified kala jadu Love Marriage Black Magic Punjab Powerful Black Magic...
NO1 Certified kala jadu Love Marriage Black Magic Punjab Powerful Black Magic...NO1 Certified kala jadu Love Marriage Black Magic Punjab Powerful Black Magic...
NO1 Certified kala jadu Love Marriage Black Magic Punjab Powerful Black Magic...
 
If there is a Hell on Earth, it is the Lives of Children in Gaza.pdf
If there is a Hell on Earth, it is the Lives of Children in Gaza.pdfIf there is a Hell on Earth, it is the Lives of Children in Gaza.pdf
If there is a Hell on Earth, it is the Lives of Children in Gaza.pdf
 
Call Girl Benson Town - Phone No 7001305949 For Ultimate Sexual Urges
Call Girl Benson Town - Phone No 7001305949 For Ultimate Sexual UrgesCall Girl Benson Town - Phone No 7001305949 For Ultimate Sexual Urges
Call Girl Benson Town - Phone No 7001305949 For Ultimate Sexual Urges
 
call girls in Vasant Kunj DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vasant Kunj DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️call girls in Vasant Kunj DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vasant Kunj DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
 
Jewish Efforts to Influence American Immigration Policy in the Years Before t...
Jewish Efforts to Influence American Immigration Policy in the Years Before t...Jewish Efforts to Influence American Immigration Policy in the Years Before t...
Jewish Efforts to Influence American Immigration Policy in the Years Before t...
 
RPT ENGLISH YEAR 2 (SK) 2024-2025 by RozayusAcademy.docx
RPT ENGLISH YEAR 2 (SK) 2024-2025 by RozayusAcademy.docxRPT ENGLISH YEAR 2 (SK) 2024-2025 by RozayusAcademy.docx
RPT ENGLISH YEAR 2 (SK) 2024-2025 by RozayusAcademy.docx
 
Russian Call Girl Hebbagodi ! 7001305949 ₹2999 Only and Free Hotel Delivery 2...
Russian Call Girl Hebbagodi ! 7001305949 ₹2999 Only and Free Hotel Delivery 2...Russian Call Girl Hebbagodi ! 7001305949 ₹2999 Only and Free Hotel Delivery 2...
Russian Call Girl Hebbagodi ! 7001305949 ₹2999 Only and Free Hotel Delivery 2...
 
How to design healthy team dynamics to deliver successful digital projects.pptx
How to design healthy team dynamics to deliver successful digital projects.pptxHow to design healthy team dynamics to deliver successful digital projects.pptx
How to design healthy team dynamics to deliver successful digital projects.pptx
 
13875446-Ballistic Missile Trajectories.ppt
13875446-Ballistic Missile Trajectories.ppt13875446-Ballistic Missile Trajectories.ppt
13875446-Ballistic Missile Trajectories.ppt
 
call girls in Mukherjee Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝...
call girls in Mukherjee Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝...call girls in Mukherjee Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝...
call girls in Mukherjee Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝...
 
productionpost-productiondiary-240320114322-5004daf6.pptx
productionpost-productiondiary-240320114322-5004daf6.pptxproductionpost-productiondiary-240320114322-5004daf6.pptx
productionpost-productiondiary-240320114322-5004daf6.pptx
 
Monastic-Supremacy-in-the-Philippines-_20240328_092725_0000.pdf
Monastic-Supremacy-in-the-Philippines-_20240328_092725_0000.pdfMonastic-Supremacy-in-the-Philippines-_20240328_092725_0000.pdf
Monastic-Supremacy-in-the-Philippines-_20240328_092725_0000.pdf
 
Canadian Immigration Tracker - Key Slides - February 2024.pdf
Canadian Immigration Tracker - Key Slides - February 2024.pdfCanadian Immigration Tracker - Key Slides - February 2024.pdf
Canadian Immigration Tracker - Key Slides - February 2024.pdf
 
this is for educational purposes related
this is for educational purposes relatedthis is for educational purposes related
this is for educational purposes related
 
Make Charity for Poor Students to Strong Kurnool
Make Charity for Poor Students to Strong KurnoolMake Charity for Poor Students to Strong Kurnool
Make Charity for Poor Students to Strong Kurnool
 
call girls in Laxmi Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
call girls in Laxmi Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️call girls in Laxmi Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
call girls in Laxmi Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
 
Press Freedom in Europe - Time to turn the tide.
Press Freedom in Europe - Time to turn the tide.Press Freedom in Europe - Time to turn the tide.
Press Freedom in Europe - Time to turn the tide.
 
办理约克大学毕业证成绩单|购买加拿大文凭证书
办理约克大学毕业证成绩单|购买加拿大文凭证书办理约克大学毕业证成绩单|购买加拿大文凭证书
办理约克大学毕业证成绩单|购买加拿大文凭证书
 
PETTY CASH FUND - GOVERNMENT ACCOUNTING.pptx
PETTY CASH FUND - GOVERNMENT ACCOUNTING.pptxPETTY CASH FUND - GOVERNMENT ACCOUNTING.pptx
PETTY CASH FUND - GOVERNMENT ACCOUNTING.pptx
 
call girls in Tilak Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
call girls in Tilak Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️call girls in Tilak Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
call girls in Tilak Nagar DELHI 🔝 >༒9540349809 🔝 genuine Escort Service 🔝✔️✔️
 

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?”
  • 6.
  • 7. Gov APIs Society as a distributed system enabled by government
  • 9. ·∙ is a very long word Gov ern ment·∙
  • 14.
  • 15. API
  • 16. Better user interfaces Integration into external processes API
  • 19.
  • 20.
  • 21.
  • 22.
  • 24.
  • 25.
  • 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
  • 31.
  • 32.
  • 34.
  • 35.
  • 40.
  • 41.
  • 42.
  • 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
  • 56.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64.
  • 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"              },              ...        ]   ]
  • 77.
  • 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,  ...  ]        }   }
  • 85.
  • 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