DesiQuintans / tsv2label

tsv2label: Label, describe, rename, and recode datasets using a data dictionary
Other
2 stars 0 forks source link

Add advice about `droplevels()` to factorise_with_dictionary() documentation. #9

Closed DesiQuintans closed 1 year ago

DesiQuintans commented 1 year ago

Factorising from a dictionary potentially creates hundreds of unused levels, and it's often useful to drop those. Rather than adding an argument to drop unused levels, just add advice about base::droplevels() to the function documentation.