Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatasetLandingPage ¶
type DatasetLandingPage struct { HasOtherVersions bool `json:"has_other_versions"` HasDownloads bool `json:"has_downloads"` LatestVersionURL string `json:"latest_version_url"` Dimensions []sharedModel.Dimension `json:"dimensions"` Description []string `json:"description"` IsFlexibleForm bool `json:"is_flexible_form"` DatasetURL string `json:"dataset_url"` Panels []Panel `json:"panels"` QualityStatements []Panel `json:"quality_statements"` RelatedContentItems []RelatedContentItem `json:"related_content_items"` IsMultivariate bool `json:"is_multivariate"` ShowXLSXInfo bool `json:"show_xlsx_info"` }
DatasetLandingPage contains properties related to the census dataset landing page
type Page ¶
type Page struct { model.Page DatasetLandingPage DatasetLandingPage `json:"data"` Version sharedModel.Version `json:"version"` Versions []sharedModel.Version `json:"versions"` ID string `json:"id"` ContactDetails contactDetails.ContactDetails `json:"contact_details"` HasContactDetails bool `json:"has_contact_details"` IsNationalStatistic bool `json:"is_national_statistic"` ShowCensusBranding bool `json:"show_census_branding"` }
Page contains data for the census landing page
type Panel ¶ added in v1.41.0
type Panel struct { DisplayIcon bool `json:"display_icon"` CssClasses []string `json:"css_classes"` Body string `json:"body"` Language string `json:"language"` }
Panel contains the data required to populate a panel UI component
type RelatedContentItem ¶ added in v1.43.0
type RelatedContentItem struct { Title string `json:"title"` Link string `json:"link"` Text string `json:"text"` }
RelatedContentItem contains details for a section of related content
type Share ¶
type Share struct {}
Share includes details for a specific place the dataset can be shared
Included icons: 'facebook', 'twitter', 'email', 'linkedin'
type ShareDetails ¶
type ShareDetails struct {}
ShareDetails contains the locations the page can be shared to, as well as the language attribute for localisation
Click to show internal directories.
Click to hide internal directories.