Skip to content

Commit

Permalink
Update flux.md
Browse files Browse the repository at this point in the history
Signed-off-by: Lorenzo Mangani <[email protected]>
  • Loading branch information
lmangani authored Apr 13, 2023
1 parent 2aa4308 commit 6864c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flux.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ import "experimental/csv"
csv.from(url: "https://influx-testdata.s3.amazonaws.com/noaa.csv")
|> filter(fn: (r) => r._measurement == "average_temperature")
|> map(fn: (r) => ({r with celsius: ((r._value - 32.0) * 5.0 / 9.0)} ))
|> map(fn: (r) => ({r with celsius: (( float(v: r._value) - 32.0) * 5.0 / 9.0)} ))
```

<details>
Expand Down

0 comments on commit 6864c26

Please sign in to comment.