Connects and returns data as data.frame from Microsoft SQL Server Analysis Services
TODO: add Discovery command functionality
library(readSSAS)
urlstr <- "http://my-web-srv01/OLAP/msmdpump.dll"
username <- "domain\\username"
password <- "password"
catalog <- "Adventure Works DW2014"
mdx <- "Select [Measures].[Internet Sales Amount] on Columns,
[Customer].[Customer].[Customer] on Rows
From [Adventure Works]"
resultset <- read.SSAS(urlstr, username, password, catalog, mdx)
12/05/2016 initial commit 27/05/2016 hotfix - fixed cutting values after decimal point
GPL-3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.