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

help me please #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

help me please #15

wants to merge 1 commit into from

Conversation

madbai
Copy link

@madbai madbai commented Oct 20, 2023

I know not how to map() my plot. The challenge killed me ⎧ᴿᴵᴾ⎫◟◟◟◟◟◟ ❀◟(ó ̯ ò, )
Please review my coding exercise m(._.)m

@madbai madbai requested a review from a-shelhon October 20, 2023 15:33
ggplot() +
geom_col(aes(x = name, y = value, fill = name))

```

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work. I didn't even complete this.

kenya_update <- kenya_county_climates %>%
select(County, contains("Precipitation")) %>%
filter(Precipitation_585_90 > mean(Precipitation_585_90)) %>%
pivot_longer(!County)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"!" for exclude, great shortcut!

geom_col(aes(x = name, y = value, fill = name)) +
facet_wrap(~County)
```

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work; I didn't get through this part. 1,000 points.

map(filter(County)) %>%
ggplot() +
geom_col(aes(x = name, y = value, fill = name))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your way seems more straight forward to me than the key. Extra 1,000 points assigned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants