How to separate semicolon delimited values to separate columns

Slides:



Advertisements
Similar presentations
1 How to use the CASE condition to change text in an Alma Analytics report Yoel Kortick Senior Librarian, Ex Libris.
Advertisements

How to create a prompt in an Alma Analytics report Yoel Kortick | Senior Librarian.
Alma Analytics Usage Yoel Kortick | Senior Librarian.
1 Yoel Kortick Senior Librarian Alma Product Management How to create a scheduled report from an Alma Analytics report to be sent to Alma and non- Alma.
© 2015 Ex Libris | Confidential & Proprietary Bound together titles Harvard University April Yoel Kortick Senior Librarian
© 2015 Ex Libris | Confidential & Proprietary Yoel Kortick | Senior Librarian Primo Analytics.
© 2015 Ex Libris | Confidential & Proprietary Yoel Kortick| Senior Librarian How to use the output of one Alma Analytics report as the input for a subsequent.
1 Yoel Kortick | Senior Librarian Serials automation tasks for summary holdings.
1 Yoel Kortick Senior Librarian Alma Product Management Mapping the bibliographic call number to the holding record call number.
Yoel Kortick Senior Librarian
Yoel Kortick Senior Librarian
Conservation Laboratory Work Orders Harvard University April 18-19
Using the “Available For” Group Settings
Synchronizing data from Alma to remote digital repository
Phonetic Modifiers in Alma and Primo
Indication rules and set filtering Harvard University April 18-19
Defining and using an external search profile with multiple targets for copy cataloging Yoel Kortick Senior Librarian Alma Product Management.
How to create links from an Alma Analytics report to Primo
Linked Data in Alma and Publishing the Linked Data to Primo
Synchronizing data from remote digital repository to Alma
Yoel Kortick Senior Librarian
Using Alma Analytics with the Tableau Web Data Connector
How to add a non-Analytics widget to the Alma Dashboard
New and emerging acquisitions workflows Purchase requests
An article in an anthology and derive new record
The acquisitions shared services unit High level diagrams and survey
Editing the title level overlap analysis to include additional fields on the overlap Yoel Kortick | Senior Librarian.
Match and Merge Routine in the import profile
How to create an analytics widget and add it to the Alma dashboard
MARC extensions Yoel Kortick | Senior Librarian
Yoel Kortick Senior Librarian Alma Product Management
Yoel Kortick Senior Librarian
Creating links from an Alma Analytics report to an external web page
Working with Multilingual Authority Records
Digitization Requests Flow
Authorities in Alma and F3
Integration of Analytics in Alma Viewing usage data in Alma
New and emerging acquisitions workflows Item search in Amazon
Yoel Kortick Senior Librarian
Prediction Patterns and Serial Check-in
Yoel Kortick Senior Librarian
Relative Date Filters in Alma Analytics
Alma Analytics Usage Yoel Kortick | Senior Librarian.
Real-Time Acquisition (RTA) integration with OASIS platform
Publishing to OCLC Yoel Kortick Senior Librarian.
Alma Consortial Analytics
How to duplicate (merge) cells per column in an Alma Analytics report
Yoel Kortick Senior Librarian
Metadata Editor Introduction
Using Alma Analytics with the Tableau Web Data Connector
Cataloging introductory flow
How to create links from an Alma Analytics report to Primo
Benchmark Analytics Yoel Kortick Senior Librarian
Yoel Kortick Senior Librarian Alma Product Management
Titles subject area and Physical-Electronic overlap analysis
ADVANCED ANALYTICS Technical Seminar 2018 – Spokane, WA
Yoel Kortick Senior Librarian
An article in an anthology and derive new record
Yoel Kortick Senior Librarian
Yoel Kortick Senior Librarian
Yoel Kortick Senior Librarian
Designing and Using Normalization Rules
Indication rules and set filtering
Contributing to and Contributed By in the Alma Community Zone.pptx
Yoel Kortick. Senior Librarian
Configuring and using the Accession Number and Inventory Number
Alternate graphic representation 880 field
Creating sets in Alma from Alma Analytics Reports
Yoel Kortick Senior Librarian
Presentation transcript:

How to separate semicolon delimited values to separate columns Yoel Kortick Senior Librarian http://continuumgrc.com/infinite-library/

