R/tools.R
format_type.Rd
Format type description of variable to 3 letters (int|dbl|lgl|chr|dat)
format_type(type)
Type description ("integer", "double", "logical", character", "date")
Formatted type description (int|dbl|lgl|chr|dat)
format_type(typeof(iris$Species)) #> [1] "int"