-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Consistent naming schema for data wrangling and transformation functions #57
Comments
Why do we have these aliases? I think only functions that have anything to do with data wrangling should carry the So I would vote for removing the following aliases:
These are the odd ones out. What do you think @DominiqueMakowski, @mattansb, @bwiernik? |
Not sure what you are considering "data wrangling" vs not |
Yeah, that's a tough question. Roughly speaking, anything that changes the structure of how the data is stored (and relevant metadata) but leaves the values of the retained data intact. So, for example, the following will be all data wrangling helpers: All the data transformation helpers are changing the values of the data. For example, Does that make a little bit of sense? |
I would distinguish between data frame and variable transformations. The first is "data wrangling", maybe? |
I think all functions that take data as argument (and primarily do any sort of data manipulation/transformation) should start with |
This comment was marked as outdated.
This comment was marked as outdated.
"...from now onwards" 😁 |
Aliases are free. |
Also helps us avoid masking like these:
Created on 2022-01-28 by the reprex package (v2.0.1.9000) I think we should be retiring this particular alias ASAP. |
It's not on CRAN yet I don't think, so rename it |
(Similarly, we should probably deprecate |
Yes, this is a small inconsistency we have here:
(though I'm not sure this is consistent) However, not all functions that start with This means: We could rename |
We can have The |
I don't see the problem with having |
https://easystats.github.io/datawizard/reference/index.html
due to aliases for some functions that start with
data_
, and pkgdown.yml usingstarts_with("data")
, functions are shown under two headers.The text was updated successfully, but these errors were encountered: