Presentation is loading. Please wait.

Presentation is loading. Please wait.

Wrangling All Your Data With Query Builder in JMP 13

Similar presentations


Presentation on theme: "Wrangling All Your Data With Query Builder in JMP 13"— Presentation transcript:

1 Wrangling All Your Data With Query Builder in JMP 13
Eric Hill Software Developer, JMP

2 Copyright © 2016 SAS Institute Inc. All rights reserved.
? ? Copyright © 2016 SAS Institute Inc. All rights reserved.

3 Copyright © 2016 SAS Institute Inc. All rights reserved.
Inner Join Matching rows only Copyright © 2016 SAS Institute Inc. All rights reserved.

4 Copyright © 2016 SAS Institute Inc. All rights reserved.
Left Outer Join All rows from left table Matching rows from right table Copyright © 2016 SAS Institute Inc. All rights reserved.

5 Copyright © 2016 SAS Institute Inc. All rights reserved.
X Right Outer Join Matching rows from left table All rows from right table Copyright © 2016 SAS Institute Inc. All rights reserved.

6 Copyright © 2016 SAS Institute Inc. All rights reserved.
Full Outer Join All rows from both tables Copyright © 2016 SAS Institute Inc. All rights reserved.

7 Demo – Basic Joins Connect to database Primary vs. Secondary table
Join Home Planet to Planet Change join type Preview Join Build Query Select Columns Run Query Save Query Copyright © 2012, SAS Institute Inc. All rights reserved.

8 Characters Films Copyright © 2012, SAS Institute Inc. All rights reserved.

9 Demo – Advanced Joins Characters plus Films Set join up wrong
Preview Join Add Films a second time, change aliases Set join up correctly Copyright © 2012, SAS Institute Inc. All rights reserved.

10 NTSB Data events table aircraft table Occurrences table
Copyright © 2012, SAS Institute Inc. All rights reserved.

11 Summarizing Data COUNT AVG MIN/MAX SUM STDDEV_SAMP, STDDEV_POP
VAR_SAMP, VAR_POP Copyright © 2012, SAS Institute Inc. All rights reserved.

12 Demo – Summarizing Data
Events data has primary key Aircraft table has compound primary key, foreign key reference to events Occurrences table has compound primary key, foreign key reference to Aircraft OccurrenceCodes – maps numeric codes to description Keys make joins easier Add columns Do Count aggregation See others are GROUP BY – Look at SQL code Order by the aggregated value Copyright © 2012, SAS Institute Inc. All rights reserved.

13 Demo - Filtering exercise4_predemo_start.jmpquery Date Format
Modeling type – Affects the default filter and filter choices you have (besides being important in the imported data) Filter total seats highest injury Create a TreeMap Occurrence_Desc Phase_Desc Put the script in Post Query Script, runs every time Make the query prompted Copyright © 2012, SAS Institute Inc. All rights reserved.

14 Demo – Advanced Filtering
Exercise4_part1.jmpquery Add date filter, make it a range, show Date Picker Add Occurrence_Desc Pick some Change to LIKE/NOT LIKE %engine%, %landing% Custom filter Type in what you want Custom SQL Query Copyright © 2012, SAS Institute Inc. All rights reserved.

15 JMP Query Builder (JMP 13)
Big Class SAT Scores Query Builder SAT Scores JMP Query Builder Result BC_SSN Excel Import Wizard or QB BC_SSN Avg SAT Internet Open Avg SAT Copyright © 2012, SAS Institute Inc. All rights reserved.

16 Demo – Query Builder for JMP Tables
Open Big Class Social Security Excel worksheet Copyright © 2012, SAS Institute Inc. All rights reserved.

17 Enjoy the conference!


Download ppt "Wrangling All Your Data With Query Builder in JMP 13"

Similar presentations


Ads by Google