R/tidyHtmlTable_helpers_extractElementsAndConvertToTbl.R

Defines functions prExtractElementsAndConvertToTbl

Documented in prExtractElementsAndConvertToTbl

#' Extract the elements and generate a table with unique elements
#'
#' @param x `list` with columns to be joined
#' @param elements `char` vector with the elements to select
prExtractElementsAndConvertToTbl <- function(x, elements) {
  x[elements] %>%
    prBindDataListIntoColumns() %>%
    dplyr::distinct()
}
gforge/htmlTable documentation built on Nov. 4, 2023, 12:05 a.m.