-
Notifications
You must be signed in to change notification settings - Fork 1
/
2012_core.r
1 lines (1 loc) · 2.32 KB
/
2012_core.r
1
full2012core <- read_fwf("NIS_2012_Core.ASC", fwf_positions(c(1,4,6,8,10,12,23,25,27,30,33,35,38,43,48,53,58,63,68,73,78,83,88,93,98,103,108,113,118,123,128,133,138,143,148,153,158,163,166,169,172,175,178,181,184,187,190,193,196,199,202,205,208,211,214,217,220,223,226,229,232,235,238,243,248,253,258,260,264,268,272,276,278,281,283,285,290,300,305,307,309,311,313,315,318,320,324,326,328,330,333,337,341,345,349,353,357,361,365,369,373,377,381,385,389,393,396,399,402,405,408,411,414,417,420,423,426,429,432,435,438,441,444,447,450,453,456,459,462,465,468,471,474,477,480,483,485,495,497,499,503), c(3,5,7,9,11,22,24,26,29,32,34,37,42,47,52,57,62,67,72,77,82,87,92,97,102,107,112,117,122,127,132,137,142,147,152,157,162,165,168,171,174,177,180,183,186,189,192,195,198,201,204,207,210,213,216,219,222,225,228,231,234,237,242,247,252,257,259,263,267,271,275,277,280,282,284,289,299,304,306,308,310,312,314,317,319,323,325,327,329,332,336,340,344,348,352,356,360,364,368,372,376,380,384,388,392,395,398,401,404,407,410,413,416,419,422,425,428,431,434,437,440,443,446,449,452,455,458,461,464,467,470,473,476,479,482,484,494,496,498,502,504), col_names = c("AGE","AGE_NEONATE","AMONTH","AWEEKEND","DIED","DISCWT","DISPUNIFORM","DQTR","DRG","DRG24","DRGVER","DRG_NoPOA","DX1","DX2","DX3","DX4","DX5","DX6","DX7","DX8","DX9","DX10","DX11","DX12","DX13","DX14","DX15","DX16","DX17","DX18","DX19","DX20","DX21","DX22","DX23","DX24","DX25","DXCCS1","DXCCS2","DXCCS3","DXCCS4","DXCCS5","DXCCS6","DXCCS7","DXCCS8","DXCCS9","DXCCS10","DXCCS11","DXCCS12","DXCCS13","DXCCS14","DXCCS15","DXCCS16","DXCCS17","DXCCS18","DXCCS19","DXCCS20","DXCCS21","DXCCS22","DXCCS23","DXCCS24","DXCCS25","ECODE1","ECODE2","ECODE3","ECODE4","ELECTIVE","E_CCS1","E_CCS2","E_CCS3","E_CCS4","FEMALE","HCUP_ED","HOSPBRTH","HOSP_DIVISION","HOSP_NIS","KEY_NIS","LOS","MDC","MDC24","MDC_NoPOA","NCHRONIC","NDX","NECODE","NEOMAT","NIS_STRATUM","NPR","ORPROC","PAY1","PL_NCHS2006","PR1","PR2","PR3","PR4","PR5","PR6","PR7","PR8","PR9","PR10","PR11","PR12","PR13","PR14","PR15","PRCCS1","PRCCS2","PRCCS3","PRCCS4","PRCCS5","PRCCS6","PRCCS7","PRCCS8","PRCCS9","PRCCS10","PRCCS11","PRCCS12","PRCCS13","PRCCS14","PRCCS15","PRDAY1","PRDAY2","PRDAY3","PRDAY4","PRDAY5","PRDAY6","PRDAY7","PRDAY8","PRDAY9","PRDAY10","PRDAY11","PRDAY12","PRDAY13","PRDAY14","PRDAY15","RACE","TOTCHG","TRAN_IN","TRAN_OUT","YEAR","ZIPINC_QRTL")))