You are on page 1of 27

Workshop

Open data
Hyper Island
2019-10-04
Agenda

The world, society, programming and
data.

Data (technical)

Open data

Risks/problems

Lunch

Workshop

14.30 pitch
Me

Magnus Göransson.

IT-consultant since 1994.

CoderDojo, Raspberry Pi, esports, voluntary work.
AI
https://inmoov.fr/
Break
Data

Information.

Saved as files on a computer.
Database

Database – a collection of information.
– DBMS (Oracle, MySQL, MariaDB, Microsoft SQL-server).
– Excel, Text file.

Types
– Hierarchy (LDAP)
– Relational database ([PL][T]-SQL)
– Objekt orientated (Hibernate)
– Fact based (NoSQL – MongoDB - Redis)
Example

SQLite

DB Browser
– Create database HI
– Create table Students
– Create columns (StudentName … , Address, Postcode, Post address )
with sufficient data types
– Create table Clients
– Create columns (ClientName … , ClientAddress ...)
with sufficient data types
– Add data

Python
– Fetch data
XML

Extensible Markup Language
<?xml version="1.0" encoding="utf-8"?>
<food>
<item>
<name>French Toast</name>
<price>$4.50</price>
<description>Thick slices made from our homemade sourdough bread</description>
<calories>600</calories>
</item>
<item>
<name>Kanelbulle</name>
<price>$2.50</price>
<description>Nice Swedish cinamon bun</description>
<calories>1600</calories>
</item>
</food>
JSON

JavaScript Object Notation
{
"firstName": "Magnus",
"lastName": "Göransson",
"age": 47,
"address": {
"streetAddress": "21 2nd Street",
"city": "New York",
"state": "NY",
"postalCode": "10021"
},
"phoneNumber": [
{ "type": "home", "number": "212 555-1234" },
{ "type": "fax", "number": "646 555-4567" }
],
"newSubscription": false,
"companyName": null
}
Break - assignment
How can we let people with disabilities, such as
blindness, explore technologies such as
programming?

Discuss in 5 minutes and write at least one


suggestion on the post-it.
RESTful-services

Representational state transfer

http://api.kolada.se/v2/data/municipality/1082/k
pi/N00401

http://opendata-download-metobs.smhi.se/api/v
ersion/latest/parameter/20.xml
Open data

”Open data is data that can be freely used, re-used
and redistributed by anyone - subject only, at most,
to the requirement to attribute and share alike.”

http://www.gapminder.org/

https://data.europa.eu/euodp/en/data/

https://www.europeandataportal.eu/data/

https://oppnadata.se/

http://apikatalogen.se/
Who owns data?

Creative Commons
Risks

Validity

Format

Usability

“There are three kinds of lies: lies, damned lies,
and statistics.” - Benjamin Disraeli

What will happen in the future?
Integrity

How much is our data worth?

Who uses our data?

Who sees our data?

What do they do with our data?

What will happen in the future?
Magnus Göransson
magnus.goransson@okatima.se
Twitter: @okmago

Sources and inspiration



Karin Nygårds ●
Amelia Andersdotter

Darja Isaksson

Edward Jensinger

Carl Heath

Wikipedia

Youtube

Peter Parnes

DuckDuckGo – Google

Linda Manilla

SCB

Anders Berggren ●
Chris Anderson

You might also like