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

coding attempt #17

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

coding attempt #17

wants to merge 1 commit into from

Conversation

oghamedi
Copy link

My incomplete script -- need to finish this

```{r}
kenya_data <- read_csv("data/kenya_county_climates.csv")
```

Choose a reason for hiding this comment

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

Good job, creating a dataframe for the assignment


```{r}
precip_kenya <- select (kenya_data, County, contains ("Precipitation"))

Choose a reason for hiding this comment

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

Using contains is a good choice of selecting all precip columns!

kenya_long <- filt_kenya %>%
pivot_longer(cols = -County)
```

Choose a reason for hiding this comment

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

Good workflow

There are many ways to do this!

```{r}

Choose a reason for hiding this comment

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

I did not get to to this part of the exercise as well, I am looking forward to attempting to solve it! good luck.

Copy link

@jedaruba jedaruba left a comment

Choose a reason for hiding this comment

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

Keep up the good work!

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