labs_store {volker} | R Documentation |
Get the current codebook and store it in the codebook attribute.
Description
You can restore the labels after mutate operations by calling labs_restore.
Usage
labs_store(data)
Arguments
data |
A data frame. |
Details
Value
A data frame.
Examples
library(dplyr)
library(volker)
volker::chatgpt |>
labs_store() |>
mutate(sd_age = 2024 - sd_age) |>
labs_restore() |>
tab_metrics(sd_age)
[Package volker version 2.0.1 Index]