SlideShare a Scribd company logo
OPEN REFINE TO PROFILE
AND CLEAN UP YOUR
MESSY DATA
THE WOES OF DATA
NOTE ALL DATA ARE MADE EQUAL!
DATA ARE CREATED FROM A VARIETY OF SOURCES:
• AUTOMATICALLY GENERATED
• MANUALLY CREATED AND MANAGED
• SCRAPPED FROM THE WEB
• TAKEN FROM ANOTHER SOURCE
• ETC.
EACH SOURCE TYPICALLY HAS ITS OWN METHOD OF HANDLING DATA.
THEREFORE DATA SOURCES ARE OFTEN HETEROGENEOUS, WHICH CREATES
INCONSISTENT AND INACCURATE DATA. FURTHER, THERE IS NO INFORMATION
PROVIDED ABOUT THE DATA TO HELP BETTER UNDERSTAND WHAT THE DATA ARE
ABOUT.
WHAT TO DO?
ESSENTIALLY, YOU ARE LOOKING FOR CONSISTENT AND ACCURATE
DATA. TO DO THIS, THERE ARE OPTIONS:
• CREATE A SCRIPT TO CLEAN DATA
• HAVE SOMEONE CLEAN YOUR DATA
• USE AN APPLICATION TO HELP YOU CLEAN YOUR DATA
TODAY, WE’RE GOING TO LOOK AT OPEN REFINE, AN APPLICATION
THAT CAN HELP YOU CLEAN YOUR DATA.
WHAT IS OPEN REFINE?
OPEN REFINE ORIGINATED WITH METAWEB TECHNOLOGIES AND THEN
GOOGLE. FORMERLY KNOWN AS FREEBASE GRIDWORKS, IT BECAME
KNOWN AS GOOGLE REFINE AND THEN OPEN REFINE.
IT IS A FULLY OPEN SOURCE APPLICATION.
YOU CAN DOWNLOAD IT AT: HTTP://OPEN
REFINE.ORG/DOWNLOAD.HTML
OPEN REFINE AND THE WOES OF DATA
WHETHER YOU HAVE HETEROGENEOUS DATA OR DATA YOU’RE
UNFAMILIAR WITH, OPEN REFINE CAN HELP WITH:
• DATA CLEANUP
• CORRECT INCONSISTENCIES AND INACCURACIES
• DATA PROFILING
• CREATE AN ANALYSIS OF UNFAMILIAR DATA BY LEARNING WHAT THE
DATA ARE
2 BASIC OPERATIONS OF OPEN REFINE
BOTH DATA CLEANUP AND DATA PROFILING RELY ON A DATABASE,
CALLED FREEBASE, TO VISUALIZE AND MANIPULATE YOUR DATA.
VISUALIZING YOUR DATA INCLUDES BEING ABLE TO SEE THE “TYPE”
OF DATA. IS IT A DATE, NUMBER, TEXT? ARE ALL THE ENTRIES THE
SAME? VISUALIZING ALSO INCLUDES BEING ABLE TO SEE TIMELINES
FOR ENTRIES THAT ARE DATES.
MANIPULATING DATA INCLUDES GLOBAL SEARCHING AND
REPLACING, UPDATING ENTRIES SINGLY OR BY BATCH, ADDING NEW
DATA, REMOVING DATA, CHANGING THE DATA TYPES, AND MORE!
LET’S DO THE TOUR
• CREATE A PROJECT
• DIFFERENT VIEWS
• SEEING YOUR DATA
• MANIPULATING ROWS/COLUMNS
• CORRECTING ERRORS
HOW TO MAKE CHANGES TO DATA
• CHANGES TO COLUMNS
• SPLIT
• ADD
• REMOVE
• RENAME
• MOVE
• CHANGES CELLS (TO DATA ANYWHERE)
• EDIT CELLS USING CUSTOM OR DEFAULT TRANSFORMS, FILL
DOWN/BLANK, SPLIT/JOIN CELLS, CLUSTER/EDIT
AVAILABLE TRANSFORMATIONS
TRIM OR COLLAPSE WHITESPACES
UNESCAPE HTML ENTITIES
CHANGE THE CASE (TITLE, LOWER OR UPPER CASE)
CHANGE THE DATA TO NUMERIC, DATE OR TEXT
CUSTOM TRANSFORMATIONS
• JYTHON
• HTTP://WWW.JYTHON.ORG/
• HTTPS://GITHUB.COM/OPENREFINE/OPENREFINE/WIKI/JYTHON
• GREL (OPEN REFINE EXPRESSION LANGUAGE)
• HTTPS://GITHUB.COM/OPENREFINE/OPENREFINE/WIKI/GREL-FUNCTIONS
• REGULAR EXPRESSIONS
• HTTP://EN.WIKIPEDIA.ORG/WIKI/REGULAR_EXPRESSION
• HTTP://WWW.REGULAR-EXPRESSIONS.INFO/QUICKSTART.HTML
GREL
• SLICE
• EXAMPLE CHANGE “2010-05-31T01:10:0Z” TO “05/31/2010”
• VALUE.SLICE(5,7) + ‘/’ + VALUE.SLICE(8,10) + ‘/’ + VALUE.SLICE(0,4)
• YOU CAN ALSO USE:
• ADD A PREFIX
• “PREFIX” + VALUE
• SPLIT AND JOIN
• A:B:C:D:E -> B:C:D
REGULAR EXPRESSIONS
• TEXT PATTERN THAT ONE CAN USE WITH MANY MODERN
APPLICATIONS AND PROGRAMMING LANGUAGES
• REGULAR EXPRESSIONS COME IN FLAVORS
• .NET, JAVA, JAVASCRIPT, PERL, PYTHON, RUBY, …
• METACHARACTERS: 12 PUNCTUATION CHARACTERS THAT MAKE
REGULAR EXPRESSIONS WORK
REGULAR EXPRESSIONS
• CHARACTER CLASS ABBREVIATIONS
REGULAR EXPRESSIONS
• REMOVE THE “.” AT THE END OF A PHRASE
• VALUE.REPLACE(/[.]$/, “”)
• WHAT HAPPENS IF YOU JUST PUT /.$/ WITHOUT THE BRACKETS?
• REMOVE A STRING AT THE BEGINNING OF THE PHRASE WHERE THE
FIRST LETTER OF THE STRING IS UPPER OR LOWER CASE
• VALUE.REPLACE(/^W+S/, “”)
• TEST IT OUT
• HTTP://REGEXPAL.COM/
QUESTIONS?
RESOURCES
• USING OPEN REFINE … THE BOOK, QA76.9.D343 V47 2013
• OPEN REFINE DOCUMENTATION: HTTP://OPEN
REFINE.ORG/DOCUMENTATION.HTML
• OPEN REFINE COMMUNITY: HTTP://OPEN
REFINE.ORG/COMMUNITY.HTML
• CODE PROJECT ON REGULAR EXPRESSIONS:
HTTP://WWW.CODEPROJECT.COM/ARTICLES/9099/THE-MINUTE-
REGEX-TUTORIAL
• REGULAR EXPRESSIONS CHEAT SHEET:
HTTP://WWW.CHEATOGRAPHY.COM/DAVECHILD/CHEAT-
SHEETS/REGULAR-EXPRESSIONS/
• REGULAR EXPRESSIONS TESTER: HTTP://REGEXPAL.COM/ ,
HTTP://REGEX101.COM/

More Related Content

Viewers also liked

Collaborative Data Archiving and Access: Developing a Shared Repository Infra...
Collaborative Data Archiving and Access: Developing a Shared Repository Infra...Collaborative Data Archiving and Access: Developing a Shared Repository Infra...
Collaborative Data Archiving and Access: Developing a Shared Repository Infra...University of Connecticut Libraries
 
Seeing Connecticut Now and Then: Repository Services that Support Your Best M...
Seeing Connecticut Now and Then: Repository Services that Support Your Best M...Seeing Connecticut Now and Then: Repository Services that Support Your Best M...
Seeing Connecticut Now and Then: Repository Services that Support Your Best M...University of Connecticut Libraries
 
We Don't Make Your Preservation Program, We Make Your Preservation Program Be...
We Don't Make Your Preservation Program, We Make Your Preservation Program Be...We Don't Make Your Preservation Program, We Make Your Preservation Program Be...
We Don't Make Your Preservation Program, We Make Your Preservation Program Be...University of Connecticut Libraries
 
A Cloud of Your Own: Preservation & Access Services from the Connecticut Digi...
A Cloud of Your Own: Preservation & Access Services from the Connecticut Digi...A Cloud of Your Own: Preservation & Access Services from the Connecticut Digi...
A Cloud of Your Own: Preservation & Access Services from the Connecticut Digi...University of Connecticut Libraries
 

