mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2026-06-19 13:17:30 +02:00
implement support for variable attributes for field label incl conversion of logicals to factor
This commit is contained in:
parent
f2b2784547
commit
fe9918dc10
6 changed files with 132 additions and 11 deletions
|
|
@ -20,5 +20,7 @@ ds <- structure(c(1, 2, 3, 2, 10, 9),
|
|||
labels = c(Unknown = 9, Refused = 10),
|
||||
class = "haven_labelled"
|
||||
)
|
||||
labelled::is.labelled(ds)
|
||||
attributes(ds)
|
||||
ds |> haven_all_levels()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue