STAT545-UBC-hw-2019-20 / stat545-hw-belalanik

stat545-hw-belalanik created by GitHub Classroom
0 stars 0 forks source link

TA feedback for hw04 #9

Open wvictor14 opened 4 years ago

wvictor14 commented 4 years ago

Hi Belal,

Great work overall, here is some feedback:

email.new <- email %>% 
  separate_rows(guest, sep = ", ") %>% 
  rename(name = guest)

  guest.new <- guest %>% 
  left_join(email.new, by = "name") 
  DT::datatable(guest.new)
email.new <- email %>% 
  separate_rows(guest, sep = ", ") %>% 
  rename(name = guest)

guest.new <- guest %>% 
  left_join(email.new, by = "name") 

DT::datatable(guest.new)

This is just a best practices thing that helps more than you might think, especially when your scripts become much longer. I just wanted to comment on this since I saw that you are using tabs a lot in your homework.

Cheers, Victor