Selecting Columns with Helper Functions and RegEx #shorts [Julia & R programming]
Alex Tantos
Following the R-Ladies tutorial, to extract those columns whose names end with "e" or start with "desc" you have the corresponding functions, while checking whether there are columns that include an underscore in their name, you can use the contains() function. Julia apart from its own startswith() and endswith() functions allows the direct use of regular expressions for doing these string-related column selections within the select() function.
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=mesFqSQGV4o
4036169 Bytes