Res epreuves
Deployment
tag:res_epreuvesnew in v0.19.0Database
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.
dbt project specification
Update your
cssXX.dashboards_store/dbt_project.ymlfile with the following snippet.
- Enabling models and dashboards from the core repo
# cssXX.dashboards_store/dbt_project.yml
models:
core_dashboards_store: # Enable the models from the core repo
marts:
educ_serv:
+enabled: True
dashboards:
educ_serv:
res_epreuves:
+enabled: True
interfaces:
gpi:
+enabled: True
jade:
+enabled: True
- Setting the
cod_cssvariableThecod_cssvariable is required to filter down the results fetched from the Jade tables and exclude students from other CSS. This variable MUST be set for the dashboard to work correctly.
# cssXX.dashboards_store/dbt_project.yml
vars:
# res_epreuves's dashboard variables:
dashboards:
res_epreuves:
cod_css: ###% -- The first three characters of your school board. Formatted as a SQL regex. E.g. '001%' for CSS001
Configuration
Adding local exams
- To add a list of local exams to track in the dashboard:
- Add a
.csvfile to yourcssXX.dashboards_store/seeds/dashboards/res_epreuvesfolder. The file should be namedrstep_epreuves_personnalisees. The file should contain the columns described incore.dashboards_store/seeds/dashboards/res_epreuves/schema.yml(which describes the seedrstep_epreuves_personnalisees). - Trigger a refresh of your seeds
- Add a
dbt seed --full-refresh
Adding ministerial data
The following procedure describes how you can add the ministerial data to the dashboard. The procedure is the same for each session you want to track in the dashboard. It must be done manually for each session as the data cannot be automatically fetched from the database. The procedure is somewhat cumbersome, and you will need to use the Excel file fichier_traitement.xlsm to consolidate the data from the different sessions into a single .csv file.
This file can be found in the folder core.dashboards_store/analyses/dashboards/res_epreuves.
- To add the regional and provincial unique exam data to the dashboard:
- You need to run the Charlemagne reports
CHS040509R - Statistiques provisoires des résultats d'épreuves uniquesfor all the sessions of all the years you want to track in the dashboard. - You must then save them in a single folder containing only these
XMLfiles. - Use the file
fichier_traitement.xlsm, which is located in the/analyses/dashboards/res_epreuvesfolder, to consolidate the variousXMLfiles from the different sessions into a single.csvfile. - Save the consolidated file in the folder
cssXX.dashboards_store/seeds/dashboards/res_epreuvesunder the namefichier_consolide_epreuves_ministerielles. - Trigger a refresh of your seeds.
- Repeat these steps to add the data for each session.
- You need to run the Charlemagne reports

