Skip to content

Commit

Permalink
ben's visuals
Browse files Browse the repository at this point in the history
  • Loading branch information
pharnb committed Jul 25, 2020
1 parent 26d6385 commit b41f52a
Show file tree
Hide file tree
Showing 7 changed files with 472 additions and 22 deletions.
383 changes: 383 additions & 0 deletions Ben.ipynb

Large diffs are not rendered by default.

51 changes: 51 additions & 0 deletions Data/2018-PIT-Counts Vets.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
State,Overall Homeless,Homeless Veterans,Percentage
AK,2016,132,6.145251397
AL,3434,339,8.984892658
AR,2712,251,8.471144111
AZ,9865,893,8.300799405
CA,129972,10836,7.695585478
CO,10857,1073,8.994132439
CT,3976,190,4.560729717
DE,1082,70,6.076388889
FL,31030,2543,7.574539064
GA,9499,705,6.909055272
HI,6530,532,7.533276692
IA,2749,196,6.655348048
ID,2012,215,9.654243377
IL,10643,804,7.023674325
IN,5258,539,9.297912713
KS,2216,195,8.087930319
KY,3688,369,9.095390683
LA,3059,406,11.71717172
MA,20068,985,4.678668123
MD,7144,574,7.437159886
ME,2516,119,4.516129032
MI,8351,693,7.6625387
MN,7243,301,3.989925769
MO,5883,507,7.9342723
MS,1352,102,7.015130674
MT,1405,198,12.3518403
NC,9268,884,8.707643814
ND,542,9,1.633393829
NE,2421,171,6.597222222
NH,1450,143,8.976773384
NJ,9398,555,5.576208178
NM,2551,290,10.20767335
NV,7544,723,8.745615096
NY,91897,1224,1.314418874
OH,10249,749,6.810329151
OK,3871,313,7.480879541
OR,14476,1363,8.605341246
PA,13512,982,6.775217331
RI,1101,103,8.554817276
SC,3933,415,9.544618215
SD,1159,110,8.668242711
TN,7883,742,8.602898551
TX,25310,1935,7.102220591
UT,2876,239,7.672552167
VA,5975,485,7.507739938
VT,1291,104,7.455197133
WA,22304,1636,6.833751044
WI,4907,332,6.33708723
WV,1243,131,9.534206696
WY,639,47,6.851311953
42 changes: 21 additions & 21 deletions Data/veteransubstance.csv
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
Dependence,Substance,Weighted Count
"No, Veteran",Alcohol,17160567.35
"No, Non-Veteran",Alcohol,4627972.35
"Yes, Veteran",Alcohol,324543.5252
"Yes, Non-Veteran",Alcohol,73457.42346
"No, Veteran",Marijuana,17421924.53
"No, Non-Veteran",Marijuana,4687120.221
"Yes, Veteran",Marijuana,63186.34595
"Yes, Non-Veteran",Marijuana,14309.55228
"No, Veteran",Pain Reliever,17460529.74
"No, Non-Veteran",Pain Reliever,4699667.815
"Yes, Veteran",Pain Reliever,24581.13529
"Yes, Non-Veteran",Pain Reliever,1761.95831
"No, Veteran",Heroin,17436481.51
"No, Non-Veteran",Heroin,4701429.773
"Yes, Veteran",Heroin,48629.36509
"Yes, Non-Veteran",Heroin,0
"No, Veteran",Cocaine,17478545.88
"No, Non-Veteran",Cocaine,4697826.21
"Yes, Veteran",Cocaine,6564.998307
"Yes, Non-Veteran",Cocaine,3603.563065
Dependence,Substance,Weighted Count,Percentage
No/Non-Veteran,Alcohol,4627972.35,0.984375514
No/Veteran,Alcohol,17160567.35,0.981438864
Yes/Non-Veteran,Alcohol,73457.42346,0.015624486
Yes/Veteran,Alcohol,324543.5252,0.018561136
No/Non-Veteran,Cocaine,4697826.21,0.999233518
No/Veteran,Cocaine,17478545.88,0.999624538
Yes/Non-Veteran,Cocaine,3603.563065,0.000766482
Yes/Veteran,Cocaine,6564.998307,0.000375462
No/Non-Veteran,Heroin,4701429.773,1
No/Veteran,Heroin,17436481.51,0.997218813
Yes/Non-Veteran,Heroin,0,0
Yes/Veteran,Heroin,48629.36509,0.002781187
No/Non-Veteran,Marijuana,4687120.221,0.99695634
No/Veteran,Marijuana,17421924.53,0.996386277
Yes/Non-Veteran,Marijuana,14309.55228,0.00304366
Yes/Veteran,Marijuana,63186.34595,0.003613723
No/Non-Veteran,Pain Reliever,4699667.815,0.999625229
No/Veteran,Pain Reliever,17460529.74,0.998594168
Yes/Non-Veteran,Pain Reliever,1761.95831,0.000374771
Yes/Veteran,Pain Reliever,24581.13529,0.001405832
Binary file added Images/Dependence on Substances All.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Dependence on Substances Yes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/Homeless Vets.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
# Project-One
# Project-One

The technical requirements for Project 1 are as follows.

* [ ] Use Pandas to clean and format your data set(s)

* [ ] Create a Jupyter Notebook describing the **data exploration and cleanup** process

* [ ] Create a Jupyter Notebook illustrating the **final data analysis**

* [ ] Use Matplotlib to create a total of 6-8 visualizations of your data (ideally, at least 2 per "question" you ask of your data)

* [ ] Save PNG images of your visualizations to distribute to the class and instructional team, and for inclusion in your presentation

* [ ] Optionally, use at least one API, if you can find an API with data pertinent to your primary research questions

* [ ] Create a write-up summarizing your major findings. This should include a heading for each "question" you asked of your data, and under each heading, a short description of what you found and any relevant plots.

0 comments on commit b41f52a

Please sign in to comment.