odata api for 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 ODataTRANSCRIPT
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
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
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
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
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
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
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
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
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
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
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
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.”
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.
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.
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
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!
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
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
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
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
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
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
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
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
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/
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
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
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
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/
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
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
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
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
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
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
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
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?
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