Viewers also liked (19)

How to Add A Compound Object
How to Add A Compound ObjectHow to Add A Compound Object
How to Add A Compound Object
 
CTDA Brown Bag, Dec. 2016
CTDA Brown Bag, Dec. 2016CTDA Brown Bag, Dec. 2016
CTDA Brown Bag, Dec. 2016
 
CTDA Brown Bag, Oct. 2016
CTDA Brown Bag, Oct. 2016CTDA Brown Bag, Oct. 2016
CTDA Brown Bag, Oct. 2016
 
CTDA Flyer 2016
CTDA Flyer 2016CTDA Flyer 2016
CTDA Flyer 2016
 
Collaborative Data Archiving and Access: Developing a Shared Repository Infra...
Collaborative Data Archiving and Access: Developing a Shared Repository Infra...Collaborative Data Archiving and Access: Developing a Shared Repository Infra...
Collaborative Data Archiving and Access: Developing a Shared Repository Infra...
 
Seeing Connecticut Now and Then: Repository Services that Support Your Best M...
Seeing Connecticut Now and Then: Repository Services that Support Your Best M...Seeing Connecticut Now and Then: Repository Services that Support Your Best M...
Seeing Connecticut Now and Then: Repository Services that Support Your Best M...
 
How to Add Or Replace a Datastream
How to Add Or Replace  a DatastreamHow to Add Or Replace  a Datastream
How to Add Or Replace a Datastream
 
CTDA Annual Meeting 2016
CTDA Annual Meeting 2016CTDA Annual Meeting 2016
CTDA Annual Meeting 2016
 
CTDA Overview September 2016
CTDA Overview September 2016CTDA Overview September 2016
CTDA Overview September 2016
 
We Don't Make Your Preservation Program, We Make Your Preservation Program Be...
We Don't Make Your Preservation Program, We Make Your Preservation Program Be...We Don't Make Your Preservation Program, We Make Your Preservation Program Be...
We Don't Make Your Preservation Program, We Make Your Preservation Program Be...
 
CTDA Workshop on XML and MODS
CTDA Workshop on XML and MODSCTDA Workshop on XML and MODS
CTDA Workshop on XML and MODS
 
CTDA Metadata Application Profile
CTDA Metadata Application ProfileCTDA Metadata Application Profile
CTDA Metadata Application Profile
 
A Cloud of Your Own: Preservation & Access Services from the Connecticut Digi...
A Cloud of Your Own: Preservation & Access Services from the Connecticut Digi...A Cloud of Your Own: Preservation & Access Services from the Connecticut Digi...
A Cloud of Your Own: Preservation & Access Services from the Connecticut Digi...
 
CTDA MODS Implementation Guidelines
CTDA MODS Implementation GuidelinesCTDA MODS Implementation Guidelines
CTDA MODS Implementation Guidelines
 
How to Use the Manuscript Content Model
How to Use the Manuscript Content ModelHow to Use the Manuscript Content Model
How to Use the Manuscript Content Model
 
CTDA End of Year Reports
CTDA End of Year ReportsCTDA End of Year Reports
CTDA End of Year Reports
 
CTDA Brown Bag, Feb. 2017
CTDA Brown Bag, Feb. 2017CTDA Brown Bag, Feb. 2017
CTDA Brown Bag, Feb. 2017
 
CTDA: Brief Introduction
CTDA: Brief IntroductionCTDA: Brief Introduction
CTDA: Brief Introduction
 
