Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Permette l'esplorazione dei metadati del cubo
Usage
explore(olapCnn, cube = NULL, dimension = NULL, hierarchy = NULL, level = NULL)
Arguments
olapCnn
Oggetto della classe "OlapConnection" restituito da OlapConnection()
cube
Una stringa che specifica il nome di un cubo
dimension
Una stringa che specifica un nome di dimensione
hierarchy
Una stringa che specifica un nome di gerarchia
level
Una stringa che specifica un nome di livello
dettagli
explore
Value
Metadati del cubo stampa. restituisce NULL. Se gli argomenti non sono validi, viene generato un errore.
Note
Gli argomenti devono essere specificati in ordine. Ad esempio: per esplorare gerarchie, devono essere specificate una dimensione e un cubo.
References
Vedi exécute2D o executeMD per i riferimenti.
Examples
cnnstr <- "Data Source=localhost; Provider=MSOLAP;"
ocs <- OlapConnection(cnnstr)
#Exploring Cubes
explore(ocs)
#Analysis Services Tutorial
#Internet Sales
#Reseller Sales
#Sales Summary
#[1] TRUE
#Exploring Dimensions
explore(ocs, "Analysis Services Tutorial")
#Customer
#Date
#Due Date
#Employee
#Internet Sales Order Details
#Measures
#Product
#Promotion
#Reseller
#Reseller Geography
#Sales Reason
#Sales Territory
#Ship Date
#[1] TRUE
#Exploring Hierarchies
explore(ocs, "Analysis Services Tutorial", "Product")
#Category
#Class
#Color
#Days To Manufacture
#Dealer Price
#End Date
#List Price
#Model Name
#Product Categories
#Product Line
#Product Model Lines
#Product Name
#Reorder Point
#Safety Stock Level
#Size
#Size Range
#Standard Cost
#Start Date
#Status
#Style
#Subcategory
#Weight
#[1] TRUE
#Exploring Levels
explore(ocs, "Analysis Services Tutorial", "Product", "Product Categories")
#(All)
#Category
#Subcategory
#Product Name
#[1] TRUE
#Exploring Members
#NOTE: -> indicates that the following member is a child of the previous member
explore(ocs, "Analysis Services Tutorial", "Product", "Product Categories", "Category")
#Accessories
#Bikes
#Clothing
#Components
#Assembly Components
#-> Assembly Components
#--> Assembly Components