Nothing
get_unique_col_names <- function(df){
nrow(df) -> rws
V1 <- column <- NULL
df %>%
dplyr::summarize(dplyr::across(.fns = ~dplyr::n_distinct(.) == rws)) %>%
presenter::pivot_summary() %>%
dplyr::filter(V1) %>%
dplyr::pull(column)
}
get_min_unique_col_names <- function(df){
nrow(df) -> rws
V1 <- column <- NULL
df %>%
dplyr::summarize(dplyr::across(.fns = ~dplyr::n_distinct(.) == rws)) %>%
presenter::pivot_summary() %>%
dplyr::filter(V1) %>%
dplyr::pull(column)
}
get_min_unique_col_names <- function(df){
nrow(df) -> rws
V1 <- column <- NULL
df %>%
dplyr::summarize(dplyr::across(.fns = ~dplyr::n_distinct(.))) %>%
presenter::pivot_summary() %>%
dplyr::filter(V1 == min(V1)) %>%
dplyr::pull(column)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.