Documentation
¶
Overview ¶
Package bathaq is a fetcher implementation that collects air quality data from monitoring stations Bath, UK.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIndexer ¶
NewIndexer instantiates a new Indexer instance. All fetchers must try to load any required config values from namespaced environment variables.
Types ¶
type Station ¶
type Station struct {
Location location `json:"sensor_location"`
Nox string `json:"nox"`
No2 string `json:"no2"`
No string `json:"no"`
Pm10 string `json:"pm10"`
Co string `json:"co"`
LocationName string `json:"sensor_location_name"`
Datetime string `json:"datetime"`
Slug string `json:"sensor_location_slug"`
}
Station struct can parse an individual station data object
Click to show internal directories.
Click to hide internal directories.