Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 1.41 KB

README.md

File metadata and controls

16 lines (9 loc) · 1.41 KB

Data files

This directory houses scripts to setup the server-side MongoDB database using various data sources.

To run the scripts, first you need to have the following source files in this directory:

Then use npm run build:data (assuming development dependencies were previously installed with npm install).

Map Data

For the map to show constituencies you need to download the following GeoJSON and put it into the public/assets directory:

  • The "Westminster Parliamentary Constituencies in the United Kingdom, as at December 2019" GeoJSON (from the APIs dropdown) file from the Office for National Statistics (License: OGLv3.0). The filename should be set to constituencies.geojson.