filterable

package
v1.92.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2026 License: MIT Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alert added in v1.84.0

type Alert struct {
	Date        string `json:"date,omitempty"`
	Description string `json:"description,omitempty"`
	Type        string `json:"type,omitempty"`
}

Alert represents data for a single alert

type AlertType added in v1.84.0

type AlertType string

AlertType defines possible types of alerts

const (
	AlertTypeAlert      AlertType = "alert"
	AlertTypeCorrection AlertType = "correction"
)

Define the possible values for the AlertType enum

type Change

type Change struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

Change represents the data for a single change

type DatasetLandingPage

type DatasetLandingPage struct {
	staticlegacy.DatasetLandingPage
	Dimensions               []sharedModel.Dimension `json:"dimensions"`
	Version                  sharedModel.Version     `json:"version"`
	HasOlderVersions         bool                    `json:"has_older_versions"`
	ShowEditionName          bool                    `json:"show_edition_name"`
	Edition                  string                  `json:"edition"`
	ReleaseFrequency         string                  `json:"release_frequency"`
	IsLatest                 bool                    `json:"is_latest"`
	LatestVersionURL         string                  `json:"latest_version_url"`
	IsLatestVersionOfEdition bool                    `json:"is_latest_version_of_edition_url"`
	QMIURL                   string                  `json:"qmi_url"`
	IsNationalStatistic      bool                    `json:"is_national_statistic"`
	Publications             []Publication           `json:"publications"`
	RelatedLinks             []Publication           `json:"related_links"`
	LatestChanges            []Change                `json:"latest_changes"`
	Citation                 string                  `json:"citation"`
	UnitOfMeasurement        string                  `json:"unit_of_measurement"`
	Methodologies            []Methodology           `json:"methodology"`
	NomisReferenceURL        string                  `json:"nomis_reference_url,omitempty"`
	UsageNotes               []UsageNote             `json:"UsageNotes"`
	Alerts                   []Alert                 `json:"alerts"`
}

DatasetLandingPage represents the data on the dataset landing page

type Methodology

type Methodology struct {
	Description string `json:"description"`
	URL         string `json:"href"`
	Title       string `json:"title"`
}

Methodology links

type Page

type Page struct {
	model.Page
	DatasetLandingPage DatasetLandingPage `json:"data"`
	ContactDetails     contact.Details    `json:"contact_details"`
}

Page contains data re-used for each page type a Data struct for data specific to the page type

type Publication

type Publication struct {
	Title string `json:"title"`
	URL   string `json:"url"`
}

Publication represents the data for a single publication

type Publisher

type Publisher struct {
	Name string `json:"name"`
	Type string `json:"type"`
	URL  string `json:"url"`
}

Publisher represents the data for a single publisher

type UsageNote

type UsageNote struct {
	Note  string `json:"note,omitempty"`
	Title string `json:"title,omitempty"`
}

UsageNote represents data for a single usage note

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL