lukeslp commited on
Commit
e574c56
·
verified ·
1 Parent(s): 047422c

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +30 -119
README.md CHANGED
@@ -1,8 +1,7 @@
1
  ---
2
  license: cc-by-4.0
3
  task_categories:
4
- - tabular-classification
5
- - tabular-regression
6
  language:
7
  - en
8
  tags:
@@ -19,144 +18,56 @@ tags:
19
  pretty_name: US Military & Veteran Analysis by State
20
  size_categories:
21
  - n<1K
22
- dataset_info:
23
- features:
24
- - name: NAME
25
- dtype: string
26
- - name: state
27
- dtype: string
28
- - name: veteran_population
29
- dtype: int64
30
- - name: veteran_percentage
31
- dtype: float64
32
- - name: active_duty_personnel
33
- dtype: int64
34
- - name: ownership_percentage
35
- dtype: float64
36
- - name: ffl_count
37
- dtype: int64
38
- - name: veteran_suicide_rate
39
- dtype: float64
40
- - name: civilian_suicide_rate
41
- dtype: float64
42
- - name: veteran_risk_ratio
43
- dtype: float64
44
- - name: ptsd_prevalence_pct
45
- dtype: float64
46
- - name: va_utilization_pct
47
- dtype: float64
48
- splits:
49
- - name: train
50
- num_examples: 51
51
  ---
52
 
53
  # US Military & Veteran Analysis by State
54
 
55
- State-level integration of veteran demographics, firearm ownership, mental health indicators, and VA healthcare utilization from 6 authoritative sources.
56
 
57
- ## What's Inside
58
 
59
- - 51 records (50 states + DC)
60
- - Veteran population and percentage
61
- - Firearm ownership rates (RAND 2016)
62
- - Suicide rates: veteran vs civilian
63
- - PTSD prevalence estimates
64
- - VA healthcare utilization
65
 
66
- ## Why This Dataset Exists
67
-
68
- No single source provides this combined view. This integration allows correlation analysis across:
69
-
70
- - Veteran demographics and military presence
71
- - Mental health indicators (suicide, PTSD)
72
- - Firearm access and ownership
73
- - Healthcare system utilization
74
-
75
- ## Data Sources
76
-
77
- | Data | Source | Year |
78
- |------|--------|------|
79
- | Veteran population | Census ACS | 2022 |
80
- | Firearm ownership | RAND Corporation | 2016 |
81
- | FFL counts | ATF | 2023 |
82
- | Suicide rates | CDC WONDER | 2021 |
83
- | PTSD, VA utilization | VA | 2022 |
84
- | Active duty, economic impact | DoD DMDC | 2023 |
85
-
86
- ## Key Metrics
87
-
88
- | Field | Description |
89
- |-------|-------------|
90
- | veteran_risk_ratio | Veteran suicide rate / civilian rate |
91
- | ptsd_prevalence_pct | PTSD prevalence among veterans |
92
- | va_utilization_pct | % of veterans using VA healthcare |
93
- | ffl_per_100k | Federal Firearms Licensees per 100K population |
94
 
95
  ## Usage
96
 
97
  ```python
98
- import pandas as pd
99
 
100
- df = pd.read_csv('military_firearm_merged_analysis.csv')
101
- print(f"States: {len(df)}")
102
 
103
- # States with highest veteran risk ratio
104
- high_risk = df.nlargest(10, 'veteran_risk_ratio')[['NAME', 'veteran_risk_ratio']]
105
- print(high_risk)
106
-
107
- # Correlation between firearm ownership and veteran suicide
108
- correlation = df['ownership_percentage'].corr(df['veteran_suicide_rate'])
109
- print(f"Firearm-suicide correlation: {correlation:.3f}")
110
  ```
111
 
112
- ## Limitations
113
-
114
- - RAND firearm data is from 2016 (most recent publicly available)
115
- - CDC suppresses data for states with <10 deaths
116
- - VA data covers enrolled veterans only
117
 
118
- ## License
 
 
 
 
 
 
 
119
 
120
- CC-BY-4.0 (All source data is public domain; integration by Luke Steuber)
121
 
122
  ## Distribution
