ProgrammingAssignment4 rankhospital.R returns the hospital with a given rank from a given state. rankall.R just compiles a list of hospitals from all states (for a particular outcome) and returns a dataframe. Both files require rankheader.R to be sourced.