Created
October 25, 2020 15:47
-
-
Save kleinlennart/f3fc8b57f463baa61ddc69b5a56bd950 to your computer and use it in GitHub Desktop.
Unlist a column rowwise
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dat <- dat %>% | |
rowwise() %>% | |
mutate(bundesland = unlist(bundesland), | |
community = unlist(community), | |
fach = unlist(fach)) %>% | |
ungroup() # important to remove rowwise_df class! (slows down all other operations) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment