P
P
pavel0staratel2015-08-26 15:05:59
Text Processing Automation
pavel0staratel, 2015-08-26 15:05:59

What tool to use to populate a template (text file) with data from a table (csv)?

There is a table like this:

Class, Group, Value
ClassID_1 , GroupID_1 , Val_1
ClassID_1 , GroupID_1 , Val_2
ClassID_1 , GroupID_2 , Val_3
ClassID_2 , GroupID_3 , Val_4
ClassID_2 , GroupID_3 , Val_5
ClassID_3 , GroupID_4 , Val_6
ClassID_3 , GroupID_5 , Val_7
ClassID_3 , GroupID_5 , Val_8

According to a certain template, you need to generate a text file using the data from this table.
The template always takes two ClassIDs as input, for example ClassID_1, ClassID_2
The output should be the following file:
Some static text
ClassID_1 and ClassID_2
Some static text
| class | group | value
| ClassID_1 | GroupID_1 | Val_1
| ClassID_1 | GroupID_1 | Val_2
| ClassID_1 | GroupID_2 | Val_3
| ClassID_2 | GroupID_3 | Val_4
| ClassID_2 | GroupID_3 | Val_5
Some static text
Some static text - ClassID_1
Some static text - GroupID_1
Some static text - GroupID_2
Some static text - ClassID_2
Some static text - GroupID_3

Are there any tools to implement this without programming?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question