REDCapTidieR
REDCapTidieR copied to clipboard
[FEATURE]: Add a `drop_labels()` function for removing labels from labelled supertibbles
Feature Request Description
Some functions, like skimr::skim() don't work well with labelled data sets. We should give users the option to remove labels after the fact for operations that may already be using their extracted supertibble. tidyREDCap::drop_labels() does a similar thing.
Checklist
- [x] The issue is atomic
- [x] The issue description is documented
- [x] The issue title describes the problem succinctly
- [ ] Developers are assigned to the issue
- [x] Labels are assigned to the issue
You could use labelled::remove_var_label() cf. https://larmarange.github.io/labelled/reference/remove_labels.html
A general comment: instead of referring to "labels", it would be better to distinct "variable labels" and "value labels" in the documentation.