-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I think it's clunkier than it needs to be. Currently:
- metadata columns for variable label and value labels can have any name in metadata, specified using
.var_labeland.val_labelsargs - to use metadata without a variable or value label column,
.var_labelor.val_labelsmust be set toNULL - other columns in metadata can be renamed in codebook by passing named arg to
... - to include any other columns, their names must be specified in
...
I think it would be better to be stricter about metadata, at the cost of a little flexibility but making the interface easier and more intuitive in most cases. Specifically:
- require variable / value label columns in metadata to be called
labelandvar_labels. - no need to set column to
NULLto omit -- just don't include it in metadata. - all other columns in metadata will be included with their existing names (cannot be renamed in
cb_create()call - all columns in metadata will be included -- no need to pass names to
...
Would need to be mindful of cb_create_redcap(), for which the existing interface does make more sense.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request