Chapter 2 Basic Operations

Similar documents
Lesson 4 Advanced Transforms

Chapter 1 Getting Started

Test Pilot User Guide

Adverse Action Letters

STIQuery Basics. A second example is included at the end of this document.

TRAINING GUIDE. Lucity Mobile

MOS Access 2013 Quick Reference

Web of Science Institutional authored and cited papers

How to Mass Assign Student Course Requests

Using the Swiftpage Connect List Manager

Using the Swiftpage Connect List Manager

BI Publisher TEMPLATE Tutorial

Data Miner Platinum. DataMinerPlatinum allows you to build custom reports with advanced queries. Reports > DataMinerPlatinum

Exporting and Importing the Blackboard Vista Grade Book

Scroll down to New and another menu will appear. Select Folder and a new

Uploading Files with Multiple Loans

INFOCUS Enrollment by Count Date

What s New in Banner 9 Admin Pages: Differences from Banner 8 INB Forms

Exercise 4: Working with tabular data Exploring infant mortality in the 1900s

Getting Started with the Web Designer Suite

MySqlWorkbench Tutorial: Creating Related Database Tables

Constituent Page Upgrade Utility for Blackbaud CRM

Proper Document Usage and Document Distribution. TIP! How to Use the Guide. Managing the News Page

These tasks can now be performed by a special program called FTP clients.

Copyrights and Trademarks

Uploading Your Catalogue

InformationNOW Standardized Tests

The Login Page Designer

UiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash

Copy your Course: Export and Import

STUDIO DESIGNER. Design Projects Basic Participant

Lab 4. Name: Checked: Objectives:

Transforming Quadratic Functions Day 2

Municode Website Instructions

Exercises: Plotting Complex Figures Using R

Importing an Excel Worksheet into SAS (commands=import_excel.sas)

State Assessment Program Indiana Released Items Repository Quick Guide

UiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash

Access 2000 Queries Tips & Techniques

ClassFlow Administrator User Guide

TRAINING GUIDE. Overview of Lucity Spatial

Master Calendar Navigation

The Reporting Tool. An Overview of HHAeXchange s Reporting Tool

Ad Hoc: Ad Hoc Reporting

Project #1 - Fraction Calculator

TUTORIAL --- Learning About Your efolio Space

Quick Start Guide. Basic Concepts. DemoPad Designer - Quick Start Guide

INFocus Health Screenings Report

REFWORKS: STEP-BY-STEP HURST LIBRARY NORTHWEST UNIVERSITY

from DDS on Mac Workstations

INSERTING MEDIA AND OBJECTS

Type: System Enhancements ID Number: SE 93. Subject: Changes to Employee Address Screens. Date: June 29, 2012

Quick Start Guide for EAB Campus Advisors

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

I - EDocman Installation EDocman component EDocman Categories module EDocman Documents Module...2

Quick Reference Guide User Permissions & Roles - Buyers. Table of Contents

TJC Odyssey Web Access. User Guide

Focus University Training Document

Using UB Stream and UBlearns

Using MeetingSquared on your ipad or iphone

escreen Setup and Usage Instructions

RxAXIS Security Module 09/25/2013

Relius Documents ASP Checklist Entry

Using MeetingSquared as an Administrator

Using the Turnpike Materials ProjectSolveSP System (Materials & ProjectSolveSP Admin)

Please contact technical support if you have questions about the directory that your organization uses for user management.

Word 2007 The Ribbon, the Mini toolbar, and the Quick Access Toolbar

INSTALLING CCRQINVOICE

Procurement Contract Portal. User Guide

3 AXIS STAGE CONTROLLER

Network Rail ARMS - Asbestos Risk Management System. Training Guide for use of the Import Asset Template

Chalkable Classroom Items

Employee Self Service (ESS) FAQs

CLIC ADMIN USER S GUIDE

Client Configurations

Release Notes. Version

CREATING A DONOR ACCOUNT

ROCK-POND REPORTING 2.1

161 Forbes Road Braintree MA Phone: (781) Fax: (781) What's in it? Key Survey & Extreme Form

Integrating QuickBooks with TimePro

Qualtrics Instructions

REPORT WRITER USER S GUIDE

STISETS AL SETS Query

SUB-USER ADMINISTRATION HELP GUIDE

1on1 Sales Manager Tool. User Guide

HW4 Software version 3. Device Manager and Data Logging LOG-RC Series Data Loggers

EUFGIS. Intranet User Manual

MyUni Adding Content. Date: 29 May 2014 TRIM Reference: D2013/ Version: 1

eprocurement Requisition Services Special Request Amount Only

Wave IP 4.5. CRMLink Desktop User Guide

Element Creator for Enterprise Architect

INFocus Students With No SSID Report

Case Metrics Guide. January 11, 2019 Version For the most recent version of this document, visit our documentation website.

SUPPLIER CONNECTION SUPPLIER REFERENCE GUIDE FOR LEAR SUPPLIERS

CMS and e-commerce Solutions. version 1.0. Please, visit us at: or contact directly by

Managing Your Access To The Open Banking Directory How To Guide

HeW Electronic Bill Pay Training Manual F o r H e W S y s t e m s

VISITSCOTLAND - TOURS MANAGEMENT SYSTEM Manual for Tour Operators

Importing data. Import file format

PAGE NAMING STRATEGIES

Transcription:

Chapter 2 Basic Operatins Lessn B String Operatins 10 Minutes Lab Gals In this Lessn, yu will: Learn hw t use the fllwing Transfrmatins: Set Replace Extract Cuntpattern Split Learn hw t apply certain Transfrmatins t multiple clumns Lessn Instructins 1. Changing Case within a Clumn Click n the clumn header n the Spring_Day_A clumn. Select the suggestin t Set the clumn Spring_Day_A t Uppercase. Select Edit. In the Frmula parameter, change upper t prper. Nte, the $cl indicatr applies the prper functin t all f the clumns selected (in this case just the Spring_Day_A clumn). Select Add t add t yur recipe. Yu shuld ntice that Spring_Day_A s histgram went frm 14 categries t 7, indicating there are n lnger issues with case. 2. Multi-Clumn Set Next, Click Clumns t enter the clumns view. Shift + Click frm Spring_Feq_A t Fall_Freq_B. Select Actin à Frmat à T Prpercase. Yu shuld ntice this initiates a builder step with all f the selected clumns appearing in the Clumns parameter and prper($cl) in the Frmula parameter. Click Add. set cl: Spring_Day_A value: prper($cl) set cl: Spring_Freq_A, Spring_Day_B, Spring_Freq_B, Summer_Day_A, Summer_Freq_A, Summer_Day_B, Summer_Freq_B, Fall_Day_A, Fall_Freq_A, Fall_Day_B, Fall_Freq_B value: prper($cl)

3. Cleaning Irregularities replace cl: Items with: '' n: `$ ` glbal: true While still in the Clumns View, click n the Items clumn, select Actin, then Shw in Grid. This brings yu t the Items clumn in the Grid. Highlight ver the, and select the suggestin t Replace this value. Ntice in the preview t the right that the resulting clumn has been cleaned up. Click Edit t view the transfrm Builder. Ntice that yu can apply the Replace transfrm t multiple clumns at nce by entering mre clumns in the bxes belw the Clumn parameter. T apply this transfrm t all clumns we can use the wildcard r asterisk (*) character in the clumn parameter. This will apply the transfrm t all f the clumns in the dataset. The Replace transfrm finds ccurrences f text that match a defined pattern and replaces that text with a specified value. By default, Trifacta replaces the text with an empty string, which will delete the text frm yur data. Let s apply the transfrmatin t nly the Items clumn. S, ur transfrmatin step reads as: replace the pattern f $ with the new value f nthing (we leave the values bx blank) n Clumn Items. Add t yur recipe. 3. Select a string t generate a pattern. Brush ver the fllwing text in the Items clumn: wine_alchl Whenever yu directly select data in the transfrmer grid, Trifacta generates suggestins that apply t ccurrences f text that match the same pattern as the selectin. Ntice that the first suggestin card shws the Extract transfrm. This transfrm finds ccurrences f text that match a defined pattern and places that text int ne r mre new clumns. 2

