- Download the ZIP file, unzip, and cd into the top directory with the terminal or command line.
- Run "npm install"
- Run "node index.js" and open http://localhost:8080/ on the browser of your choice.
#About the data:
This project's data was collected from the North Carolina State Board of Elections. Their full data site can be found here. The data was analyzed using the R scripts "house_script.R" and "senate_script.R" in the assets folder. The specific raw files used can be found in the priprecinct folder.
The district map used in this project was found in the NCGA Redistricting Archives and translated from a shapefile into geoJSON via ArcQGIS.