123
 
 
124
  - **Kaggle**: [lucassteuber/us-military-veteran-analysis](https://www.kaggle.com/datasets/lucassteuber/us-military-veteran-analysis)
125
- - **HuggingFace**: [lukeslp/us-military-veteran-analysis](https://huggingface.co/datasets/lukeslp/us-military-veteran-analysis)
126
- - **GitHub Gist**: [Demo Notebook](https://gist.github.com/lukeslp/c5abf180c17602444b001bef54195775)
127
 
128
  ## Author
129
 
130
- Luke Steuber | luke@lukesteuber.com | @lukesteuber.com (Bluesky)
131
-
132
- ## Structured Data (JSON-LD)
133
-
134
- ```json
135
- {
136
- "@context": "https://schema.org",
137
- "@type": "Dataset",
138
- "name": "US Military & Veteran Analysis by State",
139
- "description": "State-level integration of veteran demographics, firearm ownership, mental health indicators, and VA healthcare utilization from 6 authoritative sources including Census ACS, RAND, CDC, and VA.",
140
- "url": "https://www.kaggle.com/datasets/lucassteuber/us-military-veteran-analysis",
141
- "sameAs": "https://huggingface.co/datasets/lukeslp/us-military-veteran-analysis",
142
- "license": "https://creativecommons.org/licenses/by/4.0/",
143
- "creator": {
144
- "@type": "Person",
145
- "name": "Luke Steuber",
146
- "url": "https://lukesteuber.com"
147
- },
148
- "keywords": ["veterans", "military", "mental health", "suicide prevention", "VA healthcare", "demographics"],
149
- "temporalCoverage": "2016/2023",
150
- "spatialCoverage": {
151
- "@type": "Place",
152
- "name": "United States"
153
- },
154
- "distribution": [
155
- {
156
- "@type": "DataDownload",
157
- "encodingFormat": "text/csv",
158
- "contentUrl": "https://www.kaggle.com/datasets/lucassteuber/us-military-veteran-analysis"
159
- }
160
- ]
161
- }
162
- ```
 
1
  ---
2
  license: cc-by-4.0
3
  task_categories:
4
+ - feature-extraction
 
5
  language:
6
  - en
7
  tags:
 
18
  pretty_name: US Military & Veteran Analysis by State
19
  size_categories:
20
  - n<1K
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  ---
22
 
23
  # US Military & Veteran Analysis by State
24
 
25
+ 50 states: veterans, firearms, PTSD, suicide rates, VA healthcare
26
 
27
+ State-level integration of veteran demographics, firearm ownership, mental health indicators, and VA healthcare utilization from Census ACS, RAND, ATF, CDC, VA, and DoD.
28
 
29
+ ## Dataset Structure
 
 
 
 
 
30
 
31
+ See `demo_notebook.ipynb` for data exploration examples.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
  ## Usage
34
 
35
  ```python
36
+ from datasets import load_dataset
37
 
38
+ # Load the dataset
39
+ dataset = load_dataset("lukeslp/us-military-veteran-analysis")
40
 
41
+ # Or load from local files
42
+ import json
43
+ with open('data.json') as f:
44
+ data = json.load(f)
 
 
 
45
  ```
46
 
47
+ ## Citation
 
 
 
 
48
 
49
+ ```bibtex
50
+ @dataset{us_military_veteran_analysis_2026,
51
+ title = {US Military & Veteran Analysis by State},
52
+ author = {Steuber, Luke},
53
+ year = {2026},
54
+ url = {https://huggingface.co/datasets/lukeslp/us-military-veteran-analysis}
55
+ }
56
+ ```
57
 
 
58
 
59
  ## Distribution
60
 
61
+ - **GitHub**: [lukeslp/us-military-veteran-analysis](https://github.com/lukeslp/us-military-veteran-analysis)
62
  - **Kaggle**: [lucassteuber/us-military-veteran-analysis](https://www.kaggle.com/datasets/lucassteuber/us-military-veteran-analysis)
 
 
63
 
64
  ## Author
65
 
66
+ **Luke Steuber**
67
+ - Website: [lukesteuber.com](https://lukesteuber.com)
68
+ - Bluesky: [@lukesteuber.com](https://bsky.app/profile/lukesteuber.com)
69
+ - Email: luke@lukesteuber.com
70
+
71
+ ## License
72
+
73
+ CC-BY-4.0