makeCategories: Create the 'catgry' elements for a particular variable

makeCategoriesR Documentation

Create the catgry elements for a particular variable

Description

Utility function to create the catgry elements, as well as all necessary sub-elements (e.g. catValu, labl, varFormat) along with their associated XML attributes.

Usage

makeCategories(metadata)

Arguments

metadata

A list of two or three components: labels, na_values and/or na_range

Value

A list of standard catgry DDI elements.

Author(s)

Adrian Dusa


DDIwR documentation built on May 29, 2024, 7:24 a.m.

Related to makeCategories in DDIwR...