Skip to content

Commit

Permalink
feat: new course comparison dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
saraburns1 committed Sep 6, 2024
1 parent b92eec8 commit 6f0ea77
Show file tree
Hide file tree
Showing 23 changed files with 3,544 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutoraspects/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@
# DBT_PROFILE_* settings get passed into the dbt_profile.yml file.
# For now we are pulling this from github, which should allow maximum
# flexibility for forking, running branches, specific versions, etc.
("DBT_REPOSITORY", "https://github.com/openedx/aspects-dbt"),
("DBT_BRANCH", "v3.31.0"),
("DBT_REPOSITORY", "https://github.com/saraburns1/aspects-dbt"),
("DBT_BRANCH", "coursecompare"),
("DBT_SSH_KEY", ""),
("DBT_STATE_DIR", "/app/aspects-dbt/state"),
("DBT_PROFILES_DIR", "/app/aspects/dbt/"),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
_file_name: Course_Info_a433e3.yaml
cache_timeout: null
certification_details: null
certified_by: null
dataset_uuid: 27a4476b-5a9a-4fc4-ac75-da520b522341
description: null
params:
adhoc_filters:
- clause: WHERE
comparator: No filter
expressionType: SIMPLE
operator: TEMPORAL_RANGE
subject: emission_time
all_columns: []
color_pn: false
column_config:
active_count:
columnWidth: 200
course_name:
columnWidth: 300
enrollees:
columnWidth: 150
org:
columnWidth: 200
tag_list:
truncateLongCells: true
conditional_formatting: []
extra_form_data: {}
groupby:
- course_name
- org
metrics:
- enrollees
- active_count
- tag_list
order_by_cols: []
order_desc: false
percent_metrics: []
query_mode: aggregate
row_limit: 50000
server_page_length: 10
show_cell_bars: false
table_timestamp_format: smart_date
temporal_columns_lookup: {}
time_grain_sqla: P1M
viz_type: table
query_context:
datasource:
id: 645
type: table
force: false
form_data:
adhoc_filters:
- clause: WHERE
comparator: No filter
expressionType: SIMPLE
operator: TEMPORAL_RANGE
subject: emission_time
all_columns: []
color_pn: false
column_config:
active_count:
columnWidth: 200
course_name:
columnWidth: 300
enrollees:
columnWidth: 150
org:
columnWidth: 200
tag_list:
truncateLongCells: true
conditional_formatting: []
dashboards:
- 161
datasource: 645__table
extra_form_data: {}
force: false
groupby:
- course_name
- org
metrics:
- enrollees
- active_count
- tag_list
order_by_cols: []
order_desc: false
percent_metrics: []
query_mode: aggregate
result_format: json
result_type: full
row_limit: 50000
server_page_length: 10
show_cell_bars: false
slice_id: 1273
table_timestamp_format: smart_date
temporal_columns_lookup: {}
time_grain_sqla: P1M
viz_type: table
queries:
- annotation_layers: []
applied_time_extras: {}
columns:
- course_name
- org
custom_form_data: {}
custom_params: {}
extras:
having: ''
time_grain_sqla: P1M
where: ''
filters:
- col: emission_time
op: TEMPORAL_RANGE
val: No filter
metrics:
- enrollees
- active_count
- tag_list
order_desc: false
orderby:
- - enrollees
- false
post_processing: []
row_limit: 50000
series_limit: 0
url_params: {}
result_format: json
result_type: full
slice_name: Course Info
uuid: a433e3cc-8ed5-454a-8b17-5dd75cfc84e4
version: 1.0.0
viz_type: table
Original file line number Diff line number Diff line change
@@ -0,0 +1,224 @@
_file_name: Course_Info_e0098c.yaml
cache_timeout: null
certification_details: null
certified_by: null
dataset_uuid: 27a4476b-5a9a-4fc4-ac75-da520b522341
description: null
params:
adhoc_filters:
- clause: WHERE
comparator: No filter
expressionType: SIMPLE
operator: TEMPORAL_RANGE
subject: emission_time
all_columns: []
color_pn: false
column_config:
Current Enrollees:
columnWidth: 150
active_count:
columnWidth: 200
course_name:
columnWidth: 200
course_run:
columnWidth: 300
tag_list:
truncateLongCells: true
conditional_formatting: []
extra_form_data: {}
groupby:
- course_run
- course_name
metrics:
- aggregate: COUNT_DISTINCT
column:
advanced_data_type: null
certification_details: null
certified_by: null
column_name: actor_id
description: null
expression: null
filterable: true
groupby: true
id: 7901
is_certified: false
is_dttm: false
python_date_format: null
type: String
type_generic: 1
verbose_name: null
warning_markdown: null
datasourceWarning: false
expressionType: SIMPLE
hasCustomLabel: true
label: Current Enrollees
optionName: metric_j4kvubgy7m_afs23ho378e
sqlExpression: null
- active_count
- tag_list
order_by_cols: []
order_desc: false
percent_metrics: []
query_mode: aggregate
row_limit: 50000
server_page_length: 10
show_cell_bars: false
table_timestamp_format: smart_date
temporal_columns_lookup: {}
time_grain_sqla: P1M
viz_type: table
query_context:
datasource:
id: 645
type: table
force: false
form_data:
adhoc_filters:
- clause: WHERE
comparator: No filter
expressionType: SIMPLE
operator: TEMPORAL_RANGE
subject: emission_time
all_columns: []
color_pn: false
column_config:
Current Enrollees:
columnWidth: 150
active_count:
columnWidth: 200
course_name:
columnWidth: 200
course_run:
columnWidth: 300
tag_list:
truncateLongCells: true
conditional_formatting: []
dashboards:
- 161
datasource: 645__table
extra_form_data: {}
force: false
groupby:
- course_run
- course_name
metrics:
- aggregate: COUNT_DISTINCT
column:
advanced_data_type: null
certification_details: null
certified_by: null
column_name: actor_id
description: null
expression: null
filterable: true
groupby: true
id: 7901
is_certified: false
is_dttm: false
python_date_format: null
type: String
type_generic: 1
verbose_name: null
warning_markdown: null
datasourceWarning: false
expressionType: SIMPLE
hasCustomLabel: true
label: Current Enrollees
optionName: metric_j4kvubgy7m_afs23ho378e
sqlExpression: null
- active_count
- tag_list
order_by_cols: []
order_desc: false
percent_metrics: []
query_mode: aggregate
result_format: json
result_type: full
row_limit: 50000
server_page_length: 10
show_cell_bars: false
slice_id: 1274
table_timestamp_format: smart_date
temporal_columns_lookup: {}
time_grain_sqla: P1M
viz_type: table
queries:
- annotation_layers: []
applied_time_extras: {}
columns:
- course_run
- course_name
custom_form_data: {}
custom_params: {}
extras:
having: ''
time_grain_sqla: P1M
where: ''
filters:
- col: emission_time
op: TEMPORAL_RANGE
val: No filter
metrics:
- aggregate: COUNT_DISTINCT
column:
advanced_data_type: null
certification_details: null
certified_by: null
column_name: actor_id
description: null
expression: null
filterable: true
groupby: true
id: 7901
is_certified: false
is_dttm: false
python_date_format: null
type: String
type_generic: 1
verbose_name: null
warning_markdown: null
datasourceWarning: false
expressionType: SIMPLE
hasCustomLabel: true
label: Current Enrollees
optionName: metric_j4kvubgy7m_afs23ho378e
sqlExpression: null
- active_count
- tag_list
order_desc: false
orderby:
- - aggregate: COUNT_DISTINCT
column:
advanced_data_type: null
certification_details: null
certified_by: null
column_name: actor_id
description: null
expression: null
filterable: true
groupby: true
id: 7901
is_certified: false
is_dttm: false
python_date_format: null
type: String
type_generic: 1
verbose_name: null
warning_markdown: null
datasourceWarning: false
expressionType: SIMPLE
hasCustomLabel: true
label: Current Enrollees
optionName: metric_j4kvubgy7m_afs23ho378e
sqlExpression: null
- false
post_processing: []
row_limit: 50000
series_limit: 0
url_params: {}
result_format: json
result_type: full
slice_name: Course Info
uuid: e0098cfe-a312-4c49-8efd-7e74256b6ea4
version: 1.0.0
viz_type: table
Loading

0 comments on commit 6f0ea77

Please sign in to comment.