Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dataset ¶
type Dataset struct { Title string `json:"title"` Downloads []Download `json:"downloads"` URI string `json:"uri"` HasVersions bool `json:"has_versions"` SupplementaryFiles []SupplementaryFile `json:"supplementary_files"` VersionLabel string `json:"version_label"` IsLast bool `json:"is_last"` }
Dataset has the file and title information for an individual dataset
type DatasetLandingPage ¶
type DatasetLandingPage struct { DatasetID string `json:"dataset_id"` FilterID string `json:"filter_id"` Related Related `json:"related"` Datasets []Dataset `json:"datasets"` Notes string `json:"markdown"` MetaDescription string `json:"meta_description"` IsNationalStatistic bool `json:"national_statistic"` ReleaseDate string `json:"release_date"` NextRelease string `json:"next_release"` IsTimeseries bool `json:"is_timeseries"` Corrections []Message `json:"corrections"` Notices []Message `json:"notices"` ParentPath string `json:"parent_path"` }
DatasetLandingPage represents a frontend dataset landing page
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 Page ¶
type Page struct { model.Page DatasetLandingPage DatasetLandingPage `json:"data"` FilterID string `json:"filter_id"` model.ContactDetails }
Page contains data re-used for each page type a Data struct for data specific to the page type
type Related ¶
type Related struct { Publications []model.Related `json:"related_publications"` FilterableDatasets []model.Related `json:"related_filterable_datasets"` Datasets []model.Related `json:"related_datasets"` Methodology []model.Related `json:"related_methodology"` Links []model.Related `json:"related_links"` }
Related content (split by type) to this page
Click to show internal directories.
Click to hide internal directories.