Top Banner
26
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Combining data through standards and metrics by Mike Thacker
Page 2: Combining data through standards and metrics by Mike Thacker

COMBINING DATA THROUGH STANDARDS AND METRICS

Mike Thacker – Porism Limited

Open Data

Combining data through standards and metrics

2

Page 3: Combining data through standards and metrics by Mike Thacker

WHAT WE MEAN BY STANDARDS

Combining data through standards and metrics 3

Page 4: Combining data through standards and metrics by Mike Thacker

Making local data useful

• Municipalities need to be compare with one another

• Innovators need to build apps cost-effectively

Hence we offerstandards for:

• what we call things

• format of open data

Page 5: Combining data through standards and metrics by Mike Thacker

Defining datasets and linking via URIs

Datasets

Schemas

Data

items

Def

ine

stru

ctu

re o

f

Co

nta

in

Local authorities

Official geographies

Neighbour-hoods

Services grouped by function

Other eg:

• Planning categories

• Entertainment types

Page 6: Combining data through standards and metrics by Mike Thacker

UNIFORM RESOURCE IDENTIFIERS (URIS)

Combining data through standards and metrics 6

Page 7: Combining data through standards and metrics by Mike Thacker

URIs - Uniform Resource Identifiers

Codes that give precise definitions of things, eg:

• http://id.esd.org.uk/service/860 – premises licence service

• http://opendatacommunities.org/id/unitary-authority/yorkYork City Council

• http://statistics.data.gov.uk/id/statistical-geography/E06000014 York area - from ONS

These normally resolve to descriptions with properties that are human and machine readable

Page 8: Combining data through standards and metrics by Mike Thacker

Finding a URI - uris.opendata.esd.org.uk

Page 9: Combining data through standards and metrics by Mike Thacker

What we know about each service

Service

Web page for each English council

Page 10: Combining data through standards and metrics by Mike Thacker

URIs resolved - service

standards.esd.org.uk

Page 11: Combining data through standards and metrics by Mike Thacker

STANDARDS FOR DATA FORMATS - SCHEMAS

Combining data through standards and metrics 11

Page 12: Combining data through standards and metrics by Mike Thacker

The inventory schema

• Indexes datasets & their schemas against functions & services

• Automatically harvested by data.gov.uk

• Automatically output by DataShare DKAN and CKAN following

• Can be uploaded to and validated by esd-toolkit

Inventory

Dataset Documents

ODF, PDF, HTML

Data

CSV, XML, ...

Dataset Documents

ODF, PDF , HTML

Data

CSV, XML, ...

inventory.esd.org.uk

Page 13: Combining data through standards and metrics by Mike Thacker

Dataset schemas

• Define the structure of data for a service or function (group of services)

• Shared to allow (not mandate) consistency

• Some validated schemas encouraged

• Formats:

– Tabular: DataShare definitions and CSV validation files as used by the ODI’s csvlint.io

– XML

– Linked data profiles

Page 14: Combining data through standards and metrics by Mike Thacker

CSV Checker - http://csvchecker.opendata.esd.org.uk/

presentatienaam 14

Page 15: Combining data through standards and metrics by Mike Thacker

Inventories of datasets

Page 16: Combining data through standards and metrics by Mike Thacker

Combined index of local datasets

Page 17: Combining data through standards and metrics by Mike Thacker

Datasets from many municipalities using the same schema

One feed of all aggregated CSV datasets

Page 18: Combining data through standards and metrics by Mike Thacker

METRICS – STANDARD MEASURES

Combining data through standards and metrics 18

Page 19: Combining data through standards and metrics by Mike Thacker

Metric types

See here

Page 20: Combining data through standards and metrics by Mike Thacker

Policy Policy Metrics Services

Increase healthiness / quality of life

ObesityPsychiatric illnessCardiac illness

Dietary advice, School mealsGreen spaces,Recreational facilities

Increase economic activity EmploymentStreet crimeEducational attainment

Careers advicePolicing, CCTVSchooling, Adult education

Safer roads Road accidents Traffic control, Signage

Metrics

Policies Servicesdetermine

Evidence-led policy

Page 23: Combining data through standards and metrics by Mike Thacker

Example data analysis – Comparing areas within a municipality

See here

Page 24: Combining data through standards and metrics by Mike Thacker

API with RESTful web methods

See here

Page 25: Combining data through standards and metrics by Mike Thacker

Further information

• UK local government open data: http://opendata.esd.org.uk/

• Standards: http://standards.esd.org.uk/

• Metric types http://id.esd.org.uk/list/metricTypes

• Dimensions (Circumstances) http://id.esd.org.uk/list/circumstances

• Municipalities http://opendatacommunities.org/data/local-authorities

• Administrative areas http://statistics.data.gov.uk/doc/statistical-geography/

• Natural neighbourhoods: http://neighbourhoods.esd.org.uk/

• Tools http://about.esd.org.uk/

• API: http://api.esd.org.uk/

[email protected]

@MikeThacker

Page 26: Combining data through standards and metrics by Mike Thacker