tags_df {safeframe} | R Documentation |
Extract a data.frame of all tagged variables
Description
This function returns a data.frame
, where tagged variables (as stored in
the safeframe
object) are renamed. Note that the output is no longer a
safeframe
, but a regular data.frame
. untagged variables are unaffected.
Usage
tags_df(x)
Arguments
x |
a |
Value
A data.frame
of with variables renamed according to their tags
Examples
x <- make_safeframe(cars,
mph = "speed",
distance = "dist"
)
## get a data.frame with variables renamed based on tags
tags_df(x)
[Package safeframe version 1.0.0 Index]