I have a data set which has an offense column which has the offense description and its associated offense code. The offense code is sometimes entirely in numeric and sometimes a combination of numeric and character.
How can I split this column into two different columns one for the offense code and one for offense description using tidyr in R?
Example data column:
Crime
123 Crime Description A
345 Crime Description B
678 Crime Description C
91011 Crime Description D
678(a)(1) Crime Description E
345(a)(32)(i) Crime Description F
143(a)(16) Crime Description G
678.08(a) Crime Description H
976.D1 Crime Description I