I am new to R and trying to mutate the following character variable "Tax.Rate..." into four different columns (i.e., CGST, SGST, UTGST, and IGST) with tax rates applicable to that head under that column. Example of dataset shown below:
df # A tibble: 3 x 1 Tax.Rate....
1 "CGST 2.5% + SGST 2.5%" 2 "CGST 6% + UTGST 6%"
3 "IGST 12% "
I have tried using 'separate' and 'mutate' functions with little success
Any guidance would be appreciated