# Reading and analyzing csv data

**URL:** <https://discourse.nodered.org/t/reading-and-analyzing-csv-data/61629>\
**Category:** General\
**Created:** [22 April 2022 08:29 UTC](https://discourse.nodered.org/t/reading-and-analyzing-csv-data/61629 "2022-04-22T08:29:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soniay](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@Soniay](https://discourse.nodered.org/u/Soniay)\
**Post date:** [22 April 2022 08:29 UTC](https://discourse.nodered.org/t/reading-and-analyzing-csv-data/61629/1 "2022-04-22T08:29:11Z")

</div>

Hello. I'm super new to NodeRed and I would really appreciate some guidance and help regarding the following:

I have a csv file with 8 columns (the first being the number of the row and the other seven are fields 1 to 7). I would like to read only fields 1, 2 and 5.

Thank you a lot for any suggestion.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [22 April 2022 09:11 UTC](https://discourse.nodered.org/t/reading-and-analyzing-csv-data/61629/2 "2022-04-22T09:11:58Z")

</div>

As per the info panel you can define a list of column names to set the property names of the incoming data - so you could set something like index,col2,,,col5 and it would only define those in the object it creates.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [21 June 2022 09:12 UTC](https://discourse.nodered.org/t/reading-and-analyzing-csv-data/61629/3 "2022-06-21T09:12:51Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
