Question

Reading Multiple text files

  • 10 January 2018
  • 3 replies
  • 3 views

I have an attribute called text_lined_data that contains 6 data columns. How do i extract that information into 6 columns and line one as header?


3 replies

Userlevel 4
Badge +30

Hi @mortenag,

Could you share this sample data?

Thanks,

Danilo

Userlevel 4
Badge +30
Are you reading a CSV file?

 

 

Badge +22

Instead of using a text reader, try using a CSV reader with the separator character set to ;.

If that's not possible, and the header is always consistent, you can skip the first feature, and use an attributeSplitter on the text_line_data, (;) and then manually rename the resultant list to the correct attribute names.

Reply