datasetLandingPageFilterable

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: MIT Imports: 2 Imported by: 2

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"`
}

type DatasetLandingPage

type DatasetLandingPage struct {
	datasetLandingPageStatic.DatasetLandingPage
	Dimensions               []Dimension   `json:"dimensions"`
	Version                  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"`
	DatasetTitle             string        `json:"dataset_title"`
	UnitOfMeasurement        string        `json:"unit_of_measurement"`
	Methodologies            []Methodology `json:"methodology"`
	NomisReferenceURL        string        `json:"nomis_reference_url,omitempty"`
	UsageNotes               []UsageNote   `json:"UsageNotes"`
}

type Dimension

type Dimension struct {
	Title       string   `json:"title"`
	Values      []string `json:"values"`
	OptionsURL  string   `json:"options_url"`
	TotalItems  int      `json:"total_items"`
	Description string   `json:"description"`
}

type Download

type Download struct {
	Extension string `json:"extension"`
	Size      string `json:"size"`
	URI       string `json:"uri"`
}

Download has the details for the an individual dataset's downloadable files

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     model.ContactDetails `json:"contact_details"`
}

type Publication

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

type Publisher

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

type UsageNote added in v1.10.2

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

type Version

type Version struct {
	Title       string               `json:"title"`
	Description string               `json:"description"`
	URL         string               `json:"url"`
	ReleaseDate string               `json:"release_date"`
	NextRelease string               `json:"next_release"`
	Downloads   []Download           `json:"downloads"`
	Edition     string               `json:"edition"`
	Version     string               `json:"version"`
	Contact     model.ContactDetails `json:"contact"`
}

Jump to

Keyboard shortcuts

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