CTDA Workshop on XSL
CTDA Workshop on XSLCTDA Workshop on XSL
CTDA Workshop on XSL
 

Similar to Open refine to update and clean up your messy data

Comparative Analysis of Database Systems
Comparative Analysis of Database SystemsComparative Analysis of Database Systems
Comparative Analysis of Database SystemsHaris Jamil
 
Comparativeanalysisofdatabasesystems 160317091155
Comparativeanalysisofdatabasesystems 160317091155Comparativeanalysisofdatabasesystems 160317091155
Comparativeanalysisofdatabasesystems 160317091155Aravindharamanan S
 
Creating an Open Source Genealogical Search Engine with Apache Solr
Creating an Open Source Genealogical Search Engine with Apache SolrCreating an Open Source Genealogical Search Engine with Apache Solr
Creating an Open Source Genealogical Search Engine with Apache SolrBrooke Ganz
 
Nonprofits & Data: When Data is Everywhere, Where Do You Start?
Nonprofits & Data: When Data is Everywhere, Where Do You Start?Nonprofits & Data: When Data is Everywhere, Where Do You Start?
Nonprofits & Data: When Data is Everywhere, Where Do You Start?Forum One
 
Building better SQL Server Databases
Building better SQL Server DatabasesBuilding better SQL Server Databases
Building better SQL Server DatabasesColdFusionConference
 
Movin on Up - SPEngage Phoenix 2017
Movin on Up - SPEngage Phoenix 2017Movin on Up - SPEngage Phoenix 2017
Movin on Up - SPEngage Phoenix 2017Jim Adcock
 
Agile bringing Big Data & Analytics closer
Agile bringing Big Data & Analytics closerAgile bringing Big Data & Analytics closer
Agile bringing Big Data & Analytics closerNitin Khattar
 
Nonprofit Data: What to Visualize
Nonprofit Data: What to VisualizeNonprofit Data: What to Visualize
Nonprofit Data: What to VisualizeForum One
 
Computer-assisted reporting seminar
Computer-assisted reporting seminarComputer-assisted reporting seminar
Computer-assisted reporting seminarGlen McGregor
 
Dataware house introduction by InformaticaTrainingClasses
Dataware house introduction by InformaticaTrainingClassesDataware house introduction by InformaticaTrainingClasses
Dataware house introduction by InformaticaTrainingClassesInformaticaTrainingClasses
 
Webinar - Harness the Power of Data with Tableau - 2016-02-18
Webinar - Harness the Power of Data with Tableau - 2016-02-18Webinar - Harness the Power of Data with Tableau - 2016-02-18
Webinar - Harness the Power of Data with Tableau - 2016-02-18TechSoup
 
Webcast slides for "Low Risk and High Reward in App Decomm with InfoArchive a...
Webcast slides for "Low Risk and High Reward in App Decomm with InfoArchive a...Webcast slides for "Low Risk and High Reward in App Decomm with InfoArchive a...
Webcast slides for "Low Risk and High Reward in App Decomm with InfoArchive a...Tom Rieger
 
Webcast slides for "Low Risk and High Reward in App Decomm with InfoArchive a...
Webcast slides for "Low Risk and High Reward in App Decomm with InfoArchive a...Webcast slides for "Low Risk and High Reward in App Decomm with InfoArchive a...
Webcast slides for "Low Risk and High Reward in App Decomm with InfoArchive a...Tracy Blackburn
 
Final presentation updated
Final presentation updatedFinal presentation updated
Final presentation updatedJosephMoreira2
 
SQL for Data Science Tutorial | Data Science Tutorial | Edureka
SQL for Data Science Tutorial | Data Science Tutorial | EdurekaSQL for Data Science Tutorial | Data Science Tutorial | Edureka
SQL for Data Science Tutorial | Data Science Tutorial | EdurekaEdureka!
 
Word press theme and plugins WordCamp Presentation
Word press theme and plugins WordCamp PresentationWord press theme and plugins WordCamp Presentation
Word press theme and plugins WordCamp PresentationAngela Samuels
 

Similar to Open refine to update and clean up your messy data (20)

