General Issue: derive_vars_transposed()
shouldn't produce list columns
#2563
Labels
derive_vars_transposed()
shouldn't produce list columns
#2563
Background Information
The functions
derive_vars_transposed()
andderive_vars_atc()
may produce list columns.Consider for example the ATC variables derivation in the OCCDS vignette:
The issue is that
id_vars = exprs(FAGRPID)
is missing in the call.However, this is not clear from the warning. Furthermore, admiral functions shouldn't produce list columns.
Thus, the uniqueness should be checked in
derive_vars_transposed()
such that an error is issued if the input results in list columns.Definition of Done
An error is issued if the input of
derive_vars_transposed()
results in list columns.The text was updated successfully, but these errors were encountered: