8 - Reordering columns of a specific type with Julia and R #shorts
Alex Tantos
#shorts To reorder groups of columns that belong to a single type, R-Ladies used relocate() along with the helper function where(). The names() function in Julia accepts an extra argument to subset the column names that belong to a specific type. If you embed names() within the Cols() column selector, then you simply get the desired column order.
Link to the ikea dataset: https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2020/2020-11-03/ikea.csv
Ladies Freiburg (Kyla McConnell and Julia Müller) - Tidy Data: Zero to sHero {Part 2}: https://www.youtube.com/watch?v=ivSgLWKhNrw
R-Ladies material on github: https://github.com/rladies/meetup-presentations_freiburg/tree/master/2021-02-17_tidydata_ZerotoShero ... https://www.youtube.com/watch?v=3FVJziRY6V0
3098665 Bytes