powered by
Check if an object is a Code List
is.codelist(x)
Returns a logical of length 1. Returns TRUE is x is of type codelist or a data.frame that conforms to the requirements of a code list.
TRUE
x
codelist
data.frame
object to test.