2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Node-RED - CSVファイルを読み込む

Last updated at Posted at 2017-08-29

Node-REDでCSVファイルを読み込む方法です。

#1. csv−to−jsonノードを追加します

#2. 下記のフローでCSVファイルを読み込みます

[{"id":"b4537ba5.4f1cb","type":"csv to json ext","z":"21ecb3a8.211334","name":"","version":"0.1","source":"filename","delimiter":",","quote":"\"","escape":"\"","ignoreEmpty":false,"checkType":false,"trim":false,"noheader":false,"includeColumns":"","headers":"","debug":false,"x":430,"y":180,"wires":[["8fc381a8.d96db"]]},{"id":"f1cbf651.2bb4b8","type":"inject","z":"21ecb3a8.211334","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":120,"y":180,"wires":[["c6dc854f.84919"]]},{"id":"c6dc854f.84919","type":"template","z":"21ecb3a8.211334","name":"","field":"filename","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"test.csv","output":"str","x":270,"y":180,"wires":[["b4537ba5.4f1cb"]]},{"id":"8fc381a8.d96db","type":"debug","z":"21ecb3a8.211334","name":"","active":true,"console":"false","complete":"false","x":610,"y":180,"wires":[]}]

スクリーンショット 2017-08-30 8.04.54.png
2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?