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

Grouped data vignette #4779

Closed
hadley opened this issue Jan 18, 2020 · 0 comments · Fixed by #4829
Closed

Grouped data vignette #4779

hadley opened this issue Jan 18, 2020 · 0 comments · Fixed by #4829
Labels
documentation tidy-dev-day 🤓

Comments

@hadley
Copy link
Member

hadley commented Jan 18, 2020

We need a vignette that broadly explains how grouping works, and shows how grouping and the various verbs interact.

  • use_vignette("grouping.Rmd")
  • Copy in existing content from https://dplyr.tidyverse.org/articles/dplyr.html#grouped-operations (which scheduled for removal)
  • Ensure each one table verb has a section with a small example that demonstrates how grouping interacts with its operation
    • un-select() grouping vars
    • arrange() not grouped by default
    • show example of filter to remove entire groups, e.g. filter(df, n() == 1)
  • Should try and work with one dataset (starwars?) as much as possible.
  • How to access data about the "current" group with cur_group() and friends
  • Briefly show the underlying data structure accessed with group_data()

This is a lot to do in a day, so if you don't get it all done, please submit a PR anyway, as your work will make it much easier for us to finish off.

@hadley hadley added documentation tidy-dev-day 🤓 labels Jan 18, 2020
hadley pushed a commit that referenced this issue Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation tidy-dev-day 🤓
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant