Educational service
PEVR
Tracks common and custom PEVR indicators.
The dashboard is a work in progress. It is a stub built as an incentive for people to jump on the project. We advise against deploying the dashboard as is.
Deployment
tag:pevrnew in v0.10.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.ymlfile with the following snippet
# cssXX.dashboards_store/dbt_project.yml
models:
core_dashboards_store:
marts:
educ_serv:
+enabled: True
dashboards:
direction_generale:
pevr:
+enabled: true
interfaces:
gpi:
+enabled: true
Configuration
The configuration is optional. If you don't provide a configuration, the dashboard will use the default configuration.
Customizing PEVR indicators
This table needs some seeds. Make sure to run
dbt seed --full-refreshto populate the seeds.
- To add a list of in-house indicators to be tracked:
- Add a
.csvfile in yourcssXX.dashboards_store/seeds/dashboards/direction_generale/pevrfolder. The file must be namedcustom_indicateurs_pevr_meq.csv. The file must be populated with the columns described incore.dashboards_store/seeds/dashboards/direction_generale/pevr/schema.yml(refers to thecustom_indicateurs_pevr_meqseed). - Add a
.csvfile in yourcssXX.dashboards_store/seeds/dashboards/direction_generale/pevrfolder. The file must be namedcustom_indicateurs_pevr_charl.csv. The file must be populated with the columns described incore.dashboards_store/seeds/dashboards/direction_generale/pevr/schema.yml(refers to thecustom_indicateurs_pevr_charlseed). - Trigger a refresh of your seeds
- Add a
dbt seed --full-refresh
Please refer to the seeds section for more information about how to use and populate seeds.