Introduction The regular expression Example with course instructor Example with ISBN http://image.shutterstock.com/z/stock-photo-business-hand-writing-blank-agenda-list-130255148.jpg http://s3.thingpic.com/images/zp/timHgbybX5e9UqMUf6oYyVQM.jpeg

Introduction In Alma Analytics when there is a “one to many” relationship in one entity then the “many” values will often appear all together in one field delimited with a semicolon. For example: One “course name” may have multiple “course instructor” values One “bibliographic title” may have multiple “ISBNs”

One “course name” may have multiple “course instructor” values Introduction One “course name” may have multiple “course instructor” values Two instructors separated by a semicolon Four instructors separated by a semicolon

One “bibliographic title” may have multiple “ISBNs” Introduction One “bibliographic title” may have multiple “ISBNs” Two ISBNs separated by a semicolon Four ISBNs separated by a semicolon

Introduction It is possible, if desired, to have these “semicolon separated” values appear as separate columns. This can be useful for display and filtering purposes. While there are multiple ways in which this can be done, we will show here the use of the “regular expression”. This is perhaps the easiest method to use. As we will see it involves merely pasting the regular expression and then changing the column name and numerical value

Introduction Instead of this We will get this

Introduction Instead of this We will get this

Introduction The regular expression Example with course instructor Example with ISBN http://image.shutterstock.com/z/stock-photo-business-hand-writing-blank-agenda-list-130255148.jpg http://s3.thingpic.com/images/zp/timHgbybX5e9UqMUf6oYyVQM.jpeg

The regular expression – Syntax The syntax of the regular expression is as follows. The user needs merely to the change the red and green parts below. The “n” is the column number (occurrence of the value between the semicolons) The “Column”.”Name” is how the column appears by default when doing “edit formula” Evaluate('regexp_substr(%1,''[^\;]+'', 1,n)',REPLACE("Column".“Name",';','\;')) Occurrence of value Name of column as it appears in “edit formula”

The regular expression – Course Instructor In order to make the first column for the course instructor the regular expression is Evaluate('regexp_substr(%1,''[^\;]+'', 1,1)',REPLACE("Course"."Course Instructor",';','\;')) In order to make the second column for the course instructor the regular expression is Evaluate('regexp_substr(%1,''[^\;]+'', 1,2)',REPLACE("Course"."Course Instructor",';','\;')) In order to make the third column for the course instructor the regular expression is Evaluate('regexp_substr(%1,''[^\;]+'', 1,3)',REPLACE("Course"."Course Instructor",';','\;'))

The regular expression – ISBN In order to make the first column for the ISBN the regular expression is Evaluate('regexp_substr(%1,''[^\;]+'', 1,1)',REPLACE("Bibliographic Details"."ISBN",';','\;')) In order to make the second column for the ISBN the regular expression is Evaluate('regexp_substr(%1,''[^\;]+'', 1,2)',REPLACE("Bibliographic Details"."ISBN",';','\;')) In order to make the third column for the ISBN the regular expression is Evaluate('regexp_substr(%1,''[^\;]+'', 1,3)',REPLACE("Bibliographic Details"."ISBN",';','\;'))

Introduction The regular expression Example with course instructor Example with ISBN http://image.shutterstock.com/z/stock-photo-business-hand-writing-blank-agenda-list-130255148.jpg http://s3.thingpic.com/images/zp/timHgbybX5e9UqMUf6oYyVQM.jpeg

Example with course instructor In the criteria tab add the field for however many times you want a separate column We will have four columns of course instructor

Example with course instructor For each column do “edit formula” then add the appropriate regular expression

Example with course instructor Instead of this (the default) First column Put this

Example with course instructor Second column Third column Fourth column

Example with course instructor Results show instructors in separate columns

Introduction The regular expression Example with course instructor Example with ISBN http://image.shutterstock.com/z/stock-photo-business-hand-writing-blank-agenda-list-130255148.jpg http://s3.thingpic.com/images/zp/timHgbybX5e9UqMUf6oYyVQM.jpeg

Example with ISBN In the criteria tab add the field for however many times you want a separate column We will have four columns of ISBN

Example with ISBN For each column do “edit formula” then add the appropriate regular expression

Instead of this (the default) Example with ISBN Instead of this (the default) First column Put this

Example with ISBN Second column Third column Fourth column

Example with ISBN Results show ISBNs in separate columns

Yoel Kortick Senior Librarian Thank You Yoel Kortick Senior Librarian http://continuumgrc.com/infinite-library/