Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE]: Add a drop_labels() function for removing labels from labelled supertibbles #184

Open
4 of 5 tasks
rsh52 opened this issue Mar 22, 2024 · 1 comment
Open
4 of 5 tasks
Labels
backlog not to be worked on now enhancement New feature or request

Comments

@rsh52
Copy link
Collaborator

rsh52 commented Mar 22, 2024

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

  • The issue is atomic
  • The issue description is documented
  • The issue title describes the problem succinctly
  • Developers are assigned to the issue
  • Labels are assigned to the issue
@rsh52 rsh52 added enhancement New feature or request backlog not to be worked on now labels Mar 22, 2024
@larmarange
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog not to be worked on now enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants