# A node to read lines from a csv list

**URL:** <https://discourse.nodered.org/t/a-node-to-read-lines-from-a-csv-list/65995>\
**Category:** General\
**Created:** [4 August 2022 04:51 UTC](https://discourse.nodered.org/t/a-node-to-read-lines-from-a-csv-list/65995 "2022-08-04T04:51:35Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![loyaltolex](https://avatars.discourse-cdn.com/v4/letter/l/a587f6/32.png) [@loyaltolex](https://discourse.nodered.org/u/loyaltolex)\
**Post date:** [4 August 2022 04:51 UTC](https://discourse.nodered.org/t/a-node-to-read-lines-from-a-csv-list/65995/1 "2022-08-04T04:51:35Z")

</div>

I have a simple list of tide times like this on the local storage  
hl number AEST date & time height  
0 60050 1/01/2022 6:59 1.76  
1 60050 1/01/2022 13:25 0.19  
0 60050 1/01/2022 19:04 1.16  
1 60050 2/01/2022 0:49 0.03  
0 60050 2/01/2022 7:50 1.86

Can someone suggest a node to read in the data, I want to load todays tide time and simply display it on the dashboard

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [4 August 2022 05:34 UTC](https://discourse.nodered.org/t/a-node-to-read-lines-from-a-csv-list/65995/2 "2022-08-04T05:34:52Z")

</div>

You can run the data through a csv node, use "space" as separator, this will create an array of objects or separate objects.  
How you want to proceed from there depends on how you want to display it.

---

<div class="post-metadata">

**Author:** ![loyaltolex](https://avatars.discourse-cdn.com/v4/letter/l/a587f6/32.png) [@loyaltolex](https://discourse.nodered.org/u/loyaltolex)\
**Post date:** [4 August 2022 05:37 UTC](https://discourse.nodered.org/t/a-node-to-read-lines-from-a-csv-list/65995/3 "2022-08-04T05:37:18Z")

</div>

Thanks  
So many nodes - so little time 🙂

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [4 August 2022 05:38 UTC](https://discourse.nodered.org/t/a-node-to-read-lines-from-a-csv-list/65995/4 "2022-08-04T05:38:26Z")

</div>

note that the csv node is already part of the core nodes.

---

<div class="post-metadata">

**Author:** ![loyaltolex](https://avatars.discourse-cdn.com/v4/letter/l/a587f6/32.png) [@loyaltolex](https://discourse.nodered.org/u/loyaltolex)\
**Post date:** [4 August 2022 05:44 UTC](https://discourse.nodered.org/t/a-node-to-read-lines-from-a-csv-list/65995/5 "2022-08-04T05:44:14Z")

</div>

Found it and that will process the rows for me. Thanks.  
But I cant see where to tell it to get / open the data from. I was planning on saving the file on the local storage somewhere and think I need a node to open my file and feed the data to this csv node

---

<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:** [4 August 2022 07:05 UTC](https://discourse.nodered.org/t/a-node-to-read-lines-from-a-csv-list/65995/6 "2022-08-04T07:05:58Z")

</div>

Maybe a file read node to read the file ? And maybe an inject node to start it all off ?

---

<div class="post-metadata">

**Author:** ![loyaltolex](https://avatars.discourse-cdn.com/v4/letter/l/a587f6/32.png) [@loyaltolex](https://discourse.nodered.org/u/loyaltolex)\
**Post date:** [4 August 2022 11:05 UTC](https://discourse.nodered.org/t/a-node-to-read-lines-from-a-csv-list/65995/7 "2022-08-04T11:05:05Z")

</div>

Easy, thanks for the suggestions. Now the challenge is can I mark both suggestions as solution

---

<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:** [3 October 2022 11:05 UTC](https://discourse.nodered.org/t/a-node-to-read-lines-from-a-csv-list/65995/8 "2022-10-03T11:05:28Z")

</div>

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