This function returns the list of tags identifying specific variable types
in a safeframe
object.
Value
The function returns a named list
where names indicate generic
types of data, and values indicate which column they correspond to.
Examples
## make a safeframe
x <- make_safeframe(cars, mph = "speed")
## check non-null tags
tags(x)
#> $mph
#> [1] "speed"
#>
## get a list of all tags, including NULL ones
tags(x, TRUE)
#> Warning: The 'show_null' argument is deprecated and is no longer functional.
#> $mph
#> [1] "speed"
#>