I have a very big data of email id like below
Email abc@LIVE.com firstname.lastname@example.org bhjus@Hotmail.com email@example.com
now i am trying to create a summary of domain counts, i am trying like below but its very time taking , i am getting count of two domain count for lower case and upper case
domain_ct <- df %>% select(Email) %>% filter(!is.na(Email)) %>% tolower(Email) domain_ct <- as.data.frame(table(sub(".*@", "",domain_ct$Email )))
Error in tolower(., Email) : unused argument (Email)
do we have any other solution for this.....