Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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"`
OSRLogo osrlogo.OSRLogo `json:"osr_logo"`
}
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 ¶
Publication represents the data for a single publication
Click to show internal directories.
Click to hide internal directories.