Skip to content

Document which functions work with grouped data #952

@gregorp

Description

@gregorp

On the ?fill help page, there is no statement that fill knows to respect groups from dplyr::group_by. (The last example does demonstrate this.) Same on the ?expand and ?complete help pages, possibly other functions too. It would be great if there was a standard sentence or phrase that was part of the Description section for all non-dplyr functions that know what to do with a grouped_df. Perhaps "Respects tibble groupings".

I think this would both serve as a good reference (I constructed a little example before posting thing to check on expand... I was pretty sure it respected groups but needed to check to see), and also for those new users who read help pages it might help cement the concept that group_by isn't magic that works with every function, only specially constructed functions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions