ddi_valrng | R Documentation |
Values for a particular variable that represent legitimate responses (valrng) or illegitimate response (invalrng). Must include item or range as a child element.
ddi_valrng(...) ddi_invalrng(...) ddi_item(...) ddi_key(...)
... |
Child nodes or attributes. |
Parent nodes
valrng
and invalrng
are contained in var
.
valrng and invalrng specific child nodes
ddi_item()
is the counterpart to range; used to encode individual values.
This is an empty element consisting only of its attributes. The "UNITS"
attribute permits the specification of integer/real numbers. The "VALUE"
attribute specifies the actual value.
ddi_key()
is the range key. This element permits a listing of the category
values and labels. While this information is coded separately in the Category
element, there may be some value in having this information in proximity to
the range of valid and invalid values. A table is permissible in this element.
A ddi_node object.
ddi_notes()
ddi_range()
# ddi_valrng() and ddi_invalrng() requires either the ddi_item() or ddi_range() child node. ddi_valrng(ddi_item()) ddi_invalrng(ddi_item()) ddi_valrng(ddi_range()) ddi_invalrng(ddi_range()) # Functions that must be wrapped in ddi_valrng() or ddi_invalrng() ddi_item(VALUE = "1") ddi_key("05 (PSU) Parti Socialiste Unifie et extreme gauche (Lutte Ouvriere) [United Socialists and extreme left (Workers Struggle)] 50 Les Verts [Green Party] 80 (FN) Front National et extreme droite [National Front and extreme right]")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.