Mapping Per Capita Emissions in the UK
This project visualises per capita greenhouse gas emissions across the UK, covering Wales, England, Scotland, and Northern Ireland. It utilises geographic boundaries from the 2011 Census for Lower Layer Super Output Areas and Data Zones.
This study integrates data from three sources - Output Area Classification, the Living Costs and Food Survey, and a commercial household expenditure dataset by TransUnion. The project averages these datasets to enhance output reliability.
2011 Census Geography Boundaries (Lower Layer Super Output Areas and Data Zones)
Clone the repository and navigate into it:
git clone <repository-url>
cd emissions-uk
-
Install Python dependencies:
pip install pandas tqdm
-
Process the data:
python scripts/process.py
-
Generate the map:
python scripts/create_map.py
-
Generate map tiles (ensure
tippecanoe
is installed):tippecanoe --output="output/uk-emissions.pmtiles" \ --layer="maplayer" \ --no-feature-limit \ --no-tile-size-limit \ --detect-shared-borders \ --coalesce-fraction-as-needed \ --coalesce-densest-as-needed \ --coalesce-smallest-as-needed \ --increase-gamma-as-needed \ --coalesce \ --reorder \ --minimum-zoom=0 \ --maximum-zoom=17 \ --force \ --simplification=20 \ output/updated_map.geojson
-
Data Analysis:
python scripts/median.py
Navigate to the site
directory:
```bash
cd site
```
Install dependencies:
```bash
npm install
```
Run the project locally:
```bash
npm run dev
```
This project is licensed under the MIT License - see the LICENSE file for details.