C_hss_create_dict: Create a dictionary of HSS variable or value labels

View source: R/C_hss_create_dict.R

C_hss_create_dictR Documentation

Create a dictionary of HSS variable or value labels

Description

Create a dictionary from an XLS form. The dictionary is stored as a dataframe, and contains the contents of the XLS form stored in a (slightly modified) format that allows it to be used as a dictionary for looking up variable & value labels. This second argument of this function allows for filtering of questions and responses that are specific to, or different between, certain locations. Please check the XLS form in question for survey location abbreviations.

Usage

C_hss_create_dict(form, location = NULL, area = NULL)

Arguments

form

Path to the XLS form.

location

The survey location for which the specific XLS form was made.

area

The survey area for which the specific XLS form was made (Iraq-focused).

Value

A list containing two dataframes, with respectively variable- and value names and their associated text labels.


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