I have a list of insurance data. I want to identify and keep top 10 used insurance package. example: "LB0002 : PTCA with Baremetal Stent" should be assigned rank 1.
------------------ copy up to and including the previous line ------------------
Listed 100 out of 2000 observations
Use the count() option to list more
Code:
* Example generated by -dataex-. For more info, type help dataex clear input str122 package_procedure_name float(count_p num) "FP0036 : URSL (First Otr)" 10 1 "FP0036 : URSL (First Otr)" 10 4 "FP0036 : URSL (First Otr)" 10 2 "FP0036 : URSL (First Otr)" 10 10 "FP0036 : URSL (First Otr)" 10 5 "FP0036 : URSL (First Otr)" 10 3 "FP0036 : URSL (First Otr)" 10 7 "FP0036 : URSL (First Otr)" 10 6 "FP0036 : URSL (First Otr)" 10 9 "FP0036 : URSL (First Otr)" 10 8 "LB0002 : PTCA with Baremetal Stent" 52 23 "LB0002 : PTCA with Baremetal Stent" 52 11 "LB0002 : PTCA with Baremetal Stent" 52 26 "LB0002 : PTCA with Baremetal Stent" 52 35 "LB0002 : PTCA with Baremetal Stent" 52 2 "LB0002 : PTCA with Baremetal Stent" 52 14 "LB0002 : PTCA with Baremetal Stent" 52 28 "LB0002 : PTCA with Baremetal Stent" 52 7 "LB0002 : PTCA with Baremetal Stent" 52 13 "LB0002 : PTCA with Baremetal Stent" 52 37 "LB0002 : PTCA with Baremetal Stent" 52 22 "LB0002 : PTCA with Baremetal Stent" 52 43 "LB0002 : PTCA with Baremetal Stent" 52 34 "LB0002 : PTCA with Baremetal Stent" 52 10 "LB0002 : PTCA with Baremetal Stent" 52 30 "LB0002 : PTCA with Baremetal Stent" 52 36 "LB0002 : PTCA with Baremetal Stent" 52 40 "LB0002 : PTCA with Baremetal Stent" 52 41 "LB0002 : PTCA with Baremetal Stent" 52 24 "LB0002 : PTCA with Baremetal Stent" 52 4 "LB0002 : PTCA with Baremetal Stent" 52 49 "LB0002 : PTCA with Baremetal Stent" 52 1 "LB0002 : PTCA with Baremetal Stent" 52 29 "LB0002 : PTCA with Baremetal Stent" 52 18 "LB0002 : PTCA with Baremetal Stent" 52 9 "LB0002 : PTCA with Baremetal Stent" 52 16 "LB0002 : PTCA with Baremetal Stent" 52 17 "LB0002 : PTCA with Baremetal Stent" 52 47 "LB0002 : PTCA with Baremetal Stent" 52 15 "LB0002 : PTCA with Baremetal Stent" 52 6 "LB0002 : PTCA with Baremetal Stent" 52 38 "LB0002 : PTCA with Baremetal Stent" 52 45 "LB0002 : PTCA with Baremetal Stent" 52 27 "LB0002 : PTCA with Baremetal Stent" 52 46 "LB0002 : PTCA with Baremetal Stent" 52 5 "LB0002 : PTCA with Baremetal Stent" 52 48 "LB0002 : PTCA with Baremetal Stent" 52 33 "LB0002 : PTCA with Baremetal Stent" 52 12 "LB0002 : PTCA with Baremetal Stent" 52 3 "LB0002 : PTCA with Baremetal Stent" 52 21 "LB0002 : PTCA with Baremetal Stent" 52 52 "LB0002 : PTCA with Baremetal Stent" 52 39 "LB0002 : PTCA with Baremetal Stent" 52 50 "LB0002 : PTCA with Baremetal Stent" 52 51 "LB0002 : PTCA with Baremetal Stent" 52 20 "LB0002 : PTCA with Baremetal Stent" 52 31 "LB0002 : PTCA with Baremetal Stent" 52 19 "LB0002 : PTCA with Baremetal Stent" 52 42 "LB0002 : PTCA with Baremetal Stent" 52 44 "LB0002 : PTCA with Baremetal Stent" 52 8 "LB0002 : PTCA with Baremetal Stent" 52 32 "LB0002 : PTCA with Baremetal Stent" 52 25 "LB0004 : ASD Device Closure" 5 2 "LB0004 : ASD Device Closure" 5 4 "LB0004 : ASD Device Closure" 5 1 "LB0004 : ASD Device Closure" 5 5 "LB0004 : ASD Device Closure" 5 3 "LB0020 : Coronary Bypass Surgery" 25 4 "LB0020 : Coronary Bypass Surgery" 25 20 "LB0020 : Coronary Bypass Surgery" 25 1 "LB0020 : Coronary Bypass Surgery" 25 15 "LB0020 : Coronary Bypass Surgery" 25 21 "LB0020 : Coronary Bypass Surgery" 25 12 "LB0020 : Coronary Bypass Surgery" 25 7 "LB0020 : Coronary Bypass Surgery" 25 9 "LB0020 : Coronary Bypass Surgery" 25 11 "LB0020 : Coronary Bypass Surgery" 25 5 "LB0020 : Coronary Bypass Surgery" 25 14 "LB0020 : Coronary Bypass Surgery" 25 19 "LB0020 : Coronary Bypass Surgery" 25 18 "LB0020 : Coronary Bypass Surgery" 25 22 "LB0020 : Coronary Bypass Surgery" 25 25 "LB0020 : Coronary Bypass Surgery" 25 2 "LB0020 : Coronary Bypass Surgery" 25 24 "LB0020 : Coronary Bypass Surgery" 25 17 "LB0020 : Coronary Bypass Surgery" 25 6 "LB0020 : Coronary Bypass Surgery" 25 3 "LB0020 : Coronary Bypass Surgery" 25 13 "LB0020 : Coronary Bypass Surgery" 25 16 "LB0020 : Coronary Bypass Surgery" 25 8 "LB0020 : Coronary Bypass Surgery" 25 10 "LB0020 : Coronary Bypass Surgery" 25 23 "LB0026 : Mitral Valve Replacement (With Valve)" 12 2 "LB0026 : Mitral Valve Replacement (With Valve)" 12 10 "LB0026 : Mitral Valve Replacement (With Valve)" 12 8 "LB0026 : Mitral Valve Replacement (With Valve)" 12 1 "LB0026 : Mitral Valve Replacement (With Valve)" 12 11 "LB0026 : Mitral Valve Replacement (With Valve)" 12 12 "LB0026 : Mitral Valve Replacement (With Valve)" 12 5 "LB0026 : Mitral Valve Replacement (With Valve)" 12 7 end
Listed 100 out of 2000 observations
Use the count() option to list more
Comment