Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 1.52 KB

README.md

File metadata and controls

18 lines (14 loc) · 1.52 KB

R_programming_assignment3

This is the assignment 3 of Coursera course — R Programming (Data Science: Foundations using R).

Introduction

The assignment is about creating programmes for filtering hospitals according to different conditions. The data for this assignment come from the Hospital Compare web site (http://hospitalcompare.hhs.gov) run by the U.S. Department of Health and Human Services. The purpose of the web site is to provide data and information about the quality of care at over 4,000 Medicare-certified hospitals in the U.S. This dataset es- sentially covers all major U.S. hospitals. This dataset is used for a variety of purposes, including determining whether hospitals should be fined for not providing high quality care to patients (see http://goo.gl/jAXFX for some background on this particular topic).

Data

This assignment only look at a small subset of the data from the Hospital Compare web site.

  • outcome-of-care-measures.csv: Contains information about 30-day mortality and readmission rates for heart attacks, heart failure, and pneumonia for over 4,000 hospitals.
  • hospital-data.csv: Contains information about each hospital.
  • Hospital_Revised_Flatfiles.pdf: Descriptions of the variables in each file (i.e the code book).

Codes

  • best_task2.csv: Find the best hospital in a state
  • rankhospital_task3.csv: Ranking hospitals by outcome in a state
  • rankall2_task4.csv: Ranking hospitals in all states

For more information of this project, please refer to ProjectAssignment_instruction.pdf.