79097425

Date: 2024-10-17 09:35:56
Score: 1
Natty:
Report link
df_want <- df_current %>%
           mutate(FirstName = stringr::str_split(data_current, "-") %>% map_chr(., 1)) %>%
           mutate(LastName = stringr::str_split(data_current, "-") %>% map_chr(., 2)) %>%
           mutate(nino = stringr::str_split(data_current, "-") %>% map_chr(., 3))

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: fe108