Dataset Viewer
Auto-converted to Parquet Duplicate
year
float64
2.01k
2.02k
month
stringclasses
12 values
age_detail_number
float64
1
999
sex
stringclasses
2 values
place_of_death
float64
1
9
education1989
stringclasses
19 values
education2003
stringclasses
9 values
education_flag
stringclasses
2 values
all_icd
stringlengths
7
74
hisp_recode
float64
0
999
race_recode
float64
1
5
⌀
race_recode_alt
float64
1
999
race_recode_new
float64
1
999
agey
float64
0
999
2,014
01
90
F
4
null
3
1
D469_D469_D619_F03_T08_I10_E039_X590
0
1
1
1
90
2,014
01
91
M
6
null
3
1
G309_G309
0
1
1
1
91
2,014
01
101
F
4
null
3
1
R54_R628_R54
0
1
1
1
101
2,014
01
80
M
6
null
7
1
F03_J189_F03
0
1
1
1
80
2,014
01
56
M
1
null
3
1
I251_K769_I251
0
1
1
1
56
2,014
01
88
M
4
null
3
1
J841_R090_J984_J841
0
1
1
1
88
2,014
01
92
F
1
null
3
1
I219_I64_I219
0
1
1
1
92
2,014
01
79
F
6
null
3
1
I10_I469_J969_I10_S720_X590
0
1
1
1
79
2,014
01
47
M
2
null
2
1
I119_I119
0
2
2
2
47
2,014
01
79
F
1
null
3
1
I48_I613_Y442_I48_I10
0
1
1
1
79
2,014
01
93
M
1
null
3
1
I501_J81_I509_J449_F179
0
2
2
2
93
2,014
01
69
F
4
null
1
1
C349_C349_I500_E149
0
1
1
1
69
2,014
01
72
M
4
null
3
1
C73_C73_E119
0
1
1
1
72
2,014
01
77
M
4
null
2
1
C349_C349_J449_I350_F179
0
1
1
1
77
2,014
01
102
F
7
null
2
1
F03_F03
0
1
1
1
102
2,014
01
67
M
2
null
4
1
V877_S299_S399_T149_V877
0
1
1
1
67
2,014
01
75
F
4
null
3
1
R628_R628
0
1
1
1
75
2,014
01
69
M
4
null
6
1
C61_C61
0
1
1
1
69
2,014
01
71
M
4
null
4
1
C259_C259
0
1
1
1
71
2,014
01
75
F
4
null
3
1
C349_C349
0
2
2
2
75
2,014
01
71
M
4
null
3
1
C169_C169_R688
0
1
1
1
71
2,014
01
78
M
6
null
2
1
C220_C220_B182_M480
0
2
2
2
78
2,014
01
92
M
6
null
7
1
C259_C259_I48_I099
0
1
1
1
92
2,014
01
87
M
1
null
6
1
I519_I519
0
1
1
1
87
2,014
01
62
M
5
null
5
1
C329_C329
0
1
1
1
62
2,014
01
76
M
4
null
3
1
I119_I119_I10
0
1
1
1
76
2,014
01
83
M
1
null
4
1
I248_I490_I248_I469
0
1
1
1
83
2,014
01
87
F
5
null
3
1
I64_I64
0
1
1
1
87
2,014
01
94
F
4
null
3
1
I219_I219_M069_C189
0
1
1
1
94
2,014
01
55
F
1
null
3
1
E149_I64_I10_E149
0
2
2
2
55
2,014
01
79
M
6
null
1
1
F03_F03_I10
0
2
2
2
79
2,014
01
92
F
6
null
4
1
I64_R628_I64_I251_I10_F03
0
1
1
1
92
2,014
01
79
M
1
null
3
1
C64_C64
0
1
1
1
79
2,014
01
84
F
2
null
3
1
E149_I219_I251_E149_I10_I500_J449_M199_F179
0
2
2
2
84
2,014
01
84
M
4
null
3
1
J449_J449
0
1
1
1
84
2,014
01
65
M
4
null
1
1
K409_I500_K409_I10_F209
1
3
3
3
65
2,014
01
64
F
5
null
7
1
C80_C80
0
1
1
1
64
2,014
01
83
M
6
null
3
1
C920_C920_D649
0
1
1
1
83
2,014
01
78
F
5
null
2
1
C221_C221
0
1
1
1
78
2,014
01
76
M
6
null
4
1
E142_N185_E149_I10_I509
0
1
1
1
76
2,014
01
93
M
4
null
3
1
F03_F03
0
1
1
1
93
2,014
01
58
F
4
null
6
1
C64_C64
0
1
1
1
58
2,014
01
89
F
4
null
1
1
C509_C509_F03
0
1
1
1
89
2,014
01
25
M
2
null
3
1
X74_S119_X74_S119
0
2
2
2
25
2,014
01
92
M
6
null
6
1
G20_T179_W80_G20_F019
0
1
1
1
92
2,014
01
80
F
1
null
3
1
J449_J449_C349_J969
0
1
1
1
80
2,014
01
94
F
1
null
3
1
F03_F03
0
1
1
1
94
2,014
01
66
M
1
null
3
1
C798_J189_A419_C798_F179
0
2
2
2
66
2,014
01
92
F
6
null
9
1
I516_I516
0
1
1
1
92
2,014
01
93
M
5
null
1
1
F03_F03_I251
0
1
1
1
93
2,014
01
89
M
4
null
3
1
J449_J449
0
1
1
1
89
2,014
01
22
M
1
null
1
1
P072_P072
0
2
2
2
0.000042
2,014
01
61
F
4
null
3
1
C259_C259
0
1
1
1
61
2,014
01
3
F
1
null
1
1
P072_P072
0
2
2
2
0.000342
2,014
01
63
M
2
null
4
1
I219_I219
0
1
1
1
63
2,014
01
63
M
1
null
3
1
I219_R570_I509_F101_I219
0
2
2
2
63
2,014
01
75
M
4
null
3
1
C349_C349_I48_E149_F179
0
1
1
1
75
2,014
01
77
F
1
null
3
1
K566_K566
0
1
1
1
77
2,014
01
66
M
1
null
3
1
C900_C900_A419
0
1
1
1
66
2,014
01
73
M
6
null
6
1
G309_G309
0
1
1
1
73
2,014
01
85
F
6
null
7
1
I48_J969_I48
0
1
1
1
85
2,014
01
46
M
7
null
4
1
X74_S019_X74_S019
0
1
1
1
46
2,014
01
92
M
6
null
6
1
G20_R628_G20
0
1
1
1
92
2,014
01
88
F
4
null
3
1
I679_I679
0
1
1
1
88
2,014
01
86
M
6
null
3
1
E785_I615_I10_E785
0
1
1
1
86
2,014
01
65
M
3
null
2
1
E162_J189_E162_I469
0
2
2
2
65
2,014
01
87
M
1
null
3
1
J440_J969_A419_J189_J449
0
1
1
1
87
2,014
01
78
M
6
null
3
1
I679_I469_I679_I10
0
2
2
2
78
2,014
01
83
M
4
null
3
1
C66_C66_I10
0
1
1
1
83
2,014
01
59
F
4
null
3
1
C509_C509
0
1
1
1
59
2,014
01
57
M
1
null
4
1
C349_I269_C349_F179
0
2
2
2
57
2,014
01
57
F
4
null
2
1
C80_C780_C787_F179
0
1
1
1
57
2,014
01
63
F
2
null
6
1
I219_I469_I499_I219_I10_E669_E785
0
1
1
1
63
2,014
01
84
M
6
null
6
1
F03_F03_I10
0
1
1
1
84
2,014
01
68
M
4
null
5
1
C64_C64_C80
0
1
1
1
68
2,014
01
74
F
5
null
3
1
C349_C349
0
1
1
1
74
2,014
01
44
F
4
null
3
1
C509_C509
0
2
2
2
44
2,014
01
95
F
6
null
3
1
I248_I248
0
1
1
1
95
2,014
01
98
F
5
null
1
1
I110_I500_I48_I10_F03
0
1
1
1
98
2,014
01
76
F
6
null
6
1
J189_J189_I269
0
1
1
1
76
2,014
01
93
M
6
null
7
1
A047_R64_A047_K318_Y836_D371_I251_I739_G309
0
1
1
1
93
2,014
01
77
M
4
null
5
1
C349_C349
0
1
1
1
77
2,014
01
69
M
1
null
1
1
J189_J969_J189
0
1
1
1
69
2,014
01
86
M
6
null
4
1
G20_G20
0
1
1
1
86
2,014
01
63
M
2
null
3
1
I64_J449_I959_I64_I469_F191_F179
0
2
2
2
63
2,014
01
75
M
4
null
4
1
I500_I500_J449
0
1
1
1
75
2,014
01
67
M
2
null
3
1
C349_I499_C349_F179
0
2
2
2
67
2,014
01
82
F
4
null
3
1
G122_G122
0
1
1
1
82
2,014
01
77
F
4
null
3
1
G309_I469_T178_W80_G309
0
1
1
1
77
2,014
01
87
F
5
null
2
1
C80_C80
0
1
1
1
87
2,014
01
44
M
1
null
3
1
I420_I420_J960_I48
1
3
3
3
44
2,014
01
77
M
6
null
4
1
C189_C189_F03
0
1
1
1
77
2,014
01
91
F
6
null
3
1
C259_C259_K831_C80
0
1
1
1
91
2,014
01
99
M
7
null
4
1
C449_C449_I10_D649_I251
0
1
1
1
99
2,014
01
93
M
5
null
7
1
I516_I516
0
1
1
1
93
2,014
01
83
M
1
null
1
1
N179_J81_I500_N179_I519
0
1
1
1
83
2,014
01
60
F
1
null
4
1
C56_C56_N179_N139
0
1
1
1
60
2,014
01
88
F
4
null
3
1
I119_I119
0
1
1
1
88
2,014
01
65
M
4
null
4
1
C189_C189
0
2
2
2
65
2,014
01
67
M
4
null
3
1
J449_J449_F179_F172_I251_I519_F179
0
1
1
1
67
End of preview. Expand in Data Studio