4. Determine pattern-matching methds fr Extract. Lk at the first suggestin card. This card uses yur selectin t define a pattern using Trifacta selectin rules. Trifacta selectin rules perate like java- style regular expressins, but are designed t be easy t understand. This selectin pattern matches exactly 12 alphanumeric characters and underscre characters. Muse ver the different Extract suggestin cards. Yu can click n each suggestin t update the preview in the transfrmer grid and display the result f that suggestin. Based n the ptins displayed n the suggestin card, hw can yu define patterns in the Extract transfrm? 1. Trifacta selectin patterns. 2. Exact string matches. 3. By identifying the values that cme befre and after the pattern that yu want. Click n the first Extract suggestin card and click Edit t see the transfrm in the Builder. If yu click n the pattern, yu will see the descriptin f this Trifacta pattern. If yu highlight the Trifacta pattern, yu see a list f all pssible pattern ptins with readable names and descriptins. Nte that the Extract transfrm des nt mdify the riginal clumn. 5. Select multiple strings t refine a pattern. Yu can make multiple text selectins in the same clumn t refine the patterns suggested by Trifacta. When yu d this, yu teach Trifacta t identify the crrect pattern in the clumn. Nte that t refine an existing suggestin, yu need t select text that ccurs in a different rw frm yur first selectin. Extract cl: Items n: `{alphanumunderscre}+` limit: 3 befre: `:` In the first rw, we ve brushed ver the text: wine_alchl. In the secnd rw, brush ver the text: meat_eggs_seafd. Yu can expand the clumn by clicking n the arrw t the right. Yu can drag the clumn edge t expand it as well. 3

Ntice that the pattern shwn n the Extract suggestin card has changed. Instead f reading {alphanum-underscre}{12}, the card nw reads {alphanum-underscre}+. Since yu have selected multiple values in the Items clumn, Trifacta has generated a mre general pattern. {alphanumunderscre}+ means that Trifacta will match ne r mre alphanumeric r underscre characters, while {alphanumunderscre}{12} will nly match exactly 12 alphanumeric r underscre characters. If yu lk at the preview in the Transfrmer Grid, yu shuld als ntice that Trifacta will nw generate three clumns. The Items clumn in this dataset is a list f item categries that the farmers markets culd sell. If there is N after the cln, this market des nt sell these items. If there is a Y after the cln, this market des sell these items. Fr the purpse f this example, let s assume we nly want t extract the item categries. Click n the secnd Extract suggestin card. Yu ll ntice that this suggestin adds t the pattern t extract alphanumeric r underscre characters befre the cln ( : ). In the preview, yu will see that Trifacta will nw generate tw clumns. Click Edit. The limit parameter determines the number f times Trifacta will match a pattern, and thus the number f clumns that the Extract transfrm will generate. Change the number in the limit parameter frm 2 t 3 and watch the preview update. Add t Recipe. 4

6. Use the Cuntpattern transfrm t cunt the number f times a delimiter appears cuntpattern cl: Items n: `\ ` The Cuntpattern transfrm cunts the number f times a specified pattern ccurs in each recrd f a clumn. Select the pipe character ' ' in the Items clumn. Scrll thrugh the suggestin cards until yu find the Cunt values matching suggestin. This uses the Cunt Pattern transfrm. Select the Cuntpattern transfrm and examine the preview in the grid. Yu can see that the Cuntpattern transfrm creates a new clumn that cntains the number f times the selected pattern appears in each recrd. Add the Cuntpattern transfrm t the recipe 7. Generate a Split transfrm. In the Items clumn, brush ver the pipe character: When yu select a delimiter separatr values like cmmas, pipes, r spaces Trifacta will suggest a Split transfrm first. Click n the Split suggestin card and examine the preview. Ntice that the Split transfrm will use the selected delimiter pattern t divide the current clumn int multiple new clumns. The delimiter itself des nt appear in the new clumns, and the riginal clumn is drpped frm the dataset. 8. Determine pattern-matching methds fr Split. Muse ver the different Split transfrm suggestins t see multiple versins f the suggestin. Yu can click n each suggestin t update the preview in the transfrmer grid t display the result f that suggestin. Click n the first Split suggestin and click Edit. 9. Cntrl the number f clumns generated by the Split transfrm. split cl: Items n: ' ' limit: 5 Examine the transfrm in the Builder. Ntice that the limit parameter cntrls the number f clumns that will be created. Change the limit parameter value 5

frm 4 t 3. Hw des this change the preview? Add the transfrm t the recipe. 10. Und the Split transfrm. Click the und buttn at the tp f the screen t remve the Split transfrm frm yur recipe. 6