--------------------------------------------------------------------------- name: log: /disk/data3/mortality/2018a/convert.log log type: text opened on: 29 Sep 2020, 14:53:06 . #delimit ; delimiter now ; . foreach file in > Mort2018PS.PubUse > Mort2018US.PubUse > { > ; 2. #delimit cr delimiter now cr . di "`file'" 3. clear 4. infile using mort2018.dct,using("`file'.txt") 5. des 6. saveold `file'.dta,replace 7. export delimited using "`file'.csv",replace 8. ! st `file'.dta `file'.sas7bdat 9. } Mort2018PS.PubUse infile dictionary { *This program reads the 2017 NCHS Multiple Cause of Death Data Data File *by Jean Roth Wed Jan 3 11:20:46 EST 2018 *Please report errors to jroth@nber.org *See the .do file for directions and run with do mort2017 *NOTE: This program is distributed under the GNU GPL. *See end of this file and http://www.gnu.org/licenses/ for details. _column(20 ) byte restatus %1f "Resident Stat > us" _column(61 ) byte educ1989 %2f "Education (19 > 89 revision)" _column(63 ) byte educ2003 %1f "Education (20 > 03 revision)" _column(64 ) byte educflag %1f "Education rep > orting flag" _column(65 ) byte monthdth %2f "Month of Deat > h" _column(69 ) str1 sex %1s "Sex" > _column(70 ) int age %4f "Detail Age" > _column(74 ) byte ageflag %1f "Age Substitut > ion Flag" _column(75 ) byte ager52 %2f "Age Recode 52 > " _column(77 ) byte ager27 %2f "Age Recode 27 > " _column(79 ) byte ager12 %2f "Age Recode 12 > " _column(81 ) byte ager22 %2f "Infant Age Re > code 22" _column(83 ) byte placdth %1f "Place of Deat > h and Decedent's Status" _column(84 ) str1 marstat %1s "Marital Statu > s" _column(85 ) byte weekday %1f "Day of Week o > f Death" _column(102 ) int year %4f "Current Data > Year" _column(106 ) str1 injwork %1s "Injury at Wor > k" _column(107 ) byte mandeath %1f "Manner of dea > th" _column(108 ) str1 methdisp %1s "Method of dis > position" _column(109 ) str1 autopsy %1s "Autopsy" > _column(144 ) byte activity %1f "Activity code > " _column(145 ) byte injury %1f "Place of Inju > ry for Causes W00-Y34 except Y06.- and Y07.-" _column(146 ) str4 ucod %4s "ICD Code (10t > h Revision)" _column(150 ) int ucr358 %3f "358 Cause Rec > ode" _column(154 ) int ucr113 %3f "113 Cause Rec > ode" _column(157 ) int ucr130 %3f "130 Cause Rec > ode" _column(160 ) byte ucr39 %2f "39 Cause Reco > de" _column(163 ) byte eanum %2f "Number of Ent > ity-Axis Conditions" _column(165 ) byte econdp_1 %1f "Part/line num > ber on certificate 1" _column(166 ) byte econds_1 %1f "Sequence of c > ondition within part/line 1" _column(167 ) str4 enicon_1 %4s "Condition cod > e 1" _column(172 ) byte econdp_2 %1f "Part/line num > ber on certificate 2" _column(173 ) byte econds_2 %1f "Sequence of c > ondition within part/line 2" _column(174 ) str4 enicon_2 %4s "Condition cod > e 2" _column(179 ) byte econdp_3 %1f "Part/line num > ber on certificate 3" _column(180 ) byte econds_3 %1f "Sequence of c > ondition within part/line 3" _column(181 ) str4 enicon_3 %4s "Condition cod > e 3" _column(186 ) byte econdp_4 %1f "Part/line num > ber on certificate 4" _column(187 ) byte econds_4 %1f "Sequence of c > ondition within part/line 4" _column(188 ) str4 enicon_4 %4s "Condition cod > e 4" _column(193 ) byte econdp_5 %1f "Part/line num > ber on certificate 5" _column(194 ) byte econds_5 %1f "Sequence of c > ondition within part/line 5" _column(195 ) str4 enicon_5 %4s "Condition cod > e 5" _column(200 ) byte econdp_6 %1f "Part/line num > ber on certificate 6" _column(201 ) byte econds_6 %1f "Sequence of c > ondition within part/line 6" _column(202 ) str4 enicon_6 %4s "Condition cod > e 6" _column(207 ) byte econdp_7 %1f "Part/line num > ber on certificate 7" _column(208 ) byte econds_7 %1f "Sequence of c > ondition within part/line 7" _column(209 ) str4 enicon_7 %4s "Condition cod > e 7" _column(214 ) byte econdp_8 %1f "Part/line num > ber on certificate 8" _column(215 ) byte econds_8 %1f "Sequence of c > ondition within part/line 8" _column(216 ) str4 enicon_8 %4s "Condition cod > e 8" _column(221 ) byte econdp_9 %1f "Part/line num > ber on certificate 9" _column(222 ) byte econds_9 %1f "Sequence of c > ondition within part/line 9" _column(223 ) str4 enicon_9 %4s "Condition cod > e 9" _column(228 ) byte econdp_10 %1f "Part/line num > ber on certificate 10" _column(229 ) byte econds_10 %1f "Sequence of c > ondition within part/line 10" _column(230 ) str4 enicon_10 %4s "Condition cod > e 10" _column(235 ) byte econdp_11 %1f "Part/line num > ber on certificate 11" _column(236 ) byte econds_11 %1f "Sequence of c > ondition within part/line 11" _column(237 ) str4 enicon_11 %4s "Condition cod > e 11" _column(242 ) byte econdp_12 %1f "Part/line num > ber on certificate 12" _column(243 ) byte econds_12 %1f "Sequence of c > ondition within part/line 12" _column(244 ) str4 enicon_12 %4s "Condition cod > e 12" _column(249 ) byte econdp_13 %1f "Part/line num > ber on certificate 13" _column(250 ) byte econds_13 %1f "Sequence of c > ondition within part/line 13" _column(251 ) str4 enicon_13 %4s "Condition cod > e 13" _column(256 ) byte econdp_14 %1f "Part/line num > ber on certificate 14" _column(257 ) byte econds_14 %1f "Sequence of c > ondition within part/line 14" _column(258 ) str4 enicon_14 %4s "Condition cod > e 14" _column(263 ) byte econdp_15 %1f "Part/line num > ber on certificate 15" _column(264 ) byte econds_15 %1f "Sequence of c > ondition within part/line 15" _column(265 ) str4 enicon_15 %4s "Condition cod > e 15" _column(270 ) byte econdp_16 %1f "Part/line num > ber on certificate 16" _column(271 ) byte econds_16 %1f "Sequence of c > ondition within part/line 16" _column(272 ) str4 enicon_16 %4s "Condition cod > e 16" _column(277 ) byte econdp_17 %1f "Part/line num > ber on certificate 17" _column(278 ) byte econds_17 %1f "Sequence of c > ondition within part/line 17" _column(279 ) str4 enicon_17 %4s "Condition cod > e 17" _column(284 ) byte econdp_18 %1f "Part/line num > ber on certificate 18" _column(285 ) byte econds_18 %1f "Sequence of c > ondition within part/line 18" _column(286 ) str4 enicon_18 %4s "Condition cod > e 18" _column(291 ) byte econdp_19 %1f "Part/line num > ber on certificate 19" _column(292 ) byte econds_19 %1f "Sequence of c > ondition within part/line 19" _column(293 ) str4 enicon_19 %4s "Condition cod > e 19" _column(298 ) byte econdp_20 %1f "Part/line num > ber on certificate 20" _column(299 ) byte econds_20 %1f "Sequence of c > ondition within part/line 20" _column(300 ) str4 enicon_20 %4s "Condition cod > e 20" _column(341 ) byte ranum %2f "Number of Rec > ord-Axis Conditions" _column(344 ) str4 record_1 %4s "Condition 1" > _column(349 ) str4 record_2 %4s "Condition 2" > _column(354 ) str4 record_3 %4s "Condition 3" > _column(359 ) str4 record_4 %4s "Condition 4" > _column(364 ) str4 record_5 %4s "Condition 5" > _column(369 ) str4 record_6 %4s "Condition 6" > _column(374 ) str4 record_7 %4s "Condition 7" > _column(379 ) str4 record_8 %4s "Condition 8" > _column(384 ) str4 record_9 %4s "Condition 9" > _column(389 ) str4 record_10 %4s "Condition 10" > _column(394 ) str4 record_11 %4s "Condition 11" > _column(399 ) str4 record_12 %4s "Condition 12" > _column(404 ) str4 record_13 %4s "Condition 13" > _column(409 ) str4 record_14 %4s "Condition 14" > _column(414 ) str4 record_15 %4s "Condition 15" > _column(419 ) str4 record_16 %4s "Condition 16" > _column(424 ) str4 record_17 %4s "Condition 17" > _column(429 ) str4 record_18 %4s "Condition 18" > _column(434 ) str4 record_19 %4s "Condition 19" > _column(439 ) str4 record_20 %4s "Condition 20" > _column(445 ) byte race %2f "Detail Race" > _column(447 ) byte brace %1f "Bridged Race > Flag" _column(448 ) byte raceimp %1f "Race Imputati > on Flag" _column(449 ) byte racer3 %1f "Race Recode 3 > " _column(450 ) byte racer5 %1f "Race Recode 5 > " _column(484 ) int hispanic %3f "Hispanic Orig > in" _column(488 ) byte hspanicr %1f "Hispanic Orig > in/Race Recode" } (30,495 observations read) Contains data obs: 30,495 vars: 116 --------------------------------------------------------------------------- storage display value variable name type format label variable label --------------------------------------------------------------------------- restatus byte %8.0g Resident Status educ1989 byte %8.0g Education (1989 revision) educ2003 byte %8.0g Education (2003 revision) educflag byte %8.0g Education reporting flag monthdth byte %8.0g Month of Death sex str1 %9s Sex age int %8.0g Detail Age ageflag byte %8.0g Age Substitution Flag ager52 byte %8.0g Age Recode 52 ager27 byte %8.0g Age Recode 27 ager12 byte %8.0g Age Recode 12 ager22 byte %8.0g Infant Age Recode 22 placdth byte %8.0g Place of Death and Decedent's Status marstat str1 %9s Marital Status weekday byte %8.0g Day of Week of Death year int %8.0g Current Data Year injwork str1 %9s Injury at Work mandeath byte %8.0g Manner of death methdisp str1 %9s Method of disposition autopsy str1 %9s Autopsy activity byte %8.0g Activity code injury byte %8.0g Place of Injury for Causes W00-Y34 except Y06.- and Y07.- ucod str4 %9s ICD Code (10th Revision) ucr358 int %8.0g 358 Cause Recode ucr113 int %8.0g 113 Cause Recode ucr130 int %8.0g 130 Cause Recode ucr39 byte %8.0g 39 Cause Recode eanum byte %8.0g Number of Entity-Axis Conditions econdp_1 byte %8.0g Part/line number on certificate 1 econds_1 byte %8.0g Sequence of condition within part/line 1 enicon_1 str4 %9s Condition code 1 econdp_2 byte %8.0g Part/line number on certificate 2 econds_2 byte %8.0g Sequence of condition within part/line 2 enicon_2 str4 %9s Condition code 2 econdp_3 byte %8.0g Part/line number on certificate 3 econds_3 byte %8.0g Sequence of condition within part/line 3 enicon_3 str4 %9s Condition code 3 econdp_4 byte %8.0g Part/line number on certificate 4 econds_4 byte %8.0g Sequence of condition within part/line 4 enicon_4 str4 %9s Condition code 4 econdp_5 byte %8.0g Part/line number on certificate 5 econds_5 byte %8.0g Sequence of condition within part/line 5 enicon_5 str4 %9s Condition code 5 econdp_6 byte %8.0g Part/line number on certificate 6 econds_6 byte %8.0g Sequence of condition within part/line 6 enicon_6 str4 %9s Condition code 6 econdp_7 byte %8.0g Part/line number on certificate 7 econds_7 byte %8.0g Sequence of condition within part/line 7 enicon_7 str4 %9s Condition code 7 econdp_8 byte %8.0g Part/line number on certificate 8 econds_8 byte %8.0g Sequence of condition within part/line 8 enicon_8 str4 %9s Condition code 8 econdp_9 byte %8.0g Part/line number on certificate 9 econds_9 byte %8.0g Sequence of condition within part/line 9 enicon_9 str4 %9s Condition code 9 econdp_10 byte %8.0g Part/line number on certificate 10 econds_10 byte %8.0g Sequence of condition within part/line 10 enicon_10 str4 %9s Condition code 10 econdp_11 byte %8.0g Part/line number on certificate 11 econds_11 byte %8.0g Sequence of condition within part/line 11 enicon_11 str4 %9s Condition code 11 econdp_12 byte %8.0g Part/line number on certificate 12 econds_12 byte %8.0g Sequence of condition within part/line 12 enicon_12 str4 %9s Condition code 12 econdp_13 byte %8.0g Part/line number on certificate 13 econds_13 byte %8.0g Sequence of condition within part/line 13 enicon_13 str4 %9s Condition code 13 econdp_14 byte %8.0g Part/line number on certificate 14 econds_14 byte %8.0g Sequence of condition within part/line 14 enicon_14 str4 %9s Condition code 14 econdp_15 byte %8.0g Part/line number on certificate 15 econds_15 byte %8.0g Sequence of condition within part/line 15 enicon_15 str4 %9s Condition code 15 econdp_16 byte %8.0g Part/line number on certificate 16 econds_16 byte %8.0g Sequence of condition within part/line 16 enicon_16 str4 %9s Condition code 16 econdp_17 byte %8.0g Part/line number on certificate 17 econds_17 byte %8.0g Sequence of condition within part/line 17 enicon_17 str4 %9s Condition code 17 econdp_18 byte %8.0g Part/line number on certificate 18 econds_18 byte %8.0g Sequence of condition within part/line 18 enicon_18 str4 %9s Condition code 18 econdp_19 byte %8.0g Part/line number on certificate 19 econds_19 byte %8.0g Sequence of condition within part/line 19 enicon_19 str4 %9s Condition code 19 econdp_20 byte %8.0g Part/line number on certificate 20 econds_20 byte %8.0g Sequence of condition within part/line 20 enicon_20 str4 %9s Condition code 20 ranum byte %8.0g Number of Record-Axis Conditions record_1 str4 %9s Condition 1 record_2 str4 %9s Condition 2 record_3 str4 %9s Condition 3 record_4 str4 %9s Condition 4 record_5 str4 %9s Condition 5 record_6 str4 %9s Condition 6 record_7 str4 %9s Condition 7 record_8 str4 %9s Condition 8 record_9 str4 %9s Condition 9 record_10 str4 %9s Condition 10 record_11 str4 %9s Condition 11 record_12 str4 %9s Condition 12 record_13 str4 %9s Condition 13 record_14 str4 %9s Condition 14 record_15 str4 %9s Condition 15 record_16 str4 %9s Condition 16 record_17 str4 %9s Condition 17 record_18 str4 %9s Condition 18 record_19 str4 %9s Condition 19 record_20 str4 %9s Condition 20 race byte %8.0g Detail Race brace byte %8.0g Bridged Race Flag raceimp byte %8.0g Race Imputation Flag racer3 byte %8.0g Race Recode 3 racer5 byte %8.0g Race Recode 5 hispanic int %8.0g Hispanic Origin hspanicr byte %8.0g Hispanic Origin/Race Recode --------------------------------------------------------------------------- Sorted by: Note: Dataset has changed since last saved. (saving in Stata 13 format) (FYI, saveold has options version(12) and version(11) that write files in older Stata formats) file Mort2018PS.PubUse.dta saved (note: file Mort2018PS.PubUse.csv not found) file Mort2018PS.PubUse.csv saved Mort2018US.PubUse infile dictionary { *This program reads the 2017 NCHS Multiple Cause of Death Data Data File *by Jean Roth Wed Jan 3 11:20:46 EST 2018 *Please report errors to jroth@nber.org *See the .do file for directions and run with do mort2017 *NOTE: This program is distributed under the GNU GPL. *See end of this file and http://www.gnu.org/licenses/ for details. _column(20 ) byte restatus %1f "Resident Stat > us" _column(61 ) byte educ1989 %2f "Education (19 > 89 revision)" _column(63 ) byte educ2003 %1f "Education (20 > 03 revision)" _column(64 ) byte educflag %1f "Education rep > orting flag" _column(65 ) byte monthdth %2f "Month of Deat > h" _column(69 ) str1 sex %1s "Sex" > _column(70 ) int age %4f "Detail Age" > _column(74 ) byte ageflag %1f "Age Substitut > ion Flag" _column(75 ) byte ager52 %2f "Age Recode 52 > " _column(77 ) byte ager27 %2f "Age Recode 27 > " _column(79 ) byte ager12 %2f "Age Recode 12 > " _column(81 ) byte ager22 %2f "Infant Age Re > code 22" _column(83 ) byte placdth %1f "Place of Deat > h and Decedent's Status" _column(84 ) str1 marstat %1s "Marital Statu > s" _column(85 ) byte weekday %1f "Day of Week o > f Death" _column(102 ) int year %4f "Current Data > Year" _column(106 ) str1 injwork %1s "Injury at Wor > k" _column(107 ) byte mandeath %1f "Manner of dea > th" _column(108 ) str1 methdisp %1s "Method of dis > position" _column(109 ) str1 autopsy %1s "Autopsy" > _column(144 ) byte activity %1f "Activity code > " _column(145 ) byte injury %1f "Place of Inju > ry for Causes W00-Y34 except Y06.- and Y07.-" _column(146 ) str4 ucod %4s "ICD Code (10t > h Revision)" _column(150 ) int ucr358 %3f "358 Cause Rec > ode" _column(154 ) int ucr113 %3f "113 Cause Rec > ode" _column(157 ) int ucr130 %3f "130 Cause Rec > ode" _column(160 ) byte ucr39 %2f "39 Cause Reco > de" _column(163 ) byte eanum %2f "Number of Ent > ity-Axis Conditions" _column(165 ) byte econdp_1 %1f "Part/line num > ber on certificate 1" _column(166 ) byte econds_1 %1f "Sequence of c > ondition within part/line 1" _column(167 ) str4 enicon_1 %4s "Condition cod > e 1" _column(172 ) byte econdp_2 %1f "Part/line num > ber on certificate 2" _column(173 ) byte econds_2 %1f "Sequence of c > ondition within part/line 2" _column(174 ) str4 enicon_2 %4s "Condition cod > e 2" _column(179 ) byte econdp_3 %1f "Part/line num > ber on certificate 3" _column(180 ) byte econds_3 %1f "Sequence of c > ondition within part/line 3" _column(181 ) str4 enicon_3 %4s "Condition cod > e 3" _column(186 ) byte econdp_4 %1f "Part/line num > ber on certificate 4" _column(187 ) byte econds_4 %1f "Sequence of c > ondition within part/line 4" _column(188 ) str4 enicon_4 %4s "Condition cod > e 4" _column(193 ) byte econdp_5 %1f "Part/line num > ber on certificate 5" _column(194 ) byte econds_5 %1f "Sequence of c > ondition within part/line 5" _column(195 ) str4 enicon_5 %4s "Condition cod > e 5" _column(200 ) byte econdp_6 %1f "Part/line num > ber on certificate 6" _column(201 ) byte econds_6 %1f "Sequence of c > ondition within part/line 6" _column(202 ) str4 enicon_6 %4s "Condition cod > e 6" _column(207 ) byte econdp_7 %1f "Part/line num > ber on certificate 7" _column(208 ) byte econds_7 %1f "Sequence of c > ondition within part/line 7" _column(209 ) str4 enicon_7 %4s "Condition cod > e 7" _column(214 ) byte econdp_8 %1f "Part/line num > ber on certificate 8" _column(215 ) byte econds_8 %1f "Sequence of c > ondition within part/line 8" _column(216 ) str4 enicon_8 %4s "Condition cod > e 8" _column(221 ) byte econdp_9 %1f "Part/line num > ber on certificate 9" _column(222 ) byte econds_9 %1f "Sequence of c > ondition within part/line 9" _column(223 ) str4 enicon_9 %4s "Condition cod > e 9" _column(228 ) byte econdp_10 %1f "Part/line num > ber on certificate 10" _column(229 ) byte econds_10 %1f "Sequence of c > ondition within part/line 10" _column(230 ) str4 enicon_10 %4s "Condition cod > e 10" _column(235 ) byte econdp_11 %1f "Part/line num > ber on certificate 11" _column(236 ) byte econds_11 %1f "Sequence of c > ondition within part/line 11" _column(237 ) str4 enicon_11 %4s "Condition cod > e 11" _column(242 ) byte econdp_12 %1f "Part/line num > ber on certificate 12" _column(243 ) byte econds_12 %1f "Sequence of c > ondition within part/line 12" _column(244 ) str4 enicon_12 %4s "Condition cod > e 12" _column(249 ) byte econdp_13 %1f "Part/line num > ber on certificate 13" _column(250 ) byte econds_13 %1f "Sequence of c > ondition within part/line 13" _column(251 ) str4 enicon_13 %4s "Condition cod > e 13" _column(256 ) byte econdp_14 %1f "Part/line num > ber on certificate 14" _column(257 ) byte econds_14 %1f "Sequence of c > ondition within part/line 14" _column(258 ) str4 enicon_14 %4s "Condition cod > e 14" _column(263 ) byte econdp_15 %1f "Part/line num > ber on certificate 15" _column(264 ) byte econds_15 %1f "Sequence of c > ondition within part/line 15" _column(265 ) str4 enicon_15 %4s "Condition cod > e 15" _column(270 ) byte econdp_16 %1f "Part/line num > ber on certificate 16" _column(271 ) byte econds_16 %1f "Sequence of c > ondition within part/line 16" _column(272 ) str4 enicon_16 %4s "Condition cod > e 16" _column(277 ) byte econdp_17 %1f "Part/line num > ber on certificate 17" _column(278 ) byte econds_17 %1f "Sequence of c > ondition within part/line 17" _column(279 ) str4 enicon_17 %4s "Condition cod > e 17" _column(284 ) byte econdp_18 %1f "Part/line num > ber on certificate 18" _column(285 ) byte econds_18 %1f "Sequence of c > ondition within part/line 18" _column(286 ) str4 enicon_18 %4s "Condition cod > e 18" _column(291 ) byte econdp_19 %1f "Part/line num > ber on certificate 19" _column(292 ) byte econds_19 %1f "Sequence of c > ondition within part/line 19" _column(293 ) str4 enicon_19 %4s "Condition cod > e 19" _column(298 ) byte econdp_20 %1f "Part/line num > ber on certificate 20" _column(299 ) byte econds_20 %1f "Sequence of c > ondition within part/line 20" _column(300 ) str4 enicon_20 %4s "Condition cod > e 20" _column(341 ) byte ranum %2f "Number of Rec > ord-Axis Conditions" _column(344 ) str4 record_1 %4s "Condition 1" > _column(349 ) str4 record_2 %4s "Condition 2" > _column(354 ) str4 record_3 %4s "Condition 3" > _column(359 ) str4 record_4 %4s "Condition 4" > _column(364 ) str4 record_5 %4s "Condition 5" > _column(369 ) str4 record_6 %4s "Condition 6" > _column(374 ) str4 record_7 %4s "Condition 7" > _column(379 ) str4 record_8 %4s "Condition 8" > _column(384 ) str4 record_9 %4s "Condition 9" > _column(389 ) str4 record_10 %4s "Condition 10" > _column(394 ) str4 record_11 %4s "Condition 11" > _column(399 ) str4 record_12 %4s "Condition 12" > _column(404 ) str4 record_13 %4s "Condition 13" > _column(409 ) str4 record_14 %4s "Condition 14" > _column(414 ) str4 record_15 %4s "Condition 15" > _column(419 ) str4 record_16 %4s "Condition 16" > _column(424 ) str4 record_17 %4s "Condition 17" > _column(429 ) str4 record_18 %4s "Condition 18" > _column(434 ) str4 record_19 %4s "Condition 19" > _column(439 ) str4 record_20 %4s "Condition 20" > _column(445 ) byte race %2f "Detail Race" > _column(447 ) byte brace %1f "Bridged Race > Flag" _column(448 ) byte raceimp %1f "Race Imputati > on Flag" _column(449 ) byte racer3 %1f "Race Recode 3 > " _column(450 ) byte racer5 %1f "Race Recode 5 > " _column(484 ) int hispanic %3f "Hispanic Orig > in" _column(488 ) byte hspanicr %1f "Hispanic Orig > in/Race Recode" } (2,846,305 observations read) Contains data obs: 2,846,305 vars: 116 --------------------------------------------------------------------------- storage display value variable name type format label variable label --------------------------------------------------------------------------- restatus byte %8.0g Resident Status educ1989 byte %8.0g Education (1989 revision) educ2003 byte %8.0g Education (2003 revision) educflag byte %8.0g Education reporting flag monthdth byte %8.0g Month of Death sex str1 %9s Sex age int %8.0g Detail Age ageflag byte %8.0g Age Substitution Flag ager52 byte %8.0g Age Recode 52 ager27 byte %8.0g Age Recode 27 ager12 byte %8.0g Age Recode 12 ager22 byte %8.0g Infant Age Recode 22 placdth byte %8.0g Place of Death and Decedent's Status marstat str1 %9s Marital Status weekday byte %8.0g Day of Week of Death year int %8.0g Current Data Year injwork str1 %9s Injury at Work mandeath byte %8.0g Manner of death methdisp str1 %9s Method of disposition autopsy str1 %9s Autopsy activity byte %8.0g Activity code injury byte %8.0g Place of Injury for Causes W00-Y34 except Y06.- and Y07.- ucod str4 %9s ICD Code (10th Revision) ucr358 int %8.0g 358 Cause Recode ucr113 int %8.0g 113 Cause Recode ucr130 int %8.0g 130 Cause Recode ucr39 byte %8.0g 39 Cause Recode eanum byte %8.0g Number of Entity-Axis Conditions econdp_1 byte %8.0g Part/line number on certificate 1 econds_1 byte %8.0g Sequence of condition within part/line 1 enicon_1 str4 %9s Condition code 1 econdp_2 byte %8.0g Part/line number on certificate 2 econds_2 byte %8.0g Sequence of condition within part/line 2 enicon_2 str4 %9s Condition code 2 econdp_3 byte %8.0g Part/line number on certificate 3 econds_3 byte %8.0g Sequence of condition within part/line 3 enicon_3 str4 %9s Condition code 3 econdp_4 byte %8.0g Part/line number on certificate 4 econds_4 byte %8.0g Sequence of condition within part/line 4 enicon_4 str4 %9s Condition code 4 econdp_5 byte %8.0g Part/line number on certificate 5 econds_5 byte %8.0g Sequence of condition within part/line 5 enicon_5 str4 %9s Condition code 5 econdp_6 byte %8.0g Part/line number on certificate 6 econds_6 byte %8.0g Sequence of condition within part/line 6 enicon_6 str4 %9s Condition code 6 econdp_7 byte %8.0g Part/line number on certificate 7 econds_7 byte %8.0g Sequence of condition within part/line 7 enicon_7 str4 %9s Condition code 7 econdp_8 byte %8.0g Part/line number on certificate 8 econds_8 byte %8.0g Sequence of condition within part/line 8 enicon_8 str4 %9s Condition code 8 econdp_9 byte %8.0g Part/line number on certificate 9 econds_9 byte %8.0g Sequence of condition within part/line 9 enicon_9 str4 %9s Condition code 9 econdp_10 byte %8.0g Part/line number on certificate 10 econds_10 byte %8.0g Sequence of condition within part/line 10 enicon_10 str4 %9s Condition code 10 econdp_11 byte %8.0g Part/line number on certificate 11 econds_11 byte %8.0g Sequence of condition within part/line 11 enicon_11 str4 %9s Condition code 11 econdp_12 byte %8.0g Part/line number on certificate 12 econds_12 byte %8.0g Sequence of condition within part/line 12 enicon_12 str4 %9s Condition code 12 econdp_13 byte %8.0g Part/line number on certificate 13 econds_13 byte %8.0g Sequence of condition within part/line 13 enicon_13 str4 %9s Condition code 13 econdp_14 byte %8.0g Part/line number on certificate 14 econds_14 byte %8.0g Sequence of condition within part/line 14 enicon_14 str4 %9s Condition code 14 econdp_15 byte %8.0g Part/line number on certificate 15 econds_15 byte %8.0g Sequence of condition within part/line 15 enicon_15 str4 %9s Condition code 15 econdp_16 byte %8.0g Part/line number on certificate 16 econds_16 byte %8.0g Sequence of condition within part/line 16 enicon_16 str4 %9s Condition code 16 econdp_17 byte %8.0g Part/line number on certificate 17 econds_17 byte %8.0g Sequence of condition within part/line 17 enicon_17 str4 %9s Condition code 17 econdp_18 byte %8.0g Part/line number on certificate 18 econds_18 byte %8.0g Sequence of condition within part/line 18 enicon_18 str4 %9s Condition code 18 econdp_19 byte %8.0g Part/line number on certificate 19 econds_19 byte %8.0g Sequence of condition within part/line 19 enicon_19 str4 %9s Condition code 19 econdp_20 byte %8.0g Part/line number on certificate 20 econds_20 byte %8.0g Sequence of condition within part/line 20 enicon_20 str4 %9s Condition code 20 ranum byte %8.0g Number of Record-Axis Conditions record_1 str4 %9s Condition 1 record_2 str4 %9s Condition 2 record_3 str4 %9s Condition 3 record_4 str4 %9s Condition 4 record_5 str4 %9s Condition 5 record_6 str4 %9s Condition 6 record_7 str4 %9s Condition 7 record_8 str4 %9s Condition 8 record_9 str4 %9s Condition 9 record_10 str4 %9s Condition 10 record_11 str4 %9s Condition 11 record_12 str4 %9s Condition 12 record_13 str4 %9s Condition 13 record_14 str4 %9s Condition 14 record_15 str4 %9s Condition 15 record_16 str4 %9s Condition 16 record_17 str4 %9s Condition 17 record_18 str4 %9s Condition 18 record_19 str4 %9s Condition 19 record_20 str4 %9s Condition 20 race byte %8.0g Detail Race brace byte %8.0g Bridged Race Flag raceimp byte %8.0g Race Imputation Flag racer3 byte %8.0g Race Recode 3 racer5 byte %8.0g Race Recode 5 hispanic int %8.0g Hispanic Origin hspanicr byte %8.0g Hispanic Origin/Race Recode --------------------------------------------------------------------------- Sorted by: Note: Dataset has changed since last saved. (saving in Stata 13 format) (FYI, saveold has options version(12) and version(11) that write files in older Stata formats) file Mort2018US.PubUse.dta saved (note: file Mort2018US.PubUse.csv not found) file Mort2018US.PubUse.csv saved . htmlcb, dir(".") saving("desc") file desc already exists r(602); end of do-file r(602); . htmlcb,dir(".") saving("desc") replace Output written to desc . exit,clear