NCHS mortality data 2014-2022

Description

This is a database (parquet format) containing publicly available multiple cause mortality data from the US (CDC/NCHS) for 2014-2022. Not all variables are included on this export. Please see below for restrictions on the use of these data imposed by NCHS. You can use the arrow package in R to open the file. See here for example analysis; https://github.com/DanWeinberger/pneumococcal_mortality/blob/main/analysis_nongeo.Rmd . For instance, save this file in a folder called "parquet3":

 

library(arrow)

library(dplyr)

pneumo.deaths.in <-  open_dataset("R:/parquet3", format = "parquet")  %>% #open the dataset
  filter(grepl("J13|A39|J181|A403|B953|G001", all_icd)) %>% #filter to records that have the selected ICD codes
 collect()  #call the dataset into memory. Note you should do any operations you canbefore calling 'collect()" due to memory issues

 

The variables included are named: (see full dictionary:https://www.cdc.gov/nchs/nvss/mortality_public_use_data.htm)

year: Calendar year of death

month: Calendar month of death

age_detail_number: number indicating year or part of year; can't be interpreted itself here. see agey variable instead

sex: M/F

place_of_death:

Place of Death and Decedent’s Status
Place of Death and Decedent’s Status
1 ... Hospital, Clinic or Medical Center
 - Inpatient
2 ... Hospital, Clinic or Medical Center
 - Outpatient or admitted to Emergency Room
3 ... Hospital, Clinic or Medical Center
 - Dead on Arrival
4 ... Decedent’s home
5 ... Hospice facility
6 ... Nursing home/long term care
7 ... Other
9 ... Place of death unknown 

all_icd: Cause of death coded as ICD10 codes. ICD1-ICD21 pasted into a single string, with separation of codes by an underscore 

hisp_recode: 0=Non-Hispanic; 1=Hispanic; 999= Not specified

race_recode: race coding prior to 2018 (reconciled in race_recode_new)

race_recode_alt:  race coding after 2018 (reconciled in race_recode_new)

race_recode_new:

  1='White'

  2= 'Black'

  3='Hispanic'

  4='American Indian'

  5='Asian/Pacific Islanders'

agey:

  age in years (or partial years for kids <12months)

 

 

https://www.cdc.gov/nchs/data_access/restrictions.htm

Please Read Carefully Before Using NCHS Public Use Survey Data

The National Center for Health Statistics (NCHS), Centers for Disease Control and Prevention (CDC), conducts statistical and epidemiological activities under the authority granted by the Public Health Service Act (42 U.S.C. § 242k). NCHS survey data are protected by Federal confidentiality laws including Section 308(d) Public Health Service Act [42 U.S.C. 242m(d)] and the Confidential Information Protection and Statistical Efficiency Act or CIPSEA [Pub. L. No. 115-435, 132 Stat. 5529 § 302]. These confidentiality laws state the data collected by NCHS may be used only for statistical reporting and analysis. Any effort to determine the identity of individuals and establishments violates the assurances of confidentiality provided by federal law.

 

Terms and Conditions

NCHS does all it can to assure that the identity of individuals and establishments cannot be disclosed. All direct identifiers, as well as any characteristics that might lead to identification, are omitted from the dataset. Any intentional identification or disclosure of an individual or establishment violates the assurances of confidentiality given to the providers of the information. Therefore, users will:

  1. Use the data in this dataset for statistical reporting and analysis only.
  1. Make no attempt to learn the identity of any person or establishment included in these data.
  1. Not link this dataset with individually identifiable data from other NCHS or non-NCHS datasets.
  1. Not engage in any efforts to assess disclosure methodologies applied to protect individuals and establishments or any research on methods of re-identification of individuals and establishments.

By using these data you signify your agreement to comply with the above-stated statutorily based requirements.

 

Sanctions for Violating NCHS Data Use Agreement

Willfully disclosing any information that could identify a person or establishment in any manner to a person or agency not entitled to receive it, shall be guilty of a class E felony and imprisoned for not more than 5 years, or fined not more than $250,000, or both.

Authors

  • Daniel, Weinberger — Yale University

Citation

@misc{zenodo12808102,
  title = {NCHS mortality data 2014-2022},
  author = {Daniel, Weinberger},
  year = {2024},
  publisher = {Zenodo},
  doi = {10.5281/zenodo.12808102},
  url = {https://zenodo.org/records/12808102},
  version = {1}
}

Original Source

Repository: Zenodo

DOI: 10.5281/zenodo.12808102

Publication Date: 2024-07-24

Version: 1

Original Publisher: Zenodo

Original License: cc-by-4.0

Provenance

This dataset was originally published on Zenodo.

The original authors and DOI are preserved above.

Downloads last month
-