fwf-to-csv
v1.0.1
Published
read fixed-width-formatted txt file and convert it into csv file
Downloads
2
Maintainers
Readme
fwf_csv
convert fixed-width-formatted txt to csv
this pakage export function which takes 3 arguments 1)input fwf filepath 2)outut file path with name and csv extension 3)ranges of headers in txt file(in array)
example
fix-weidth- column ranges RANGES=[[0,25],[30,40],[60,100]] 0-25 = first column character range 30-40 = second column character range 60-100 = third column character range
fwf_csv('./abc.txt','./out.csv',RANGES)