select_dimension | R Documentation |
To add a dimension in a dimensional_query
object, we have to define its
name and a subset of the dimension attributes. If only the name of the
dimension is indicated, it is considered that all its attributes should be
added.
select_dimension(dq, name = NULL, attributes = NULL)
## S3 method for class 'dimensional_query'
select_dimension(dq, name = NULL, attributes = NULL)
dq |
A |
name |
A string, name of the dimension. |
attributes |
A vector of attribute names. |
A dimensional_query
object.
Other query functions:
dimensional_query()
,
filter_dimension()
,
run_query()
,
select_fact()
dq <- dimensional_query(ms_mrs) |>
select_dimension(name = "where",
attributes = c("city", "state")) |>
select_dimension(name = "when")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.