Easily get variable icon based on data type or class
Usage
get_var_icon(data, class.type = c("class", "type"))
Examples
mtcars[1] |> get_var_icon("class")
#> $mpg
#>
default_parsing(mtcars) |> get_var_icon()
#> $mpg
#>
#> $cyl
#>
#> $disp
#>
#> $hp
#>
#> $drat
#>
#> $wt
#>
#> $qsec
#>
#> $vs
#>
#> $am
#>
#> $gear
#>
#> $carb
#>