A data parsing problem - AWK
Hi,
I am having some problems in parsing the following data. Code:
Tom Code:
"AGE:25 EDINBURGH","AGE:24 AMSTERDAM","AGE:23 BRUSSELS" a) The data blocks can be in any order Code - Code:
function init_array() Kind regards, indiancosmonaut |
Basically you need to read the original as a csv take the string in the 3x th line and concatenate it to the string in the 3x-1 th line and form a new csv with the new 3x-1 th lines. You seem to want col names only with 0 rows (is easy). Takes about 1 or 2 lines in R
or just delete the 3x th lines |
All times are GMT -5. The time now is 12:48 PM. |