azoner/pyx12

can it convert to a tabular data format excel or tab delimited file ?

arjuniyer1978 opened this issue · 1 comments

I tried my best before posting here, apologies if its redundant.

I am looking to see if i pass a file that is in ANSI5010 format like the one in your examples folder for ANSI5010, can it read and convert the data to a tabular format... like a column for each value from INS to the last loop 2300/2400 as the case maybe and report a person's data from multiple rows onto 1 row in the tabular format?

For Example -
INSY18030XNAC FT~
REF0F00389999~
REF1L000003409999~
REF3HK129999A~
DTP356D820150301~
NM1
IL1DOEJOHNA
34999999999~
N3
777 ELM ST~
N4ALLEGANMI*49010
CY03~
DMG
D819670330M
O~
LUI
ESSPANISH~

should become something like below...
INS01 INS02 INS03..........REF01 REF02....
Y 18 030 ........... 0F 000389999....