metacore
metacore copied to clipboard
Extend `metacore` object by adding programming-related information
To enhance the usage of metadata, what do you think of adding the following information to the metacore
object?
- a column of functions used for derivation in
metacore$var_spec
andmetacore$value_spec
- order of derivation column in
metacore$var_spec
andmetacore$value_spec
Users can also add these two columns to the P21 Excel Spec (Variables, ValueLevel sheets), so that they can be read in through spec_to_metacore()
Thanks!
I really like this idea. The only thing I might change is to put the column of functions into the derivation table rather than the var_spec and value_spec so information isn't repeated. Also I would probably just put the derivation order in var_spec rather than var_spec and value_spec