Module ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str FunctionDef arguments args NameParam defaults body Return ListLoad Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str decorator_list decorator_list Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str Dict Str Str Str Str ListLoad Dict Str Str Str Str Str Str ListLoad Str Num Dict Str Str Str Str Str ListLoad Str Str Str Dict Str Str Str Str Str Str Str Str
N/A gooddataclient.dataset Dataset gooddataclient columns Department N/A Dataset N/A N/A department N/A N/A columns Attribute title Department folder Department N/A name N/A N/A columns Label title Name reference department folder Department data N/A N/A self N/A N/A N/A N/A N/A department name d1 HQ General Management N/A department name d2 HQ Information Systems N/A department name d3 HQ Marketing N/A department name d4 HQ Human Resources N/A department name d5 HQ Finance and Accounting N/A department name d11 Store Management N/A department name d14 Store Information Systems N/A department name d15 Store Permanent Checkers N/A department name d16 Store Temporary Checkers N/A department name d17 Store Permanent Stockers N/A department name d18 Store Temporary Stockers N/A department name d19 Store Permanent Butchers N/A N/A N/A maql 
# THIS IS MAQL SCRIPT THAT GENERATES PROJECT LOGICAL MODEL.
# SEE THE MAQL DOCUMENTATION AT http://developer.gooddata.com/api/maql-ddl.html FOR MORE DETAILS

# CREATE DATASET. DATASET GROUPS ALL FOLLOWING LOGICAL MODEL ELEMENTS TOGETHER.
CREATE DATASET {dataset.department} VISUAL(TITLE "Department");

# CREATE THE FOLDERS THAT GROUP ATTRIBUTES AND FACTS
CREATE FOLDER {dim.department} VISUAL(TITLE "Department") TYPE ATTRIBUTE;


# CREATE ATTRIBUTES.
# ATTRIBUTES ARE CATEGORIES THAT ARE USED FOR SLICING AND DICING THE NUMBERS (FACTS)
CREATE ATTRIBUTE {attr.department.department} VISUAL(TITLE "Department", FOLDER {dim.department}) AS KEYS {f_department.id} FULLSET;
ALTER DATASET {dataset.department} ADD {attr.department.department};

# CREATE FACTS
# FACTS ARE NUMBERS THAT ARE AGGREGATED BY ATTRIBUTES.
# CREATE DATE FACTS
# DATES ARE REPRESENTED AS FACTS
# DATES ARE ALSO CONNECTED TO THE DATE DIMENSIONS
# CREATE REFERENCES
# REFERENCES CONNECT THE DATASET TO OTHER DATASETS
# ADD LABELS TO ATTRIBUTES
ALTER ATTRIBUTE {attr.department.department} ADD LABELS {label.department.department.name} VISUAL(TITLE "Name") AS {f_department.nm_name};

ALTER ATTRIBUTE  {attr.department.department} DEFAULT LABEL {label.department.department.name};
ALTER ATTRIBUTE {attr.department.department} ADD LABELS {label.department.department} VISUAL(TITLE "Department") AS {f_department.nm_department};
# SYNCHRONIZE THE STORAGE AND DATA LOADING INTERFACES WITH THE NEW LOGICAL MODEL
SYNCHRONIZE {dataset.department};
 N/A schema_xml 
<schema>
  <name>Department</name>
  <columns>
    <column>
      <name>department</name>
      <title>Department</title>
      <ldmType>CONNECTION_POINT</ldmType>
      <folder>Department</folder>
    </column>
    <column>
      <name>name</name>
      <title>Name</title>
      <ldmType>LABEL</ldmType>
      <reference>department</reference>
      <folder>Department</folder>
    </column>
  </columns>
</schema> N/A data_csv "department","name"
"d1","HQ General Management"
"d2","HQ Information Systems"
"d3","HQ Marketing"
"d4","HQ Human Resources"
"d5","HQ Finance and Accounting"
"d11","Store Management"
"d14","Store Information Systems"
"d15","Store Permanent Checkers"
"d16","Store Temporary Checkers"
"d17","Store Permanent Stockers"
"d18","Store Temporary Stockers"
"d19","Store Permanent Butchers"
 N/A sli_manifest N/A dataSetSLIManifest N/A parts file dataSet csvParams N/A N/A columnName mode populates referenceKey department FULL N/A label.department.department 1 N/A columnName mode populates name FULL N/A label.department.department.name data.csv dataset.department N/A quoteChar escapeChar separatorChar endOfLine " " ,