Provides a quick overview of the results of the selected academic subjects and skills of the schoold board.
Deployment
tag:res_scolairesnew in v0.7.0Databases
The gpi
database must be linked to the project. Please refer to the linking a database section for more information about how to link a database.
Marts
The following marts must be enabled for the dashboard to work. Please refer to the enabling a mart section for more information about how to enable a mart.
educ_serv
Dbt project specification
Update your
cssXX.dashboards_store/dbt_project.yml
file with the following snippet.
models:
core_dashboards_store: # Enable the models from the core repo
marts:
educ_serv:
+enabled: True
dashboards:
educ_serv:
res_scolaires:
+enabled: True
interfaces: # The dashboard only needs the GPI database
gpi:
+enabled: True
configuration
The configuration is optional. If you don't provide a configuration, the dashboard will use the default configuration.
Customizing the tracked subjects
Update your
cssXX.dashboards_store/dbt_project.yml
file. This table needs some seeds. Make sure to rundbt seed --full-refresh
to populate the seeds.
- To add a list of in-house subjects to be tracked :
- Add a
.csv
file in yourcssXX.dashboards_store/seeds/dashboards/educ_serv/res_scolaires
folder. The file must be namedcustom_matiere.csv
. The file must be populated with the colums described bycore.dashboards_store/seeds/dashboards/educ_serv/res_scolaires/schema.yml
(refers to thecustom_matiere
seed). - Trigger a refresh of your seeds
- Add a
dbt seed --full-refresh
Setting a custom threshold
The threshold is used to compute the identify the overachieving students. It is set to 70% by default.
You can override the default threshold by adding the following variable in your dbt_project.yml
file.
# cssXX.dashboards_store/dbt_project.yml
vars:
# res_scolaires's dashboard variables:
res_scolaires:
threshold: 70