csv.from() function is experimental and subject to change at any time.
By using this function, you accept the risks of experimental functions.
csv.from() function retrieves annotated CSV from a URL.
csv.from() function is an alternative to the standard
Function type: Input
import "experimental/csv" csv.from(url: "http://localhost:9999/")
The URL to retrieve annotated CSV from.
Data type: String
Query annotated CSV data from a remote URL
import "experimental/csv" csv.from(url: "http://example.com/csv/example.csv") |> filter(fn: (r) => r._measurement == "example-measurement")
package csv import c "csv" import "experimental/http" from = (url) => c.from(csv: string(v: http.get(url: url).body))
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support or submit feedback, the following resources are available:
- Post in the InfluxData Community.
- Submit documentation issues to the InfluxDB 2.0 documentation repository.
- Submit InfluxDB issues to the InfluxDB repository.
For our InfluxDB Cloud customers, InfluxData Support is also available.