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"`
Survey string `json:"survey"`
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"`
OSRLogo osrlogo.OSRLogo `json:"osr_logo"`
FeedbackAPIURL string `json:"feedback_api_url"`
}
DatasetLandingPage represents a frontend dataset landing page
type Download ¶
type Download struct {
Extension string `json:"extension"`
Size string `json:"size"`
URI string `json:"uri"`
DownloadURL string `json:"download_url"`
}
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"`
contact.Details
}
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 []related.Related `json:"related_publications"`
FilterableDatasets []related.Related `json:"related_filterable_datasets"`
Datasets []related.Related `json:"related_datasets"`
Methodology []related.Related `json:"related_methodology"`
Links []related.Related `json:"related_links"`
}
Related content (split by type) to this page
Click to show internal directories.
Click to hide internal directories.