OBIEE Integration - Oracle

9 downloads 152 Views 3MB Size Report
Objectives. • Sophisticated R graphs in OBIEE Dashboards. • XML graph generation using SQL. • Integration with BI Publisher and OBIEE. • Key takeaways.


Oracle R Enterprise – Partner Training Sessions

OBIEE Integration Mark Hornick, Senior Manager, Development Oracle Advanced Analytics ©2012 Oracle – All Rights Reserved

Agenda • • • • •

Objectives Sophisticated R graphs in OBIEE Dashboards XML graph generation using SQL Integration with BI Publisher and OBIEE Key takeaways

©2012 Oracle – All Rights Reserved

2

Objectives • By the end of this presentation you will be able to: – – – – –

Use rqEval for embedded R execution to generate XML graphs Work with an R script to generate customized graphics Create a BIP data model to execute an R script via SQL Parameterize an R script to accept user input For self study… • Evolve a simpler script to a more complex dashboard display with multiple user inputs • Understand what is involved in generating R results for use in an RPD

©2012 Oracle – All Rights Reserved

3

Finished OBIEE Dashboard - parameterized

©2012 Oracle – All Rights Reserved

4

Finished Dashboard – leverage open source R package

©2012 Oracle – All Rights Reserved

5

Using Firefox on the VM • Interact with these two graphs for yourself… • Go to URL for OBIEE Admin oracle2go:7001/analytics • Login User: biadmin Password: welcome1

©2012 Oracle – All Rights Reserved

6

Using Firefox on the VM • Click “open” • Select either

1

– Flight Delay by Airport – Report – Quality Control Charts - Report 2

©2012 Oracle – All Rights Reserved

7

DEMONSTRATION VIDEO

©2012 Oracle – All Rights Reserved

8

Start up the Exalytics VM with OBIEE • Open two terminal windows – Start R in one by typing “R” • List database tables by typing the command ore.ls() at the ORE> prompt – Start SQL*Plus in the other > R ORE> ore.ls()

sqlplus rquser/rquser

©2012 Oracle – All Rights Reserved

10

Open the script in a third terminal window • Change directory to “ORE” • Use “more” to display script – Use “enter” to move down one line at a time – Use “space” to move one screenful at a time

• Resize and position window as shown here • Ensure this window is wide enough so the R code does not “wrap” – This can separate closing quotes from strings and produce errors on copy/paste cd ORE

more XWeek2012_OBIEE_ORE.script

©2012 Oracle – All Rights Reserved

11

XML Output Generation through SQL

©2012 Oracle – All Rights Reserved

12

Test the R script / load script in ORE database repository • Plot 100 random numbers and return vector with values 1 to 10 • Test R script – execute by typing or copying code into R engine at ORE> prompt

• Load function into database – execute in SQL*Plus # R Script – execute at >ORE prompt f

Suggest Documents