dpcodelist | R Documentation |
Get the Code List for a variable.
dpcodelist(x, ...)
## Default S3 method:
dpcodelist(
x,
fielddescriptor = attr(x, "fielddescriptor"),
datapackage = dpgetdatapackage(fielddescriptor),
...
)
## S3 method for class 'fielddescriptor'
dpcodelist(x, datapackage = dpgetdatapackage(x), ...)
x |
the variable for which to get the Code List |
... |
used to pass extra arguments on to other methods. |
fielddescriptor |
the Field Descriptor associated with the variable. |
datapackage |
the Data Package where the variable is from. |
Returns a data.frame
with the Code List or NULL
when none could
be found.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.