labs_store {volker} | R Documentation |
Get the current codebook and store it in the codebook attribute.
Description
Usage
labs_store(data)
Arguments
data |
A data frame. |
Details
You can restore the labels after mutate operations by calling labs_restore.
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 3.0.0 Index]