Skip to content

cityofasheville/parse-fixed-width

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Parse Fixed Width

Some of the files we send to vendors are fixed width files. This is a script to parse them back to csv so they can be imported into spreadsheets.

To set up a new one, you need the column widths in the variable:

let widths = [6,7]

And column headers:

fileOut.write("carrierId,clientID"]

And which column indexes are dates:

let dates = [8,9,14,15];

About

Script to convert fixed width files to csv

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published