Skip to content

Instantly share code, notes, and snippets.

@dgkeyes
Last active March 17, 2021 03:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgkeyes/2588fc7612fef242a4c5a2a7998d29dd to your computer and use it in GitHub Desktop.
Save dgkeyes/2588fc7612fef242a4c5a2a7998d29dd to your computer and use it in GitHub Desktop.
enrollment_by_race_ethnicity_18_19 <- enrollment_18_19 %>%
select(-contains("grade")) %>%
select(-contains("kindergarten")) %>%
select(-contains("percent")) %>%
pivot_longer(cols = -district_id,
names_to = "race_ethnicity",
values_to = "number_of_students")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment