One thing I noticed is that the functions are a bit inconsistent.
For example for dimensions we have dim_add and dim_drop.
We discussed that it would also be useful to have level_drop in order to drop only some levels from dimensions.
These point to functions being named in the "object_verb" style. However there is a function relabel which works on both dimensions and levels.
Would it not be better to separate that into dim_rename and level_rename or something of this sort?
One thing I noticed is that the functions are a bit inconsistent.
For example for dimensions we have
dim_add
anddim_drop
. We discussed that it would also be useful to havelevel_drop
in order to drop only some levels from dimensions.These point to functions being named in the "object_verb" style. However there is a function
relabel
which works on both dimensions and levels.Would it not be better to separate that into
dim_rename
andlevel_rename
or something of this sort?