I have some time series data in certain format and I want to format the data in certain type. Could anyone help me as how to do this.
Here is an example of a small input data that I want to format:
"DBKEY","STATION","AGENCY","COUNTY","TYPE","UNITS","STAT","FQ","START","END","LAT","LONG","SECTION","TOWN","RANGE","ALTERNATE ID"
"081306-2","PT181","01-AUG-1997","0","","12-NOV-2003"
"081306-2","PT181","02-AUG-1997",".83","","12-NOV-2003"
"081306-2","PT181","03-AUG-1997","0","","12-NOV-2003"
"081306-2","PT181","04-AUG-1997","0","","12-NOV-2003"
"081306-2","PT181","05-AUG-1997","0","","12-NOV-2003"
"081306-2","PT181","06-AUG-1997",".25","","12-NOV-2003"
"081306-2","PT181","07-AUG-1997","0","T","12-NOV-2003"
"081306-2","PT181","08-AUG-1997","0","","12-NOV-2003"
"081306-2","PT181","09-AUG-1997",".11","","12-NOV-2003"
My final format should be like this:
081306-2 PT181 01-AUG-1997 0 12-NOV-2003
081306-2 PT181 02-AUG-1997 .83 12-NOV-2003
081306-2 PT181 03-AUG-1997 0 12-NOV-2003
081306-2 PT181 04-AUG-1997 0 12-NOV-2003
081306-2 PT181 05-AUG-1997 0 12-NOV-2003
081306-2 PT181 06-AUG-1997 .25 12-NOV-2003
081306-2 PT181 07-AUG-1997 0T 12-NOV-2003
081306-2 PT181 08-AUG-1997 0 12-NOV-2003
081306-2 PT181 09-AUG-1997 .11 12-NOV-2003
Basically removing everything in the first three lines and getting rid of the "" and , .
Any help is appreciated.
Here is an example of a small input data that I want to format:
"DBKEY","STATION","AGENCY","COUNTY","TYPE","UNITS","STAT","FQ","START","END","LAT","LONG","SECTION","TOWN","RANGE","ALTERNATE ID"
"081306-2","PT181","01-AUG-1997","0","","12-NOV-2003"
"081306-2","PT181","02-AUG-1997",".83","","12-NOV-2003"
"081306-2","PT181","03-AUG-1997","0","","12-NOV-2003"
"081306-2","PT181","04-AUG-1997","0","","12-NOV-2003"
"081306-2","PT181","05-AUG-1997","0","","12-NOV-2003"
"081306-2","PT181","06-AUG-1997",".25","","12-NOV-2003"
"081306-2","PT181","07-AUG-1997","0","T","12-NOV-2003"
"081306-2","PT181","08-AUG-1997","0","","12-NOV-2003"
"081306-2","PT181","09-AUG-1997",".11","","12-NOV-2003"
My final format should be like this:
081306-2 PT181 01-AUG-1997 0 12-NOV-2003
081306-2 PT181 02-AUG-1997 .83 12-NOV-2003
081306-2 PT181 03-AUG-1997 0 12-NOV-2003
081306-2 PT181 04-AUG-1997 0 12-NOV-2003
081306-2 PT181 05-AUG-1997 0 12-NOV-2003
081306-2 PT181 06-AUG-1997 .25 12-NOV-2003
081306-2 PT181 07-AUG-1997 0T 12-NOV-2003
081306-2 PT181 08-AUG-1997 0 12-NOV-2003
081306-2 PT181 09-AUG-1997 .11 12-NOV-2003
Basically removing everything in the first three lines and getting rid of the "" and , .
Any help is appreciated.