# Read some values

**URL:** <https://discourse.nodered.org/t/read-some-values/40804>\
**Category:** General\
**Created:** [11 February 2021 07:56 UTC](https://discourse.nodered.org/t/read-some-values/40804 "2021-02-11T07:56:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![micke0079](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/micke0079/32/31494_2.png) [@micke0079](https://discourse.nodered.org/u/micke0079)\
**Post date:** [11 February 2021 07:56 UTC](https://discourse.nodered.org/t/read-some-values/40804/1 "2021-02-11T07:56:34Z")

</div>

bonjour les gars

je n'arrive pas a récupérer uniquement les valeurs "fr"  
comment faire ?

```auto
[{"id":"4515adda.763934","type":"inject","z":"6323ae0a.473e4","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":180,"y":100,"wires":[["19c44480.cae4fc"]]},{"id":"19c44480.cae4fc","type":"http request","z":"6323ae0a.473e4","name":"","method":"GET","ret":"txt","paytoqs":false,"url":"https://www.coronavirus-statistiques.com/corostats/openstats/open_stats_coronavirus.json","tls":"","persist":false,"proxy":"","authType":"","x":330,"y":100,"wires":[["655883d2.2a206c"]]},{"id":"9f1931a2.dcbde","type":"debug","z":"6323ae0a.473e4","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":650,"y":100,"wires":[]},{"id":"655883d2.2a206c","type":"json","z":"6323ae0a.473e4","name":"","property":"payload","action":"","pretty":false,"x":490,"y":100,"wires":[["9f1931a2.dcbde"]]}]

```

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [11 February 2021 09:03 UTC](https://discourse.nodered.org/t/read-some-values/40804/2 "2021-02-11T09:03:25Z")

</div>

With my poor french, if you require just the french stats  
try

```auto
[{"id":"9711e7c6.f46c1","type":"change","z":"8d8a515a.78af18","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload[*][nom=\"france\"]","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":560,"y":1720,"wires":[["9f1931a2.dcbde"]]},{"id":"19c44480.cae4fc","type":"http request","z":"8d8a515a.78af18","name":"","method":"GET","ret":"obj","paytoqs":"ignore","url":"https://www.coronavirus-statistiques.com/corostats/openstats/open_stats_coronavirus.json","tls":"","persist":false,"proxy":"","authType":"","x":320,"y":1720,"wires":[["9711e7c6.f46c1"]]},{"id":"9f1931a2.dcbde","type":"debug","z":"8d8a515a.78af18","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":790,"y":1720,"wires":[]},{"id":"4515adda.763934","type":"inject","z":"8d8a515a.78af18","name":"","repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":170,"y":1720,"wires":[["19c44480.cae4fc"]]}]

```

---

<div class="post-metadata">

**Author:** ![micke0079](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/micke0079/32/31494_2.png) [@micke0079](https://discourse.nodered.org/u/micke0079)\
**Post date:** [11 February 2021 09:29 UTC](https://discourse.nodered.org/t/read-some-values/40804/4 "2021-02-11T09:29:55Z")

</div>

thank you so much

---

<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:** [25 February 2021 09:30 UTC](https://discourse.nodered.org/t/read-some-values/40804/5 "2021-02-25T09:30:41Z")

</div>

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