Searching in the array

Hello everyone,

I've tried many times, without success to find out France with the corresponding values in this chart.

Thank you very much for helping.

[{"id":"4e2a76f3.bed048","type":"tab","label":"Flow 12","disabled":false,"info":""},{"id":"5cf186c6.f3af98","type":"inject","z":"4e2a76f3.bed048","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":100,"y":40,"wires":[["d2d03780.44cd58"]]},{"id":"d2d03780.44cd58","type":"http request","z":"4e2a76f3.bed048","name":"1","method":"GET","ret":"txt","paytoqs":false,"url":"https://www.data.gouv.fr/fr/datasets/r/a7596877-d7c3-4da6-99c1-2f52d418e881","tls":"","persist":false,"proxy":"","authType":"","x":250,"y":40,"wires":[["ab82f64b.9a7d58"]]},{"id":"ab82f64b.9a7d58","type":"json","z":"4e2a76f3.bed048","name":"","property":"payload","action":"","pretty":false,"x":390,"y":40,"wires":[["d3137f54.aff0b"]]},{"id":"d3137f54.aff0b","type":"change","z":"4e2a76f3.bed048","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.PaysData","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":540,"y":40,"wires":[["7064af7f.676ab"]]},{"id":"7064af7f.676ab","type":"debug","z":"4e2a76f3.bed048","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":710,"y":40,"wires":[]}]

Try changing your change node:

*.PaysData[Pays="France"]

2 Likes

That's perfect thanks! Exactly what I needed. You guys are amazing.

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