Corrected output data.frame names to 'hospital' and 'state'