Skip to content

Commit

Permalink
Merge pull request #938 from saraburns1/coursecomparison
Browse files Browse the repository at this point in the history
feat: New Course Comparison Dashboard
  • Loading branch information
saraburns1 committed Sep 16, 2024
2 parents e1e3bc6 + ab59aad commit 282ba9b
Show file tree
Hide file tree
Showing 24 changed files with 2,802 additions and 2 deletions.
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.1"),
("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
Expand Up @@ -3,7 +3,7 @@
# https://github.com/apache/superset/releases
# https://github.com/apache/superset/blob/master/Dockerfile
# https://superset.apache.org/docs/databases/installing-database-drivers
FROM apache/superset:4.0.1
FROM apache/superset:4.0.2

USER root

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
_file_name: Course_Info_b2fff8.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: 221
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:
- 3141
datasource: 221__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: 1181
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: b2fff8a7-3ace-4075-9a3f-5fa5b99f81bb
version: 1.0.0
viz_type: table
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
_file_name: Course_Info_ccdd7d.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:
- 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: 221
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:
- 3141
datasource: 221__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: 1381
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: ccdd7d98-4722-490b-a0b2-077380a7c7eb
version: 1.0.0
viz_type: table
Loading

0 comments on commit 282ba9b

Please sign in to comment.