tags {safeframe} | R Documentation |
Get the list of tags in a safeframe
Description
This function returns the list of tags identifying specific variable types
in a safeframe
object.
Usage
tags(x, show_null = FALSE)
Arguments
x |
a |
show_null |
DEPRECATED |
Details
tags are stored as the label
attribute of the column variable.
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)
## get a list of all tags, including NULL ones
tags(x, TRUE)
[Package safeframe version 1.0.0 Index]