Sample data: fix sample.data() function links (#3162)

The sample data page refers to the sample.data() function in each
dataset section of the page, whilst linking to the function documentation.
The link results in a page does not exist error in the live documentation.
Correct the link to point to the correct page.

Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com>
pull/3166/head
Stephen Lawrence 2021-09-22 20:27:50 +01:00 committed by GitHub
parent e5b4c899d7
commit 7ae2c8630e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ Air sensor sample data represents an "Internet of Things" (IoT) use case by simu
temperature, humidity, and carbon monoxide levels for multiple rooms in a building.
To download and output the air sensor sample dataset, use the
[`sample.data()` function](/{{< latest "flux" >}}/stdlib/universe/influxdata/influxdb/sample/data/).
[`sample.data()` function](/{{< latest "flux" >}}/stdlib/influxdata/influxdb/sample/data/).
```js
import "influxdata/influxdb/sample"
@ -60,7 +60,7 @@ Bird migration sample data is adapted from the
and represents animal migratory movements throughout 2019.
To download and output the bird migration sample dataset, use the
[`sample.data()` function](/{{< latest "flux" >}}/stdlib/universe/influxdata/influxdb/sample/data/).
[`sample.data()` function](/{{< latest "flux" >}}/stdlib/influxdata/influxdb/sample/data/).
```js
import "influxdata/influxdb/sample"
@ -90,7 +90,7 @@ observations from the NOAA NDBC network of buoys throughout the world.
Observations are updated approximately every 15 minutes.
To download and output the most recent NOAA NDBC observations, use the
[`sample.data()` function](/{{< latest "flux" >}}/stdlib/universe/influxdata/influxdb/sample/data/).
[`sample.data()` function](/{{< latest "flux" >}}/stdlib/influxdata/influxdb/sample/data/).
```js
import "influxdata/influxdb/sample"
@ -152,7 +152,7 @@ collected from USGS seismic sensors around the world over the last week.
Data is updated approximately every 15m.
To download and output the last week of USGS seismic data, use the
[`sample.data()` function](/{{< latest "flux" >}}/stdlib/universe/influxdata/influxdb/sample/data/).
[`sample.data()` function](/{{< latest "flux" >}}/stdlib/influxdata/influxdb/sample/data/).
```js
import "influxdata/influxdb/sample"