infile dictionary { *This program reads the 1994 NCHS Multiple Cause of Death Data Data File *by Jean Roth Mon Jul 14 16:29:14 EDT 2014 *Please report errors to jroth@nber.org *See the .do file for directions and run with do mort1994 *NOTE: This program is distributed under the GNU GPL. *See end of this file and http://www.gnu.org/licenses/ for details. _column(1 ) byte datayear %2f _column(19 ) byte rectype %1f _column(20 ) byte restatus %1f _column(21 ) str5 countyoc %5s _column(21 ) str2 stateoc %2s _column(26 ) byte region %1f _column(27 ) str2 divstoc %2s _column(29 ) str2 exstatoc %2s _column(31 ) str5 countyrs %5s _column(31 ) str2 staters %2s _column(36 ) str5 cityrs %5s _column(39 ) str1 popsize %1s _column(40 ) str1 metro %1s _column(41 ) byte regnres %1f _column(42 ) byte divstres %2f _column(44 ) str2 exstares %2s _column(46 ) str3 pmsares %3s _column(49 ) byte popsizoc %1f _column(50 ) str1 popsizrs %1s _column(51 ) str1 popmsa %1s _column(52 ) byte educ %2f _column(54 ) byte educr %1f _column(55 ) byte monthdth %2f _column(59 ) byte sex %1f _column(60 ) byte race %2f _column(62 ) byte racer3 %1f _column(63 ) byte racer2 %1f _column(64 ) int age %3f _column(67 ) byte ager52 %2f _column(69 ) byte ager27 %2f _column(71 ) byte ager12 %2f _column(73 ) byte ager22 %2f _column(75 ) byte placdth %1f _column(77 ) byte marstat %1f _column(78 ) byte statebth %2f _column(80 ) byte hispanic %2f _column(82 ) byte hspanicr %1f _column(83 ) byte weekday %1f _column(84 ) byte autopsy %1f _column(85 ) int industry %3f _column(88 ) int occup %3f _column(91 ) int ucr52 %3f _column(97 ) str5 fipscity %5s _column(119 ) str5 fipsctyo %5s _column(119 ) str2 fipssto %2s _column(124 ) str5 fipsctyr %5s _column(124 ) str2 fipsstr %2s _column(129 ) str4 fipspmsa %4s _column(134 ) str2 fipscmsa %2s _column(136 ) byte injwork %1f _column(137 ) byte raceimp %1f _column(138 ) byte ageflag %1f _column(141 ) byte accident %1f _column(142 ) str4 ucod %4s _column(146 ) long ucr282 %5f _column(151 ) int ucr72 %3f _column(154 ) int ucr61 %3f _column(157 ) int ucr34 %3f _column(160 ) byte eanum %2f _column(162 ) byte econdp_1 %1f "Part/line number on certificate 1" _column(163 ) str1 econds_1 %1s "Sequence of condition within part/line 1" _column(164 ) str4 enicon_1 %4s "Condition code 1 (ICD 9th Revision)" _column(168 ) byte eniflag_1 %1f "Nature of Injury Flag 1" _column(169 ) byte econdp_2 %1f "Part/line number on certificate 2" _column(170 ) str1 econds_2 %1s "Sequence of condition within part/line 2" _column(171 ) str4 enicon_2 %4s "Condition code 2 (ICD 9th Revision)" _column(175 ) byte eniflag_2 %1f "Nature of Injury Flag 2" _column(176 ) byte econdp_3 %1f "Part/line number on certificate 3" _column(177 ) str1 econds_3 %1s "Sequence of condition within part/line 3" _column(178 ) str4 enicon_3 %4s "Condition code 3 (ICD 9th Revision)" _column(182 ) byte eniflag_3 %1f "Nature of Injury Flag 3" _column(183 ) byte econdp_4 %1f "Part/line number on certificate 4" _column(184 ) str1 econds_4 %1s "Sequence of condition within part/line 4" _column(185 ) str4 enicon_4 %4s "Condition code 4 (ICD 9th Revision)" _column(189 ) byte eniflag_4 %1f "Nature of Injury Flag 4" _column(190 ) byte econdp_5 %1f "Part/line number on certificate 5" _column(191 ) str1 econds_5 %1s "Sequence of condition within part/line 5" _column(192 ) str4 enicon_5 %4s "Condition code 5 (ICD 9th Revision)" _column(196 ) byte eniflag_5 %1f "Nature of Injury Flag 5" _column(197 ) byte econdp_6 %1f "Part/line number on certificate 6" _column(198 ) str1 econds_6 %1s "Sequence of condition within part/line 6" _column(199 ) str4 enicon_6 %4s "Condition code 6 (ICD 9th Revision)" _column(203 ) byte eniflag_6 %1f "Nature of Injury Flag 6" _column(204 ) byte econdp_7 %1f "Part/line number on certificate 7" _column(205 ) str1 econds_7 %1s "Sequence of condition within part/line 7" _column(206 ) str4 enicon_7 %4s "Condition code 7 (ICD 9th Revision)" _column(210 ) byte eniflag_7 %1f "Nature of Injury Flag 7" _column(211 ) byte econdp_8 %1f "Part/line number on certificate 8" _column(212 ) str1 econds_8 %1s "Sequence of condition within part/line 8" _column(213 ) str4 enicon_8 %4s "Condition code 8 (ICD 9th Revision)" _column(217 ) byte eniflag_8 %1f "Nature of Injury Flag 8" _column(218 ) byte econdp_9 %1f "Part/line number on certificate 9" _column(219 ) str1 econds_9 %1s "Sequence of condition within part/line 9" _column(220 ) str4 enicon_9 %4s "Condition code 9 (ICD 9th Revision)" _column(224 ) byte eniflag_9 %1f "Nature of Injury Flag 9" _column(225 ) byte econdp_10 %1f "Part/line number on certificate 10" _column(226 ) str1 econds_10 %1s "Sequence of condition within part/line 10" _column(227 ) str4 enicon_10 %4s "Condition code 10 (ICD 9th Revision)" _column(231 ) byte eniflag_10 %1f "Nature of Injury Flag 10" _column(232 ) byte econdp_11 %1f "Part/line number on certificate 11" _column(233 ) str1 econds_11 %1s "Sequence of condition within part/line 11" _column(234 ) str4 enicon_11 %4s "Condition code 11 (ICD 9th Revision)" _column(238 ) byte eniflag_11 %1f "Nature of Injury Flag 11" _column(239 ) byte econdp_12 %1f "Part/line number on certificate 12" _column(240 ) str1 econds_12 %1s "Sequence of condition within part/line 12" _column(241 ) str4 enicon_12 %4s "Condition code 12 (ICD 9th Revision)" _column(245 ) byte eniflag_12 %1f "Nature of Injury Flag 12" _column(246 ) byte econdp_13 %1f "Part/line number on certificate 13" _column(247 ) str1 econds_13 %1s "Sequence of condition within part/line 13" _column(248 ) str4 enicon_13 %4s "Condition code 13 (ICD 9th Revision)" _column(252 ) byte eniflag_13 %1f "Nature of Injury Flag 13" _column(253 ) byte econdp_14 %1f "Part/line number on certificate 14" _column(254 ) str1 econds_14 %1s "Sequence of condition within part/line 14" _column(255 ) str4 enicon_14 %4s "Condition code 14 (ICD 9th Revision)" _column(259 ) byte eniflag_14 %1f "Nature of Injury Flag 14" _column(260 ) byte econdp_15 %1f "Part/line number on certificate 15" _column(261 ) str1 econds_15 %1s "Sequence of condition within part/line 15" _column(262 ) str4 enicon_15 %4s "Condition code 15 (ICD 9th Revision)" _column(266 ) byte eniflag_15 %1f "Nature of Injury Flag 15" _column(267 ) byte econdp_16 %1f "Part/line number on certificate 16" _column(268 ) str1 econds_16 %1s "Sequence of condition within part/line 16" _column(269 ) str4 enicon_16 %4s "Condition code 16 (ICD 9th Revision)" _column(273 ) byte eniflag_16 %1f "Nature of Injury Flag 16" _column(274 ) byte econdp_17 %1f "Part/line number on certificate 17" _column(275 ) str1 econds_17 %1s "Sequence of condition within part/line 17" _column(276 ) str4 enicon_17 %4s "Condition code 17 (ICD 9th Revision)" _column(280 ) byte eniflag_17 %1f "Nature of Injury Flag 17" _column(281 ) byte econdp_18 %1f "Part/line number on certificate 18" _column(282 ) str1 econds_18 %1s "Sequence of condition within part/line 18" _column(283 ) str4 enicon_18 %4s "Condition code 18 (ICD 9th Revision)" _column(287 ) byte eniflag_18 %1f "Nature of Injury Flag 18" _column(288 ) byte econdp_19 %1f "Part/line number on certificate 19" _column(289 ) str1 econds_19 %1s "Sequence of condition within part/line 19" _column(290 ) str4 enicon_19 %4s "Condition code 19 (ICD 9th Revision)" _column(294 ) byte eniflag_19 %1f "Nature of Injury Flag 19" _column(295 ) byte econdp_20 %1f "Part/line number on certificate 20" _column(296 ) str1 econds_20 %1s "Sequence of condition within part/line 20" _column(297 ) str4 enicon_20 %4s "Condition code 20 (ICD 9th Revision)" _column(301 ) byte eniflag_20 %1f "Nature of Injury Flag 20" _column(338 ) byte ranum %2f _column(341 ) str4 record_1 %4s "Record-Axis Condition Code 1 (ICD 9th Revision)" _column(345 ) byte rniflag_1 %1f "Nature of Injury Flag 1" _column(346 ) str4 record_2 %4s "Record-Axis Condition Code 2 (ICD 9th Revision)" _column(350 ) byte rniflag_2 %1f "Nature of Injury Flag 2" _column(351 ) str4 record_3 %4s "Record-Axis Condition Code 3 (ICD 9th Revision)" _column(355 ) byte rniflag_3 %1f "Nature of Injury Flag 3" _column(356 ) str4 record_4 %4s "Record-Axis Condition Code 4 (ICD 9th Revision)" _column(360 ) byte rniflag_4 %1f "Nature of Injury Flag 4" _column(361 ) str4 record_5 %4s "Record-Axis Condition Code 5 (ICD 9th Revision)" _column(365 ) byte rniflag_5 %1f "Nature of Injury Flag 5" _column(366 ) str4 record_6 %4s "Record-Axis Condition Code 6 (ICD 9th Revision)" _column(370 ) byte rniflag_6 %1f "Nature of Injury Flag 6" _column(371 ) str4 record_7 %4s "Record-Axis Condition Code 7 (ICD 9th Revision)" _column(375 ) byte rniflag_7 %1f "Nature of Injury Flag 7" _column(376 ) str4 record_8 %4s "Record-Axis Condition Code 8 (ICD 9th Revision)" _column(380 ) byte rniflag_8 %1f "Nature of Injury Flag 8" _column(381 ) str4 record_9 %4s "Record-Axis Condition Code 9 (ICD 9th Revision)" _column(385 ) byte rniflag_9 %1f "Nature of Injury Flag 9" _column(386 ) str4 record_10 %4s "Record-Axis Condition Code 10 (ICD 9th Revision)" _column(390 ) byte rniflag_10 %1f "Nature of Injury Flag 10" _column(391 ) str4 record_11 %4s "Record-Axis Condition Code 11 (ICD 9th Revision)" _column(395 ) byte rniflag_11 %1f "Nature of Injury Flag 11" _column(396 ) str4 record_12 %4s "Record-Axis Condition Code 12 (ICD 9th Revision)" _column(400 ) byte rniflag_12 %1f "Nature of Injury Flag 12" _column(401 ) str4 record_13 %4s "Record-Axis Condition Code 13 (ICD 9th Revision)" _column(405 ) byte rniflag_13 %1f "Nature of Injury Flag 13" _column(406 ) str4 record_14 %4s "Record-Axis Condition Code 14 (ICD 9th Revision)" _column(410 ) byte rniflag_14 %1f "Nature of Injury Flag 14" _column(411 ) str4 record_15 %4s "Record-Axis Condition Code 15 (ICD 9th Revision)" _column(415 ) byte rniflag_15 %1f "Nature of Injury Flag 15" _column(416 ) str4 record_16 %4s "Record-Axis Condition Code 16 (ICD 9th Revision)" _column(420 ) byte rniflag_16 %1f "Nature of Injury Flag 16" _column(421 ) str4 record_17 %4s "Record-Axis Condition Code 17 (ICD 9th Revision)" _column(425 ) byte rniflag_17 %1f "Nature of Injury Flag 17" _column(426 ) str4 record_18 %4s "Record-Axis Condition Code 18 (ICD 9th Revision)" _column(430 ) byte rniflag_18 %1f "Nature of Injury Flag 18" _column(431 ) str4 record_19 %4s "Record-Axis Condition Code 19 (ICD 9th Revision)" _column(435 ) byte rniflag_19 %1f "Nature of Injury Flag 19" _column(436 ) str4 record_20 %4s "Record-Axis Condition Code 20 (ICD 9th Revision)" _column(440 ) byte rniflag_20 %1f "Nature of Injury Flag 20" } ** Copyright 2014 shared by the National Bureau of Economic Research and Jean Roth ; ** ** National Bureau of Economic Research. ; ** 1050 Massachusetts Avenue ; ** Cambridge, MA 02138 ; ** jroth@nber.org ; ** ** This program and all programs referenced in it are free software. You ; ** can redistribute the program or modify it under the terms of the GNU ; ** General Public License as published by the Free Software Foundation; ; ** either version 2 of the License, or (at your option) any later version. ; ** ** This program is distributed in the hope that it will be useful, ; ** but WITHOUT ANY WARRANTY -- without even the implied warranty of ; ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; ** GNU General Public License for more details. ; ** ** You should have received a copy of the GNU General Public License ; ** along with this program -- if not, write to the Free Software ; ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ; ** USA. ;