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 follow in the dashboard:
- Add a
.csvfile in yourcssXX.dashboards_store/seeds/dashboards/res_epreuvesfolder. The file should be namedrstep_epreuves_personnalisees. The file should be filled with 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 follow in the dashboard. It must be done manually for each session as the data cannot be automatically fetched from the database. The procedure is a tad 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 exams data to the dashboard:
- You need to run the Charlemagne reports
CHS040509R - Statistiques provisoires des résultats d'épreuves uniquesof all the sessions for all the years you want to follow in the dashboard. - You must then save them in a single folder where there would be only these
XMLfiles. - Use the file
fichier_traitement.xlsm, which is located in the folder (/analyses/dashboards/res_epreuves) 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.
- Redo the steps to add the data for each session.
- You need to run the Charlemagne reports
