Skip to content

Commit

Permalink
Drop levels
Browse files Browse the repository at this point in the history
  • Loading branch information
j-hagedorn committed Sep 29, 2017
1 parent 566e05d commit a2efbac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prep/scrub.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ scrub_sis <-
sub_sis %>%
mutate(mcaid_id = as.character(mcaid_id)) %>%
left_join(sis_key, by = "mcaid_id") %>%
select(-sis_id, -mcaid_id, -age, -gender, -race, -ethnic,-address)
select(-sis_id, -mcaid_id, -age, -gender, -race, -ethnic,-address) %>%
droplevels()

# Write SIS Key and Scrubbed data to local workspace
write.csv(sis_key,"data/sis_key.csv", row.names = F)
Expand Down

0 comments on commit a2efbac

Please sign in to comment.