Description Usage Arguments Examples
Use constant_constant_dimensions
instead of select
so the
removed dimension value is added to the metadata attribute.
1 | discard_constant_dimensions(tbl, quietly = FALSE)
|
tbl |
A metric tbl in wide format, with one or more dimensions. |
quietly |
If FALSE (default), display a message about what columns are being discarded. |
1 2 3 4 5 | library(dplyr)
flights_nyc_avg_arr_delay %>%
filter(origin == "JFK") %>%
discard_constant_dimensions()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.