added code to use any of the 3 outcomes for the rest of the function
ranked and ordered hospitals by state
created the "worst" variable
TRYING to get outcomes, not working
trying another way with a column in the data frame
should work to select the correct obs.
this one may work
everything working except the NA for states with no rank of that number
may be working now
try again - worked on "worst" coding
need to fix the last section