-
Notifications
You must be signed in to change notification settings - Fork 1
/
2008_core.r
1 lines (1 loc) · 2.24 KB
/
2008_core.r
1
full2008core <- read_fwf("NIS_2008_Core.ASC", fwf_positions(c(1,4,7,9,11,12,15,17,19,21,32,34,36,38,40,43,46,48,51,68,73,78,83,88,93,98,103,108,113,118,123,128,133,138,143,146,149,152,155,158,161,164,167,170,173,176,179,182,185,188,193,198,203,208,210,214,218,222,226,228,231,233,238,240,254,259,265,267,269,274,279,281,283,286,288,292,294,296,298,308,310,320,323,327,331,335,339,343,347,351,355,359,363,367,371,375,379,383,386,389,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,474,482,484,494,509,511,515), c(3,6,8,10,11,14,16,18,20,31,33,35,37,39,42,45,47,50,67,72,77,82,87,92,97,102,107,112,117,122,127,132,137,142,145,148,151,154,157,160,163,166,169,172,175,178,181,184,187,192,197,202,207,209,213,217,221,225,227,230,232,237,239,253,258,264,266,268,273,278,280,282,285,287,291,293,295,297,307,309,319,322,326,330,334,338,342,346,350,354,358,362,366,370,374,378,382,385,388,391,394,397,400,403,406,409,412,415,418,421,424,427,430,433,436,439,442,445,448,451,454,457,460,463,466,469,472,473,481,483,493,508,510,514,516), col_names = c("AGE","AGEDAY","AMONTH","ASOURCE","ASOURCEUB92","ASOURCE_X","ATYPE","AWEEKEND","DIED","DISCWT","DISPUB04","DISPUNIFORM","DQTR","DQTR_X","DRG","DRG24","DRGVER","DRG_NoPOA","DSHOSPID","DX1","DX2","DX3","DX4","DX5","DX6","DX7","DX8","DX9","DX10","DX11","DX12","DX13","DX14","DX15","DXCCS1","DXCCS2","DXCCS3","DXCCS4","DXCCS5","DXCCS6","DXCCS7","DXCCS8","DXCCS9","DXCCS10","DXCCS11","DXCCS12","DXCCS13","DXCCS14","DXCCS15","ECODE1","ECODE2","ECODE3","ECODE4","ELECTIVE","E_CCS1","E_CCS2","E_CCS3","E_CCS4","FEMALE","HCUP_ED","HOSPBRTH","HOSPID","HOSPST","KEY","LOS","LOS_X","MDC","MDC24","MDNUM1_R","MDNUM2_R","NCHRONIC","NDX","NECODE","NEOMAT","NIS_STRATUM","NPR","ORPROC","PAY1","PAY1_X","PAY2","PAY2_X","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","PointOfOriginUB04","PointOfOrigin_X","RACE","TOTCHG","TOTCHG_X","TRAN_IN","YEAR","ZIPINC_QRTL")))