I have a text file with multiple values, however, there is no delimiter to differentiate this when loaded into R. There is a secondary file that defines each of the columns based on a start and end position.
I tried to go through the solutions that already exist but could not get information on the range based delineation for multiple columns
The data looks like:
Column1
--------------------------------------------------------
00000000000102019000000000000000000049491000000000004CAD
00000000000102019000000000000000000049491000000000005CAP
00000000000102019000000000000000000049491000000000023GSP
00000000000102019000000000000000000049491000000000030MUD
The field range is defined as:
Field Name | Start | End
--------------------------
COL1 | 1 | 2
COL2 | 13 | 17
COL3 | 18 | 12
....
I have about 200,000 rows with having 55 columns each based on the range described above.
I am not sure how input multiple ranges to create a new dataframe with all the 55 columns split based on the start and end values.
Could anyone please assist me with this?