Logo Lanfrica

ClimateCompatibleGrowth/team-kenya

Domain:

climateenvironment and energy
Creator:
Cli
Host:
A data visualization dashboard for the CCG TEAM project - Kenya instance # TEAM-Kenya A data visualisation dashboard for the TEAM project - Kenya instance ## Configuring the site In order to update the configuration of the site or the data displayed, follow this process: 1. Create a new branch based on `main` 2. Make changes and commit them to the new branch. When changing config/data, follow the specification described in the sections below. 3. Create a GitHub Pull Request to merge the new branch into `main`. Review the changes to make sure the new config / data follow the specification. 4. Merge the PR into `main` - this will trigger the preparation of the updated data and releasing of the update site ## Data input specification The data displayed in the tool is configured by modifying files in the `data-processing/data-input` folder. The following contents are required: `data-processing/data-input`: - `/manual` - files that are not extracted from the TEAM database but are manually prepared - `config.json` - a JSON file containing a simple object with the following fields: - `minYear` - the first year for which data will be displayed - `maxYear` - the last year for which data will be displayed - `snapshotYears` - an array of snapshot years shown on scenario comparison charts - `Scenarios.csv` - metadata for scenarios. A CSV file with following columns: - `ScenarioID` - a numeric ID of the scenario - `ScenarioAB` - an alphanumeric short code for the scenario. Used in URLs. The values need to match folder names in `extract/scenarios` folder. - `ScenarioNA` - a human-readable name for the scenario - shown as labels for charts / as options in dropdowns - `Description` - a longer description for the scenario - shown in the scenario selection sidebar - `Emission.csv` - metadata for emissions. A CSV with following columns: - `EmissionID` - numeric ID for emissions - `GreenhouseGasFlag` - 0/1 flag - should this emission be included in the Greenhouse Gases tab? - `AirPollutantFlag` - 0/1 flag - should this emission be included in the A …