Comparative Analysis of Database Systems
Comparative Analysis of Database SystemsComparative Analysis of Database Systems
Comparative Analysis of Database Systems
 
Comparativeanalysisofdatabasesystems 160317091155
Comparativeanalysisofdatabasesystems 160317091155Comparativeanalysisofdatabasesystems 160317091155
Comparativeanalysisofdatabasesystems 160317091155
 
Online research
Online researchOnline research
Online research
 
Creating an Open Source Genealogical Search Engine with Apache Solr
Creating an Open Source Genealogical Search Engine with Apache SolrCreating an Open Source Genealogical Search Engine with Apache Solr
Creating an Open Source Genealogical Search Engine with Apache Solr
 
SEO and SEM
SEO and SEMSEO and SEM
SEO and SEM
 
Nonprofits & Data: When Data is Everywhere, Where Do You Start?
Nonprofits & Data: When Data is Everywhere, Where Do You Start?Nonprofits & Data: When Data is Everywhere, Where Do You Start?
Nonprofits & Data: When Data is Everywhere, Where Do You Start?
 
Building better SQL Server Databases
Building better SQL Server DatabasesBuilding better SQL Server Databases
Building better SQL Server Databases
 
Movin on Up - SPEngage Phoenix 2017
Movin on Up - SPEngage Phoenix 2017Movin on Up - SPEngage Phoenix 2017
Movin on Up - SPEngage Phoenix 2017
 
Agile bringing Big Data & Analytics closer
Agile bringing Big Data & Analytics closerAgile bringing Big Data & Analytics closer
Agile bringing Big Data & Analytics closer
 
Nonprofit Data: What to Visualize
Nonprofit Data: What to VisualizeNonprofit Data: What to Visualize
Nonprofit Data: What to Visualize
 
Computer-assisted reporting seminar
Computer-assisted reporting seminarComputer-assisted reporting seminar
Computer-assisted reporting seminar
 
Dataware house introduction by InformaticaTrainingClasses
Dataware house introduction by InformaticaTrainingClassesDataware house introduction by InformaticaTrainingClasses
Dataware house introduction by InformaticaTrainingClasses
 
Webinar - Harness the Power of Data with Tableau - 2016-02-18
Webinar - Harness the Power of Data with Tableau - 2016-02-18Webinar - Harness the Power of Data with Tableau - 2016-02-18
Webinar - Harness the Power of Data with Tableau - 2016-02-18
 
Webcast slides for "Low Risk and High Reward in App Decomm with InfoArchive a...
Webcast slides for "Low Risk and High Reward in App Decomm with InfoArchive a...Webcast slides for "Low Risk and High Reward in App Decomm with InfoArchive a...
Webcast slides for "Low Risk and High Reward in App Decomm with InfoArchive a...
 
Webcast slides for "Low Risk and High Reward in App Decomm with InfoArchive a...
Webcast slides for "Low Risk and High Reward in App Decomm with InfoArchive a...Webcast slides for "Low Risk and High Reward in App Decomm with InfoArchive a...
Webcast slides for "Low Risk and High Reward in App Decomm with InfoArchive a...
 
Database
DatabaseDatabase
Database
 
Final presentation updated
Final presentation updatedFinal presentation updated
Final presentation updated
 
SQL for Data Science Tutorial | Data Science Tutorial | Edureka
SQL for Data Science Tutorial | Data Science Tutorial | EdurekaSQL for Data Science Tutorial | Data Science Tutorial | Edureka
SQL for Data Science Tutorial | Data Science Tutorial | Edureka
 
Word press theme and plugins WordCamp Presentation
Word press theme and plugins WordCamp PresentationWord press theme and plugins WordCamp Presentation
Word press theme and plugins WordCamp Presentation
 
Databases
DatabasesDatabases
Databases
 

Recently uploaded

Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersPedroFerreira53928
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxssuserbdd3e8
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxCapitolTechU
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxJenilouCasareno
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfbu07226
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfjoachimlavalley1
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...Nguyen Thanh Tu Collection
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsCol Mukteshwar Prasad
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
 
Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesRased Khan
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxakshayaramakrishnan21
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfTamralipta Mahavidyalaya
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringDenish Jangid
 
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...Denish Jangid
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPCeline George
 
