Ask HN: Massaging many client CSV/textfile to correct columns/format etc.?
4 points| ryncewynd | 2 years ago
For a single client, each file they send will be the same.
But each client has their own layout.
Is there a good service around that I can setup conversion templates?
Would be great if we can setup a template for each client and the file gets run through the template and arrives happily in our standardised layout.
I haven't managed to find one but no doubt I'm just using the wrong search terms
bhavikchavda|2 years ago
You can check out https://impler.io/ it covers many of the features you mention and you can extend its functionality as well like converting first/last to fullname. Your problems related to edge cases, configuration, and support will be resolved automatically with it.
It's open source at https://github.com/implerhq/impler.io/
I'm a co-founder of it and if you create a feature request for something you want, I will happily cover it.
ryncewynd|2 years ago
I'll try it out and do a demo with our administration team (who are the ones struggling with the files)
ssss11|2 years ago
Or using python or your choice of language to read .csv files and modify..
It may be overkill but n8n is a process automation tool (open source, self hosted) - give it input, run an action, get output. I’m sure you could do it in that.
wizzerking|2 years ago
slater|2 years ago
ryncewynd|2 years ago
FirstName|LastName|Age
And client files look like
ClientA: First|Last|Age
ClientB: Age|FirstName|Last
CientC: FullName|Age
ClientD: DateOfBirth|First|Last
So they all have the required info, but some intervention is required.
Column matching/renaming
Column order
Splitting full name to first/last
Converting DateOfBirth to Age