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

Typo on slide 65 of lecture #211

Open
ehumph opened this issue Oct 4, 2024 · 0 comments · May be fixed by #265
Open

Typo on slide 65 of lecture #211

ehumph opened this issue Oct 4, 2024 · 0 comments · May be fixed by #265

Comments

@ehumph
Copy link
Contributor

ehumph commented Oct 4, 2024

Carat is missing from in front the capital B (in the first line of case_when statement)

plastics %>% mutate(microplastic_recoded = case_when( str_detect(string = microplastic, pattern = "^b|B") ~ "BPA", str_detect(string = microplastic, pattern = "^o|^O") ~ "Other", str_detect(string = microplastic, pattern = "^d|^D") ~ "Dioxin", TRUE ~ microplastic)) %>% count(microplastic, microplastic_recoded)

@ehumph ehumph changed the title Typo on slide 65 Typo on slide 65 of lecture Oct 4, 2024
@ehumph ehumph linked a pull request Jan 8, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant