SlideShare a Scribd company logo
1 of 33
Download to read offline
Chi controlla l’integrità
dei dati?
Matteo Fortini
28 Marzo 2014
#SOD14 Barcamp
Bologna
La bontà di un lavoro di data
analysis non può superare la
bontà dei dati su cui si basa
La bontà di un lavoro di data
analysis non può superare la
bontà dei dati su cui si basa
oppure no?
Il percorso
Acquisizione
Organizzazione/
Pulizia
Analisi
Dataviz
Storia
Li raccolgo io
Me li ha forniti qualcuno
Conservare
Conservare
◮ Su un server: CKAN, ma anche Drive, Dropbox, . . .
Conservare
◮ Su un server: CKAN, ma anche Drive, Dropbox, . . .
◮ In un sistema di versioning: GIT, SVN, . . .
Conservare
◮ Su un server: CKAN, ma anche Drive, Dropbox, . . .
◮ In un sistema di versioning: GIT, SVN, . . .
◮ In un container con checksum: ZIP, RAR, 7Z, . . .
Conservare
◮ Su un server: CKAN, ma anche Drive, Dropbox, . . .
◮ In un sistema di versioning: GIT, SVN, . . .
◮ In un container con checksum: ZIP, RAR, 7Z, . . .
◮ In una cartella separata . . .
Conservare
Conservare
◮ Registrare la fonte: url, ufficio, persona, . . .
Conservare
◮ Registrare la fonte: url, ufficio, persona, . . .
◮ Registrare data e ora
Conservare
◮ Registrare la fonte: url, ufficio, persona, . . .
◮ Registrare data e ora
◮ Registrare un checksum: md5sum, SHA, . . .
Checksum
Checksum
Integrità
i dati sono rimasti uguali
Checksum
Integrità
i dati sono rimasti uguali
Ripudio
non sono i miei dati!
Checksum “analogici”
◮ Codice Fiscale
◮ Carte di credito
◮ Gli altri dati?
Coerenza
Coerenza
◮ Hanno delle proprietà note? (es. Bilanci, livelli,
temperature. . . )
Coerenza
◮ Hanno delle proprietà note? (es. Bilanci, livelli,
temperature. . . )
◮ Fanno parte di un insieme noto? (es. Persone, Serie
storiche. . . )
Outliers
Outliers
Il nostro
problema?
Outliers
Il nostro
problema?
La nostra
notizia?
Elaborazione
◮ Come verificare che non ci siano stati errori?
Elaborazione
◮ Come verificare che non ci siano stati errori?
◮ Cercare sempre di partire dai dati raw
Elaborazione
◮ Come verificare che non ci siano stati errori?
◮ Cercare sempre di partire dai dati raw
◮ Bloccare i dati (al limite i fogli. . . )
Elaborazione
◮ Come verificare che non ci siano stati errori?
◮ Cercare sempre di partire dai dati raw
◮ Bloccare i dati (al limite i fogli. . . )
◮ Separare Raw->Cooked->Elaborazione
Elaborazione
◮ Come verificare che non ci siano stati errori?
◮ Cercare sempre di partire dai dati raw
◮ Bloccare i dati (al limite i fogli. . . )
◮ Separare Raw->Cooked->Elaborazione
◮ Documentare le trasformazioni
Elaborazione
◮ Come verificare che non ci siano stati errori?
◮ Cercare sempre di partire dai dati raw
◮ Bloccare i dati (al limite i fogli. . . )
◮ Separare Raw->Cooked->Elaborazione
◮ Documentare le trasformazioni
◮ Trasformazioni ripetibili
Portali Opendata:
l’esempio di
http://dati.gov.it
◮ Non hanno un checksum dei dati
◮ Non dichiarano la versione
◮ Mostrano la storia, ma non permettono di accedere al
passato
◮ Il problema dei dati continuamente aggiornati
Riferimenti
◮ Broken egg photo by Stewart Butterfield http://www.flickr.com/photos/stewart/
◮ Rubbish emergency in Campania by Chiara Marra https://www.flickr.com/photos/chiaramarra/
◮ Winding road by Wayne Silver https://www.flickr.com/photos/psycho-pics/
◮ US Customs and Border Protection Agriculture Specialist inspects flower by US Customs and Border Protection
https://www.flickr.com/photos/cbpphotos/
◮ Decision by Cristi B https://www.flickr.com/photos/cristib/
◮ Thing in a jar by Windell Oskay https://www.flickr.com/photos/oskay/
◮ Darwin Center by Adam Foser https://www.flickr.com/photos/twosevenoneonenineeightthreesevenatenzerosix/
◮ Bubble by Ali T https://www.flickr.com/photos/77682540@N00/
◮ Fowl storm by JD Hancock https://www.flickr.com/photos/jdhancock/
◮ Codice Fiscale by krypt http://openclipart.org/detail/129043/codice-fiscale---tax-code-by-krypt
◮ Dress by Michael http://www.flickr.com/photos/helloturkeytoe/
◮ Outlier by Robert S. Donovan http://www.flickr.com/photos/booleansplit/8482641188/
◮ Bad Apples Fallen Apples Grass by Emilian Robert Vicol http://www.flickr.com/photos/free-stock/
◮ Pot of Gold by Jeremy Schultz http://www.flickr.com/photos/tao_zhyn/
◮ Meat grinder by Anfuehrer http://www.flickr.com/photos/planetbene/
◮ Logo http://dati.gov.it
◮ Chain by SFU Marcin https://www.flickr.com/photos/svoo/

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Chi controlla l'integrità dei dati?

  • 1. Chi controlla l’integrità dei dati? Matteo Fortini 28 Marzo 2014 #SOD14 Barcamp Bologna
  • 2. La bontà di un lavoro di data analysis non può superare la bontà dei dati su cui si basa
  • 3. La bontà di un lavoro di data analysis non può superare la bontà dei dati su cui si basa oppure no?
  • 6. Me li ha forniti qualcuno
  • 8. Conservare ◮ Su un server: CKAN, ma anche Drive, Dropbox, . . .
  • 9. Conservare ◮ Su un server: CKAN, ma anche Drive, Dropbox, . . . ◮ In un sistema di versioning: GIT, SVN, . . .
  • 10. Conservare ◮ Su un server: CKAN, ma anche Drive, Dropbox, . . . ◮ In un sistema di versioning: GIT, SVN, . . . ◮ In un container con checksum: ZIP, RAR, 7Z, . . .
  • 11. Conservare ◮ Su un server: CKAN, ma anche Drive, Dropbox, . . . ◮ In un sistema di versioning: GIT, SVN, . . . ◮ In un container con checksum: ZIP, RAR, 7Z, . . . ◮ In una cartella separata . . .
  • 13. Conservare ◮ Registrare la fonte: url, ufficio, persona, . . .
  • 14. Conservare ◮ Registrare la fonte: url, ufficio, persona, . . . ◮ Registrare data e ora
  • 15. Conservare ◮ Registrare la fonte: url, ufficio, persona, . . . ◮ Registrare data e ora ◮ Registrare un checksum: md5sum, SHA, . . .
  • 18. Checksum Integrità i dati sono rimasti uguali Ripudio non sono i miei dati!
  • 19. Checksum “analogici” ◮ Codice Fiscale ◮ Carte di credito ◮ Gli altri dati?
  • 21. Coerenza ◮ Hanno delle proprietà note? (es. Bilanci, livelli, temperature. . . )
  • 22. Coerenza ◮ Hanno delle proprietà note? (es. Bilanci, livelli, temperature. . . ) ◮ Fanno parte di un insieme noto? (es. Persone, Serie storiche. . . )
  • 26. Elaborazione ◮ Come verificare che non ci siano stati errori?
  • 27. Elaborazione ◮ Come verificare che non ci siano stati errori? ◮ Cercare sempre di partire dai dati raw
  • 28. Elaborazione ◮ Come verificare che non ci siano stati errori? ◮ Cercare sempre di partire dai dati raw ◮ Bloccare i dati (al limite i fogli. . . )
  • 29. Elaborazione ◮ Come verificare che non ci siano stati errori? ◮ Cercare sempre di partire dai dati raw ◮ Bloccare i dati (al limite i fogli. . . ) ◮ Separare Raw->Cooked->Elaborazione
  • 30. Elaborazione ◮ Come verificare che non ci siano stati errori? ◮ Cercare sempre di partire dai dati raw ◮ Bloccare i dati (al limite i fogli. . . ) ◮ Separare Raw->Cooked->Elaborazione ◮ Documentare le trasformazioni
  • 31. Elaborazione ◮ Come verificare che non ci siano stati errori? ◮ Cercare sempre di partire dai dati raw ◮ Bloccare i dati (al limite i fogli. . . ) ◮ Separare Raw->Cooked->Elaborazione ◮ Documentare le trasformazioni ◮ Trasformazioni ripetibili
  • 32. Portali Opendata: l’esempio di http://dati.gov.it ◮ Non hanno un checksum dei dati ◮ Non dichiarano la versione ◮ Mostrano la storia, ma non permettono di accedere al passato ◮ Il problema dei dati continuamente aggiornati
  • 33. Riferimenti ◮ Broken egg photo by Stewart Butterfield http://www.flickr.com/photos/stewart/ ◮ Rubbish emergency in Campania by Chiara Marra https://www.flickr.com/photos/chiaramarra/ ◮ Winding road by Wayne Silver https://www.flickr.com/photos/psycho-pics/ ◮ US Customs and Border Protection Agriculture Specialist inspects flower by US Customs and Border Protection https://www.flickr.com/photos/cbpphotos/ ◮ Decision by Cristi B https://www.flickr.com/photos/cristib/ ◮ Thing in a jar by Windell Oskay https://www.flickr.com/photos/oskay/ ◮ Darwin Center by Adam Foser https://www.flickr.com/photos/twosevenoneonenineeightthreesevenatenzerosix/ ◮ Bubble by Ali T https://www.flickr.com/photos/77682540@N00/ ◮ Fowl storm by JD Hancock https://www.flickr.com/photos/jdhancock/ ◮ Codice Fiscale by krypt http://openclipart.org/detail/129043/codice-fiscale---tax-code-by-krypt ◮ Dress by Michael http://www.flickr.com/photos/helloturkeytoe/ ◮ Outlier by Robert S. Donovan http://www.flickr.com/photos/booleansplit/8482641188/ ◮ Bad Apples Fallen Apples Grass by Emilian Robert Vicol http://www.flickr.com/photos/free-stock/ ◮ Pot of Gold by Jeremy Schultz http://www.flickr.com/photos/tao_zhyn/ ◮ Meat grinder by Anfuehrer http://www.flickr.com/photos/planetbene/ ◮ Logo http://dati.gov.it ◮ Chain by SFU Marcin https://www.flickr.com/photos/svoo/