Documentation ¶
Index ¶
Constants ¶
View Source
const HackedDataSetName = "UR"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateRecipe ¶
type CreateRecipe struct { ONSDataSetID string Dimensions []string Host string ExtAPIHost string ValidIDs []string UUID string }
func New ¶
func New(id, host, extAPIHost string) *CreateRecipe
func (*CreateRecipe) CheckID ¶
func (cr *CreateRecipe) CheckID() bool
func (*CreateRecipe) GetCodeLists ¶
func (cr *CreateRecipe) GetCodeLists() (cls CodeLists)
func (*CreateRecipe) GetMetaData ¶
func (cr *CreateRecipe) GetMetaData() (TableFrag, error)
func (*CreateRecipe) OKDimsInDS ¶
func (cr *CreateRecipe) OKDimsInDS() bool
type OutputInstance ¶
type OutputInstances ¶
type OutputInstances []OutputInstance
type Recipe ¶
type Recipe struct { Alias string `json:"alias"` CantabularBlob string `json:"cantabular_blob"` Format string `json:"format"` ID string `json:"id"` OutputInstances `json:"output_instances"` }
type TableFrag ¶
type TableFrag struct { TableQueryResult struct { Service struct { Tables []struct { Name string `json:"name"` DatasetName string `json:"dataset_name"` Label string `json:"label"` Vars []string `json:"vars"` Meta struct { AlternateGeographicVariables []string `json:"alternate_geographic_variables"` } `json:"meta"` } `json:"tables"` } `json:"service"` } `json:"table_query_result"` }
enough of the table response we use
Click to show internal directories.
Click to hide internal directories.