-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnotes.txt
54 lines (38 loc) · 1.29 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
get and post
state
district plan
district
get and post
Seats to Vote curve
Majority-Minority Districts
Republican/Democratic Split
Box and whisker plot
# gerrymandering-project
CSE 416 Project
<hr />
<b>Run server:</b> <br/>
mvn clean install <br />
mvn spring-boot:run
<hr />
<b>In client:</b>
npm install axios
Navbar options: "npm install react react-dom"<br/>
"npm install react-bootstrap bootstrap@5.1.3"
Tabs: "npm install react-bootstrap-tabs" <br/> "npm install react-bootstrap-tab"
Icon: "npm install react-icons"
Recharts: "npm install recharts"
Plotly: "npm install react-plotly.js plotly.js"
// currently wont need <br/>
Centroid: "npm install @turf/centroid" <br/>
Center of Mass: "npm install @turf/center-of-mass" <br/>
Routes: "npm install browser-router" <br/>
Popup Modal: "npm install reactjs-popup --save" <br/>
<hr />
<b>In data:</b>
MGGG algorithm: pip install gerrychain
Mapping geographies (precinct to block, block to district): pip install maup
<hr />
<b>Terminal command used to compress geojson file:</b><br/>
 npm install -g mapshaper <br/>
 mapshaper old_file.geojson -simplify dp 10% keep-shapes -o format=geojson new_file.geojson <br/>
File is 10% the size of the original file. Original precinct geojsons can be found in the shared Lynx folder