Skip to content

Expand section on filter #10

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

Open
jayware9 opened this issue Nov 14, 2022 · 0 comments
Open

Expand section on filter #10

jayware9 opened this issue Nov 14, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@jayware9
Copy link
Contributor

https://github.com/DataScienceScotland/intro_to_r/blob/8a8e5bd0dbf7db188065fcceb5e45110567f5ffa/session1/intro_to_r_training.Rmd#L771

& and == is used without explanation, and the example is combining two verbs (summarise and filter) which may be confusing

I'm not sure that we can assume knowledge of logical operators (particularly as the syntax isn't the same as SAS), so we might be worth expanding on this of showing filter using AND, OR, and NOT. Also spending a bit more time here hopefully would reinforce the idea that tidyverse is about taking a dataset, doing something to it and getting a new dataset out.

Might be worth adding in some exercises for using filter as well.

@jayware9 jayware9 added the enhancement New feature or request label May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant