filterable

package
v1.61.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 {
	static.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"`
}

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