R/shiny_helpers.R

Defines functions get_numeric_meta_columns

Documented in get_numeric_meta_columns

#' Find which metadata columns are numeric. 
#' 
#' Helper function for shiny apps
#' 
#' @importFrom mda.streams get_meta
#' @keywords internal
get_numeric_meta_columns <- function(){
  meta_types = get_meta()
  
  names(which(sapply(meta_types, class) == 'unitted_numeric'))
}
USGS-R/powstreams documentation built on June 3, 2023, 8:58 a.m.