Skip to content

Instantly share code, notes, and snippets.

@schluppeck
Created September 26, 2024 09:37
Show Gist options
  • Save schluppeck/6ee2219fc80f6cd5cc612d247dc1e696 to your computer and use it in GitHub Desktop.
Save schluppeck/6ee2219fc80f6cd5cc612d247dc1e696 to your computer and use it in GitHub Desktop.
assorted data munging tricks

Some assorted one-liners in #rstats, #zsh, etc

work in progress.

  1. Copy / paste data from #rstats
# assuming a table of eg student data in a dataframe D

library(clipr)
D$university_email %>% 
  write_clip(breaks=",")

# copies list of email addresses into comma separated list 
# useful for adding to Teams
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment