derived_variables: Add derived Variables from a configuration worksheet (csv).

View source: R/derived_variables.R

derived_variablesR Documentation

Add derived Variables from a configuration worksheet (csv).

Description

Add custom variable to dataset and codebook.

Usage

derived_variables(data, config_csv = NULL)

Arguments

data

Object returned by read_data.

config_csv

File path to a csv with fields "NAME", "TABLE", "TYPE", "DOMAIN", "VALUE", "LABEL".


Westat-Transportation/surveysummarize documentation built on Oct. 20, 2023, 2:44 a.m.