OData API for Analytics

38
Copyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged. 2013 European Users Conference Barcelona OData API Questionmark Analytics

description

Explain the role of OData in providing access to raw data from the Results Warehouse Define the three parts of an OData URL Return results data for a specific assessment using OData Use a web browser to access OData Use Excel PowerPivot to access OData

Transcript of OData API for Analytics

Page 1: OData API for Analytics

Copyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

2013 European Users Conference Barcelona

OData API

Questionmark Analytics

Page 2: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Austin FosseyReporting and Analytics Manager, Questionmark

[email protected]

Page 3: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

By the end of the session, you should be able to: Explain the role of OData in providing access to raw data from

the Results Warehouse

Define the three parts of an OData URL

Return results data for a specific assessment using OData

Use a web browser to access OData

Use Excel PowerPivot to access OData

Objectives

Page 4: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

The OData Story: Data Access

Page 5: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

We store our currency at the bank…

…but we expect to be able to access it whenever we want to...

…and we expect that currency to be accepted in lots of places.

A Trip to the Bank

Slide 5

Page 6: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Data are the currency of assessment validity

We want to be able to access our data at any time

We expect the data to be accepted by many applications and BI tools

The OData Story: Data Access

Slide 6

Page 7: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

OData Overview

Slide 7

OData

Data-analysis and visualization tools

QMWISeR

Page 8: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Ad hoc reporting

Refreshable data

Merge data with other data sources

Load data into other applications and BI tools

Liberating Your Data

Slide 8

Page 9: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

The Anatomy of OData URLs

Page 10: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Data are accessed and queried with URLs, like the addresses of websites

OData is an industry standard (www.odata.org) Example Producers

Government data portals

Netflix

Ebay

Questionmark

Example Consumers Excel

Tableau

Web browsers

Sesame

Custom dashboards

OData Overview

Slide 10

Page 11: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Example OData URL:https://ondemand.questionmark.com/123456/odata/Assessments(71111)/Results?$top=5

OData URLs have three parts: Root

Resource Path

Query

The Anatomy of an OData URL

Slide 11

Page 12: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

The Anatomy of an OData URL

Slide 12

https://ondemand.questionmark.com/123456/odata

RootFor OnDemand users, the root of the OData URL is simply the URL for your OnDemand area followed by “/odata.”

Page 13: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

The Anatomy of an OData URL

Slide 13

/Assessments(71111)/Results

Resource PathSpecify the feeds and fields in which you are interested.

For example, here we are asking for the results associated with the assessment with key number 71111.

Page 14: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

The Anatomy of an OData URL

Slide 14

?$top=5

QuerySpecify, arrange, or limit the number of entries returned from the Resource Path. For example, here we are asking

for the top five entries from the Resource Path.

Page 15: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Questionmark’s OData Feeds

Page 16: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Each feed contains dozens of fields with applicable data

Feeds can be linked (e.g., link results to data about participants)

Resource Path: Available Feeds

Slide 16

OData Feeds

Participants

Groups

Results

Questions

Choices

Answers

Topics

TopicScores

Outcomes

Assessments

AssessmentQuestionLinks

…more are coming soon!

Page 17: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

OData Examples

Slide 17

Page 18: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Questionmark OData in Excel PowerPivot

Page 19: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Questionmark OData in Excel PowerView

Page 20: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Questionmark OData in Sesame

Slide 20

Page 21: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Questionmark OData in Tableau

Slide 21

Page 22: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Questionmark OData in Browsers

Slide 22

Page 23: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Questionmark OData in Dashboards

Slide 23

Page 24: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

OData Resources

Page 25: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Query and filter conventions

Ecosystem of applications

Technical documentation

odata.org

Slide 25

See: http://www.odata.org/

Page 26: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Video introduction to OData

Video tutorials on how to make different reports in Excel with OData

Video tutorial for using OData in Tableau

Questionmark Learning Café

Slide 26

See: https://www.questionmark.com/us/learningcafe/premium/Pages/default.aspx

Page 27: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Articles about anatomy of OData URL

Overview of applying queries

Links to additional resources

Questionmark Knowledge Base

Slide 27

See: https://www.questionmark.com/perception/help/v5/knowledge_base/Pages/odata501.aspx

Page 28: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Specs for each field in each feed

Information on “keys” used to link feeds

Sample queries

Questionmark Analytics User Guide

Slide 28

See: https://www.questionmark.com/perception/help/v5/product_guides/qaug/Content/OData/Overview.htm

Page 29: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Tutorials for developers

Sample code

Sample reportlets in a dashboard Score distribution

Attempts distribution

Score correlation

Pre-test post-test

developer.questionmark.com

Slide 29

See: http://developer.questionmark.com/home/

Page 30: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Demonstration: Browser and Excel

Page 31: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Counts the number of results for Assessment 71111 where the percentage score is greater than or equal to 70% (192 results).

Browser Demo

Slide 31

Page 32: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Excel 2010 or 2013

Free PowerPivot add in

PowerPivot tab

Click “Manage” to open PowerPivot

“Get External Data” from OData

Provide URL and security information

Excel Demo

Slide 32

Page 33: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Excel Activity

Page 34: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

We are going to make this chart in Excel using the Results feed:

Extra credit: Link Results feed to the Group feed to add a group filter to your chart

Goal

Slide 34

67.1462.85 65.04 64.10 64.34 63.51 62.38 60.87 61.57 63.85 65.61

53.8562.91 62.32

Average Score by Country

Page 35: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Get results for Demo Assessment – Form C

Create pivot chart

Get Groups data

Create relationship between Results and Groups

Add slicer (filter) to pivot chart

High Level Steps

Slide 35

Page 36: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

https://ondemand.questionmark.com/qmproductowners/odata/Results?$filter=substringof('Demo Assessment - Form C', AssessmentName) eq true

https://ondemand.questionmark.com/qmproductowners/odata/Groups

Activity Tools

Slide 36

Page 37: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.Slide 37

Questions about OData?

Page 38: OData API for Analytics

2013 European Users Conference BarcelonaCopyright © 1995-2013 Questionmark Corporation and/or Questionmark Computing Limited, known collectively as Questionmark. All rights reserved. Questionmark

is a registered trademark of Questionmark Computing Limited. All other trademarks are acknowledged.

Austin FosseyReporting and Analytics Manager, Questionmark

[email protected]