Forest and Wildlife Resources Class 10 Free Study Material PDF
Forest and Wildlife Resources Class 10 Free Study Material PDFForest and Wildlife Resources Class 10 Free Study Material PDF
Forest and Wildlife Resources Class 10 Free Study Material PDFVivekanand Anglo Vedic Academy
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chipsGeoBlogs
 

Recently uploaded (20)

Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptx
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matrices
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
 
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Forest and Wildlife Resources Class 10 Free Study Material PDF
Forest and Wildlife Resources Class 10 Free Study Material PDFForest and Wildlife Resources Class 10 Free Study Material PDF
Forest and Wildlife Resources Class 10 Free Study Material PDF
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 

Open refine to update and clean up your messy data

  • 1. OPEN REFINE TO PROFILE AND CLEAN UP YOUR MESSY DATA
  • 2. THE WOES OF DATA NOTE ALL DATA ARE MADE EQUAL! DATA ARE CREATED FROM A VARIETY OF SOURCES: • AUTOMATICALLY GENERATED • MANUALLY CREATED AND MANAGED • SCRAPPED FROM THE WEB • TAKEN FROM ANOTHER SOURCE • ETC. EACH SOURCE TYPICALLY HAS ITS OWN METHOD OF HANDLING DATA. THEREFORE DATA SOURCES ARE OFTEN HETEROGENEOUS, WHICH CREATES INCONSISTENT AND INACCURATE DATA. FURTHER, THERE IS NO INFORMATION PROVIDED ABOUT THE DATA TO HELP BETTER UNDERSTAND WHAT THE DATA ARE ABOUT.
  • 3. WHAT TO DO? ESSENTIALLY, YOU ARE LOOKING FOR CONSISTENT AND ACCURATE DATA. TO DO THIS, THERE ARE OPTIONS: • CREATE A SCRIPT TO CLEAN DATA • HAVE SOMEONE CLEAN YOUR DATA • USE AN APPLICATION TO HELP YOU CLEAN YOUR DATA TODAY, WE’RE GOING TO LOOK AT OPEN REFINE, AN APPLICATION THAT CAN HELP YOU CLEAN YOUR DATA.
  • 4. WHAT IS OPEN REFINE? OPEN REFINE ORIGINATED WITH METAWEB TECHNOLOGIES AND THEN GOOGLE. FORMERLY KNOWN AS FREEBASE GRIDWORKS, IT BECAME KNOWN AS GOOGLE REFINE AND THEN OPEN REFINE. IT IS A FULLY OPEN SOURCE APPLICATION. YOU CAN DOWNLOAD IT AT: HTTP://OPEN REFINE.ORG/DOWNLOAD.HTML
  • 5. OPEN REFINE AND THE WOES OF DATA WHETHER YOU HAVE HETEROGENEOUS DATA OR DATA YOU’RE UNFAMILIAR WITH, OPEN REFINE CAN HELP WITH: • DATA CLEANUP • CORRECT INCONSISTENCIES AND INACCURACIES • DATA PROFILING • CREATE AN ANALYSIS OF UNFAMILIAR DATA BY LEARNING WHAT THE DATA ARE
  • 6. 2 BASIC OPERATIONS OF OPEN REFINE BOTH DATA CLEANUP AND DATA PROFILING RELY ON A DATABASE, CALLED FREEBASE, TO VISUALIZE AND MANIPULATE YOUR DATA. VISUALIZING YOUR DATA INCLUDES BEING ABLE TO SEE THE “TYPE” OF DATA. IS IT A DATE, NUMBER, TEXT? ARE ALL THE ENTRIES THE SAME? VISUALIZING ALSO INCLUDES BEING ABLE TO SEE TIMELINES FOR ENTRIES THAT ARE DATES. MANIPULATING DATA INCLUDES GLOBAL SEARCHING AND REPLACING, UPDATING ENTRIES SINGLY OR BY BATCH, ADDING NEW DATA, REMOVING DATA, CHANGING THE DATA TYPES, AND MORE!
  • 7. LET’S DO THE TOUR • CREATE A PROJECT • DIFFERENT VIEWS • SEEING YOUR DATA • MANIPULATING ROWS/COLUMNS • CORRECTING ERRORS
  • 8. HOW TO MAKE CHANGES TO DATA • CHANGES TO COLUMNS • SPLIT • ADD • REMOVE • RENAME • MOVE • CHANGES CELLS (TO DATA ANYWHERE) • EDIT CELLS USING CUSTOM OR DEFAULT TRANSFORMS, FILL DOWN/BLANK, SPLIT/JOIN CELLS, CLUSTER/EDIT
  • 9. AVAILABLE TRANSFORMATIONS TRIM OR COLLAPSE WHITESPACES UNESCAPE HTML ENTITIES CHANGE THE CASE (TITLE, LOWER OR UPPER CASE) CHANGE THE DATA TO NUMERIC, DATE OR TEXT
  • 10. CUSTOM TRANSFORMATIONS • JYTHON • HTTP://WWW.JYTHON.ORG/ • HTTPS://GITHUB.COM/OPENREFINE/OPENREFINE/WIKI/JYTHON • GREL (OPEN REFINE EXPRESSION LANGUAGE) • HTTPS://GITHUB.COM/OPENREFINE/OPENREFINE/WIKI/GREL-FUNCTIONS • REGULAR EXPRESSIONS • HTTP://EN.WIKIPEDIA.ORG/WIKI/REGULAR_EXPRESSION • HTTP://WWW.REGULAR-EXPRESSIONS.INFO/QUICKSTART.HTML
  • 11. GREL • SLICE • EXAMPLE CHANGE “2010-05-31T01:10:0Z” TO “05/31/2010” • VALUE.SLICE(5,7) + ‘/’ + VALUE.SLICE(8,10) + ‘/’ + VALUE.SLICE(0,4) • YOU CAN ALSO USE: • ADD A PREFIX • “PREFIX” + VALUE • SPLIT AND JOIN • A:B:C:D:E -> B:C:D
  • 12. REGULAR EXPRESSIONS • TEXT PATTERN THAT ONE CAN USE WITH MANY MODERN APPLICATIONS AND PROGRAMMING LANGUAGES • REGULAR EXPRESSIONS COME IN FLAVORS • .NET, JAVA, JAVASCRIPT, PERL, PYTHON, RUBY, … • METACHARACTERS: 12 PUNCTUATION CHARACTERS THAT MAKE REGULAR EXPRESSIONS WORK
  • 13. REGULAR EXPRESSIONS • CHARACTER CLASS ABBREVIATIONS
  • 14. REGULAR EXPRESSIONS • REMOVE THE “.” AT THE END OF A PHRASE • VALUE.REPLACE(/[.]$/, “”) • WHAT HAPPENS IF YOU JUST PUT /.$/ WITHOUT THE BRACKETS? • REMOVE A STRING AT THE BEGINNING OF THE PHRASE WHERE THE FIRST LETTER OF THE STRING IS UPPER OR LOWER CASE • VALUE.REPLACE(/^W+S/, “”) • TEST IT OUT • HTTP://REGEXPAL.COM/
  • 16. RESOURCES • USING OPEN REFINE … THE BOOK, QA76.9.D343 V47 2013 • OPEN REFINE DOCUMENTATION: HTTP://OPEN REFINE.ORG/DOCUMENTATION.HTML • OPEN REFINE COMMUNITY: HTTP://OPEN REFINE.ORG/COMMUNITY.HTML • CODE PROJECT ON REGULAR EXPRESSIONS: HTTP://WWW.CODEPROJECT.COM/ARTICLES/9099/THE-MINUTE- REGEX-TUTORIAL • REGULAR EXPRESSIONS CHEAT SHEET: HTTP://WWW.CHEATOGRAPHY.COM/DAVECHILD/CHEAT- SHEETS/REGULAR-EXPRESSIONS/ • REGULAR EXPRESSIONS TESTER: HTTP://REGEXPAL.COM/ , HTTP://REGEX101.COM/