C_hss_add_var: Generate a new HSS variable

View source: R/C_hss_add_var.R

C_hss_add_varR Documentation

Generate a new HSS variable

Description

Update the dataset to include a new variable and generate a doc that will be a necessary input in the following function which adds this new variable to the dictionary. It is important to keep in mind that this will not change the actual XLS form used to generate the dictionary. This is an internal modification.

Usage

C_hss_add_var(dat, name, location)

Arguments

dat

HSS dataframe

name

the name of the new variable (var_specific)

location

the name of the variable that should come before the new var

Value

HSS dataframe which includes the new variable + a doc to be used for the subsequent update of the dictionary


RenRMT/hsstools documentation built on April 14, 2025, 7:10 p.m.