datasetLandingPageFilterable

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: MIT Imports: 3 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 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 {
	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"`
}

DatasetLandingPage represents the data on the dataset landing page

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

Dimension represents the data for a single dimension

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     contactDetails.ContactDetails `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

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     contactDetails.ContactDetails `json:"contact"`
}

Version represents the data for a single version

Jump to

Keyboard shortcuts

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