Skip to content

A story about uncontested seats in the N.C. General Assembly using AngularJS, D3, HTML/CSS, JavaScript/jQuery, LeafletJS and R.

Notifications You must be signed in to change notification settings

lindsaycarbonell/uncontested-candidates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uncontested Candidates

A story about uncontested seats in the N.C. General Assembly using AngularJS, D3, HTML/CSS, JavaScript/jQuery, LeafletJS and R.

#Install instructions:

  1. Download the ZIP file, unzip, and cd into the top directory with the terminal or command line.
  2. Run "npm install"
  3. 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.

About

A story about uncontested seats in the N.C. General Assembly using AngularJS, D3, HTML/CSS, JavaScript/jQuery, LeafletJS and R.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published