Working with Code Lists


[Up] [Top]

Documentation for package ‘codelist’ version 0.1.0

Help Pages

as.code Convert object to code
as.code.code Convert object to code
as.code.default Convert object to code
as.codelist Convert an object to a codelist object
as.codelist.codelist Convert an object to a codelist object
as.codelist.data.frame Convert an object to a codelist object
as.label Label character vector as label to use in comparisons with a code vector
cl Get the code list associated with the object
cl.code Get the code list associated with the object
cl.default Get the code list associated with the object
cl_filter Filter a code list
cl_is_valid Check if the codelist is valid
cl_levels Get the hierarchical level for each code in a code list
cl_locale Get the locale to use with the codelist
cl_nlevels Get the number of hierarchical levels in a code list
code Code vector
codelist Create a codelist object
codes Get the codes belonging to given labels
codes.code Get the codes belonging to given labels
codes.default Get the codes belonging to given labels
format.code Format a code object for pretty printing
in_labels Match codes based on label
is.code Check if object is a code
is.codelist Check if an object is a Code List
is.missing Find out which elements of a vector have missing values
labels.code Convert vector with codes to factor using a code list
levelcast Recode codes to a higher level in a hierarchy
objectcodes Example code list for object types
objectsales Example data set to demonstrate working with code lists
to_codes Get the codes belonging to given labels
to_labels Convert vector with codes to factor using a code list