Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Course Comparison Dashboard #931

Closed
Closed
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion tutoraspects/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@
"uuid": "abae8a25-1ba4-4653-81bd-d3937a162a11",
"allow_translations": True,
},
{
"name": "Course Comparison Dashboard",
"slug": "course-comparison",
"uuid": "c6c7062d-dd90-4292-b9cf-84f7b9f38e73",
"allow_translations": True,
},
],
),
# The following settings are used to configure the Superset dashboards
Expand All @@ -140,6 +146,7 @@
"course-dashboard": "c0e64194-33d1-4d5a-8c10-4f51530c5ee9",
"learner-groups": "8661d20c-cee6-4245-9fcc-610daea5fd24",
"individual-learner": "abae8a25-1ba4-4653-81bd-d3937a162a11",
"course-comparison": "c6c7062d-dd90-4292-b9cf-84f7b9f38e73",
},
),
# ClickHouse xAPI settings
Expand Down Expand Up @@ -376,7 +383,7 @@
# 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_BRANCH", "v3.33.0"),
("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,133 @@
_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: []
annotation_layers: []
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,133 @@
_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: []
annotation_layers: []
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:
- active_count
- tag_list
- enrollees
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:
- active_count
- tag_list
- enrollees
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:
- active_count
- tag_list
- enrollees
order_desc: false
orderby:
- - active_count
- 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
Loading