Share via


explore: olapR explore 메서드

큐브 메타데이터 탐색을 허용합니다.

사용

  explore(olapCnn, cube = NULL, dimension = NULL, hierarchy = NULL, level = NULL)

인수

olapCnn

OlapConnection()에서 반환된 “OlapConnection” 클래스의 개체

cube

큐브 이름을 지정하는 문자열

dimension

차원 이름을 지정하는 문자열

hierarchy

계층 구조 이름을 지정하는 문자열

level

수준 이름을 지정하는 문자열

세부 정보

explore

큐브 메타데이터를 인쇄합니다. NULL을 반환합니다. 인수가 유효하지 않을 경우 오류가 발생합니다.

메모

인수는 순서대로 지정해야 합니다. 예: 계층 구조를 탐색하려면 차원과 큐브를 지정해야 합니다.

참조

execute2D 또는 executeMD를 참조하세요.

추가 정보

query, OlapConnection, executeMD, execute2D


 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