internalised the create_column function from datamods for ui modifications - all variable icons are the same throughout now - added custom css

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-04-24 12:53:37 +02:00
commit 6a43ba7b5b
No known key found for this signature in database
12 changed files with 1322 additions and 23 deletions

23
man/get_var_icon.Rd Normal file
View file

@ -0,0 +1,23 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data-summary.R
\name{get_var_icon}
\alias{get_var_icon}
\title{Easily get variable icon based on data type or class}
\usage{
get_var_icon(data, class.type = c("class", "type"))
}
\arguments{
\item{data}{variable or data frame}
\item{class.type}{"type" or "class". Default is "class"}
}
\value{
svg icon
}
\description{
Easily get variable icon based on data type or class
}
\examples{
mtcars[1] |> get_var_icon("class")
default_parsing(mtcars) |> get_var_icon()
}