Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatasetPage ¶
type DatasetPage struct {
Versions []Version `json:"versions"`
SupplementaryFiles []SupplementaryFile `json:"supplementary_files"`
Downloads []Download `json:"downloads"`
IsNationalStatistic bool `json:"national_statistic"`
ReleaseDate string `json:"release_date"`
NextRelease string `json:"next_release"`
DatasetID string `json:"dataset_id"`
URI string `json:"uri"`
Edition string `json:"edition"`
Markdown string `json:"markdown"`
ParentPath string `json:"parent_path"`
FeedbackAPIURL string `json:"feedback_api_url"`
}
DatasetPage has the file and title information for an individual dataset
type Download ¶
type Download struct {
Extension string `json:"extension"`
Size string `json:"size"`
URI string `json:"uri"`
File string `json:"file"`
DownloadURL string `json:"download_url,omitempty"`
}
Download has the details for an individual dataset's downloadable files
type Page ¶
type Page struct {
model.Page
DatasetPage DatasetPage `json:"data"`
contact.Details
}
Page contains data re-used for each page type a Data struct for data specific to the page type
type SupplementaryFile ¶
type SupplementaryFile struct {
Title string `json:"title"`
Extension string `json:"extension"`
Size string `json:"size"`
URI string `json:"uri"`
DownloadURL string `json:"download_url,omitempty"`
}
SupplementaryFile is a downloadable file that is associated to an individual dataset
Click to show internal directories.
Click to hide internal directories.