Overview

Medicare has collected data on many different hospitals throughout the country to allow users to compare the quality of these institutions before using their services. Data includes descriptions of the location of the hospitals, information about the hospitals' emergency services and type of hospital, and outpatient volume for the different wards of the hospitals.

https://data.medicare.gov/data/hospital-compare

Explore Structure




Index Type Example Value
0 dict { }
... ... ...
Key Type Example Value Comment
"Information" dict { }
"Outpatient Volume" dict { } Outpatient data for 2014.
"Provider ID" str "110004"
[Preview ]
"Location" dict { }
Value Count
"240063" 1
"180138" 1
"50423" 1
"50390" 1
"50393" 1
"50396" 1
"50394" 1
"390223" 1
"250102" 1
"460013" 1
"310041" 1
"390222" 1
"491304" 1
"450243" 1
"521358" 1
"310001" 1
"61303" 1
"521353" 1
"521352" 1
"390057" 1
"521350" 1
"521357" 1
"521356" 1
"240066" 1
"111329" 1
"450831" 1
"140033" 1
"450833" 1
"450832" 1
"180080" 1
"430048" 1
"171363" 1
"50426" 1
"08002F" 1
"110135" 1
"110132" 1
"110130" 1
"111332" 1
"111333" 1
"111330" 1
"111331" 1
"111336" 1
"111334" 1
"111335" 1
"310111" 1
"30016" 1
"210017" 1
"30087" 1
"170150" 1
"370106" 1
"30088" 1
"40029" 1
"370100" 1
"310003" 1
"140172" 1
"61305" 1
"50739" 1
"50738" 1
"340091" 1
"50735" 1
"50737" 1
"50736" 1
"250044" 1
"50732" 1
"190009" 1
"330073" 1
"360064" 1
"360065" 1
"330074" 1
"360068" 1
"330078" 1
"330079" 1
"370032" 1
"111304" 1
"330276" 1
"220016" 1
"330270" 1
"370037" 1
"370034" 1
"330273" 1
"370039" 1
"330279" 1
"390146" 1
"471303" 1
"471300" 1
"471301" 1
"471306" 1
"471307" 1
"471304" 1
"471305" 1
"451363" 1
"310005" 1
"61307" 1
"190266" 1
"171378" 1
"171379" 1
"390052" 1
"390050" 1
"171370" 1
"171371" 1
... ...
Key Type Example Value Comment
"City" str "FORT OGLETHORPE"
[Preview ]
"ZIP Code" str "30742"
[Preview ]
"Longitude" float -85.263105
"County" str "CATOOSA"
[Preview ]
"State" str "GA"
[Preview ]
"Address" str "100 GROSS CRESCENT"
[Preview ]
"Latitude" float 34.949143
Value Count
"CHICAGO" 27
"HOUSTON" 27
"LOS ANGELES" 20
"PHILADELPHIA" 20
"COLUMBUS" 19
"DALLAS" 18
"OKLAHOMA CITY" 17
"WASHINGTON" 17
"JACKSON" 17
"SPRINGFIELD" 16
"PHOENIX" 16
"BALTIMORE" 15
"NEW YORK" 13
"GREENVILLE" 13
"INDIANAPOLIS" 13
"COLUMBIA" 13
"MIAMI" 13
"LAFAYETTE" 13
"BROOKLYN" 13
"SAN ANTONIO" 13
"CLEVELAND" 12
"JACKSONVILLE" 12
"LAS VEGAS" 12
"BOSTON" 11
"PITTSBURGH" 11
"SAN FRANCISCO" 11
"FRANKLIN" 11
"ROCHESTER" 11
"OMAHA" 11
"AUSTIN" 11
"SALEM" 11
"LEXINGTON" 11
"NASHVILLE" 11
"MARION" 10
"RICHMOND" 10
"KANSAS CITY" 10
"LEBANON" 10
"MADISON" 10
"CLINTON" 10
"TULSA" 10
"PORTLAND" 10
"CINCINNATI" 9
"MONROE" 9
"ALBANY" 9
"BUFFALO" 9
"TROY" 9
"CHARLESTON" 9
"FORT WORTH" 9
"SEATTLE" 9
"AURORA" 8
"BIRMINGHAM" 8
"TAMPA" 8
"MONTICELLO" 8
"DETROIT" 8
"LOUISVILLE" 8
"HILLSBORO" 8
"DECATUR" 8
"ATLANTA" 8
"ARLINGTON" 8
"MINNEAPOLIS" 7
"EL PASO" 7
"SAINT LOUIS" 7
"ASHLAND" 7
"BRONX" 7
"DENVER" 7
"MOUNT PLEASANT" 7
"SAN JUAN" 7
"YORK" 7
"TUCSON" 7
"DAYTON" 7
"AUGUSTA" 7
"MOUNT VERNON" 7
"MEMPHIS" 7
"FAYETTEVILLE" 7
"DANVILLE" 7
"WICHITA" 7
"MANCHESTER" 7
"LANCASTER" 7
"WARREN" 7
"LONG BEACH" 7
"SAN DIEGO" 6
"ALEXANDRIA" 6
"GLENDALE" 6
"SALT LAKE CITY" 6
"HAMILTON" 6
"LINCOLN" 6
"MILWAUKEE" 6
"ALBUQUERQUE" 6
"BURLINGTON" 6
"WINCHESTER" 6
"SAINT PETERSBURG" 6
"NEWARK" 6
"ATHENS" 6
"FORT WAYNE" 6
"BATON ROUGE" 6
"SACRAMENTO" 6
"CARTHAGE" 6
"CANTON" 6
"LITTLE ROCK" 6
"CHARLOTTE" 6
... ...
Value Count
"76104" 6
"77030" 6
"48201" 5
"39216" 4
"39301" 4
"60612" 4
"33136" 4
"73120" 4
"10021" 4
"72205" 4
"78229" 4
"77479" 4
"79902" 4
"19104" 4
"75093" 4
"79106" 3
"75701" 3
"70508" 3
"90033" 3
"70503" 3
"85206" 3
"25301" 3
"78539" 3
"25801" 3
"71201" 3
"70458" 3
"11203" 3
"67226" 3
"13210" 3
"2115" 3
"12180" 3
"77054" 3
"79761" 3
"70433" 3
"99362" 3
"21201" 3
"57117" 3
"96001" 3
"936" 3
"75231" 3
"17403" 3
"93301" 3
"66048" 3
"46032" 3
"40202" 3
"12208" 3
"77004" 3
"71301" 3
"66211" 3
"68114" 3
"84107" 3
"90806" 3
"63901" 3
"74133" 3
"55805" 3
"72703" 3
"681" 3
"35233" 3
"77384" 2
"48075" 2
"19320" 2
"47403" 2
"725" 2
"11355" 2
"70810" 2
"97239" 2
"70070" 2
"60617" 2
"45219" 2
"46256" 2
"11777" 2
"25401" 2
"88011" 2
"78240" 2
"4011" 2
"71901" 2
"76132" 2
"733" 2
"75390" 2
"41101" 2
"87301" 2
"91402" 2
"90028" 2
"90023" 2
"26003" 2
"48341" 2
"45220" 2
"53715" 2
"93308" 2
"93230" 2
"39120" 2
"39232" 2
"92103" 2
"80228" 2
"4240" 2
"19805" 2
"37129" 2
"98902" 2
"91740" 2
"78613" 2
... ...
Value Count
"LOS ANGELES" 85
"COOK" 50
"JEFFERSON" 48
"WASHINGTON" 45
"MONTGOMERY" 43
"HARRIS" 41
"FRANKLIN" 37
"ORANGE" 35
"MARICOPA" 35
"JACKSON" 34
"MARION" 32
"WAYNE" 30
"DALLAS" 30
"LAKE" 29
"CLARK" 28
"LINCOLN" 27
"SUFFOLK" 25
"MADISON" 24
"POLK" 23
"HAMILTON" 23
"MIAMI-DADE" 22
"MONROE" 22
"DOUGLAS" 22
"JOHNSON" 21
"TARRANT" 21
"SAN JUAN" 20
"OKLAHOMA" 19
"UNION" 19
"MIDDLESEX" 19
"KING" 18
"FAYETTE" 18
"PHILADELPHIA" 18
"SAINT LOUIS" 18
"SAN BERNARDINO" 18
"ALLEGHENY" 17
"SAN DIEGO" 17
"CUYAHOGA" 17
"ESSEX" 17
"GRANT" 17
"KINGS" 16
"HILLSBOROUGH" 16
"ADAMS" 16
"GREENE" 15
"RIVERSIDE" 15
"LAWRENCE" 15
"BROWN" 15
"MERCER" 14
"FULTON" 14
"SHELBY" 14
"PULASKI" 14
"ALLEN" 14
"PALM BEACH" 14
"BROWARD" 14
"ERIE" 14
"NASSAU" 13
"CUMBERLAND" 13
"KNOX" 13
"CLAY" 13
"CARROLL" 13
"SALT LAKE" 13
"BEXAR" 13
"NEW YORK" 13
"BUTLER" 13
"MARSHALL" 13
"BALTIMORE CITY" 13
"WESTCHESTER" 12
"TRAVIS" 12
"DELAWARE" 12
"PINELLAS" 12
"TULSA" 12
"HARRISON" 12
"DAVIDSON" 12
"OAKLAND" 12
"WARREN" 12
"CRAWFORD" 11
"RICHLAND" 11
"SANTA CLARA" 11
"YORK" 11
"SAN FRANCISCO" 11
"CLINTON" 11
"COLLIN" 11
"CHEROKEE" 11
"ALAMEDA" 11
"LAFAYETTE" 11
"CALHOUN" 11
"HENNEPIN" 10
"MORGAN" 10
"WILLIAMSON" 10
"MILWAUKEE" 10
"LEE" 10
"HANCOCK" 10
"CASS" 10
"SCOTT" 10
"LANCASTER" 10
"RANDOLPH" 10
"WORCESTER" 10
"FLOYD" 9
"EL PASO" 9
"BENTON" 9
"PIERCE" 9
... ...
Value Count
"TX" 380
"CA" 346
"FL" 187
"NY" 185
"IL" 181
"PA" 176
"OH" 171
"MI" 137
"GA" 136
"MN" 133
"KS" 132
"IN" 128
"OK" 127
"WI" 127
"LA" 122
"IA" 118
"TN" 115
"NC" 114
"MO" 109
"MS" 99
"KY" 96
"AL" 93
"WA" 92
"NE" 91
"VA" 87
"CO" 79
"AZ" 78
"AR" 78
"MA" 69
"NJ" 64
"SC" 62
"OR" 61
"MT" 58
"SD" 55
"WV" 54
"PR" 52
"UT" 47
"MD" 46
"ND" 45
"ID" 42
"NM" 42
"ME" 37
"NV" 36
"CT" 32
"WY" 29
"NH" 26
"AK" 21
"HI" 18
"VT" 15
"RI" 12
"DC" 9
"DE" 7
"VI" 2
"MP" 1
"AS" 1
"GU" 1
Value Count
"100 HOSPITAL DRIVE" 7
"100 MEDICAL CENTER DRIVE" 4
"200 HOSPITAL DRIVE" 4
"1 MEDICAL CENTER DRIVE" 3
"1 HOSPITAL DRIVE" 3
"125 HOSPITAL DR" 2
"300 WILSON STREET" 2
"ONE MEDICAL CENTER DRIVE" 2
"101 HOSPITAL DRIVE" 2
"500 HOSPITAL DRIVE" 2
"100 MEDICAL DRIVE" 2
"100 HOSPITAL ROAD" 2
"800 WASHINGTON STREET" 2
"PO BOX 287" 2
"175 HOSPITAL DRIVE" 2
"4800 SAND POINT WAY NE, PO BOX C-5371" 1
"601 S CENTER AVE" 1
"1000 EAST 100 NORTH" 1
"36475 FIVE MILE ROAD" 1
"300 WERNER STREET" 1
"1501 NORTH WILLIAMSON AVENUE" 1
"302 SOUTH WAYNE STREET" 1
"115 SECOND STREET WEST, BOX 157" 1
"760 BROADWAY" 1
"22101 MOROSS RD" 1
"1306 MARICOPA HWY" 1
"10401 WEST THUNDERBIRD BOULEVARD" 1
"68 HARRIS BUSHVILLE ROAD" 1
"1325 COTTONWOOD STREET" 1
"310 BENNETT STREET PO BOX 1081" 1
"1003 US HIGHWAY 64 NORTH" 1
"900 S ATLANTIC BLVD" 1
"1300 EAST FIFTH AVENUE" 1
"1100 CENTRAL AVENUE SE" 1
"409 FIRST STREET" 1
"15200 COMMUNITY ROAD" 1
"1300 SOUTH MONTGOMERY AVENUE" 1
"1711 WEST TEMPLE STREET" 1
"630 EAST MEDICAL DRIVE" 1
"2200 KERNAN DRIVE" 1
"1015 MEDICAL CENTER PARKWAY" 1
"27100 CHARDON ROAD" 1
"1100 NINTH AVENUE (PO BOX 900)" 1
"1213 GARFIELD AVENUE" 1
"187 WOLFORD AVENUE" 1
"677 CHURCH STREET" 1
"2550 N ESPLANADE" 1
"913 NW GARDEN VALLEY BLVD." 1
"8400 NORTHWEST BLVD" 1
"350 ENGLE ST" 1
"41 & 45 MALL ROAD" 1
"8745 N WICKHAM RD" 1
"3873 NORTH PARKVIEW DRIVE" 1
"8900 N KENDALL DR" 1
"102 E CULVER RD" 1
"325 SPRING STREET" 1
"3333 W DE YOUNG" 1
"600 E INTERSTATE 20 PO BOX 640" 1
"UNIVERSITY DRIVE C" 1
"15031 RINALDI ST" 1
"500 CHURCH STREET" 1
"2900 NORTH LAKE SHORE DRIVE" 1
"1670 CLAIRMONT ROAD" 1
"1301 PENNSYLVANIA AVENUE" 1
"710 N IRWIN AVENUE" 1
"1013 15TH ST" 1
"322 W SOUTH ST PO BOX 789" 1
"REECE CAMPUS 2600 OTTAWA ROAD" 1
"1013 S WELLS" 1
"700 WEST MARKET STREET" 1
"2022 13TH ST" 1
"701 S MAIN STREET" 1
"850 W IRVING PARK RD" 1
"525 WEST ACACIA STREET" 1
"10 ALICE PECK DAY DRIVE" 1
"P O BOX 278, 4800 HOSPITAL PARKWAY" 1
"800 ROSE STREET" 1
"1915 EAST REZANOF DRIVE" 1
"100 E COLLEGE DRIVE" 1
"1401 EAST EIGHT STREET" 1
"200 WEST ARBOR DRIVE" 1
"200 NORTH ELM STREET" 1
"203 4TH STREET NORTHWEST" 1
"3933 S BROADWAY" 1
"2315 E MAIN STREET" 1
"102 EAST SOUTH STREET" 1
"476 LIBERTY ROAD" 1
"100 HILLCREST MEDICAL BLVD" 1
"13111 N PORT WASHINGTON RD" 1
"1225 N STATE ST" 1
"2150 HOSPITAL DRIVE, PO BOX 339" 1
"147 N BRENT ST" 1
"13025 8TH ST" 1
"619 SOUTH CLARK AVENUE" 1
"462 GRIDER STREET" 1
"100 SOUTHEAST 59TH STREET" 1
"305 WEST MOODY STREET" 1
"199 WEST MAIN STREET" 1
"701 EAST ORANGE STREET" 1
"710 N WALNUT STREET" 1
... ...
Key Type Example Value Comment
"Genitourinary" int 113
"Eye" int 244
"Nervous System" int 710
"Musculoskeletal" int 76
"Skin" int 25
"Gastrointestinal" int 395
"Cardiovascular" int 14
Key Type Example Value Comment
"Type" str "Acute Care Hospitals"
[Preview ]
"Phone Number" str "7068582101"
[Preview ]
"Emergency Services" str "Yes"
[Preview ]
"Name" str "HUTCHESON MEDICAL CENTER"
[Preview ]
"Ownership" str "Government - Hospital District or Authority"
[Preview ]
Value Count
"Acute Care Hospitals" 3454
"Critical Access Hospitals" 1256
"ACUTE CARE - VETERANS ADMINISTRATION" 129
"Childrens" 22
Value Count
"7655024334" 2
"4436433303" 2
"7074458121" 2
"3157874175" 2
"5733344822" 2
"7026165000" 2
"2148793758" 2
"8032965678" 2
"5123240000" 2
"7875351001" 2
"9135963930" 2
"6104022273" 2
"4156006000" 2
"7403958500" 1
"6412367511" 1
"2814401000" 1
"4062652211" 1
"7013224328" 1
"3373657311" 1
"5595829000" 1
"4152214810" 1
"4194072663" 1
"5174374451" 1
"4065572500" 1
"7243577000" 1
"9038564520" 1
"4326528626" 1
"3183772321" 1
"6019473161" 1
"7654728000" 1
"2055921000" 1
"7064852711" 1
"9708426200" 1
"6053363230" 1
"6056688000" 1
"7878543322" 1
"8054343500" 1
"2563502211" 1
"7852842121" 1
"7738788200" 1
"6152845555" 1
"8143684143" 1
"7155316000" 1
"6039342060" 1
"4136645000" 1
"3018962576" 1
"5755567600" 1
"4064422480" 1
"6716472552" 1
"3377382527" 1
"9893567390" 1
"6203436800" 1
"8047646000" 1
"5056092000" 1
"9708785047" 1
"7023884000" 1
"4059361500" 1
"6087424131" 1
"2813335503" 1
"5185852831" 1
"8146236161" 1
"8437822000" 1
"4232633600" 1
"2182292211" 1
"7195302200" 1
"4067284100" 1
"9409376371" 1
"7856235000" 1
"3368327000" 1
"4026091600" 1
"6513451114" 1
"4103503201" 1
"3346705000" 1
"8307758566" 1
"5807823353" 1
"2078343195" 1
"2622437300" 1
"7154833261" 1
"8323551000" 1
"7315846135" 1
"7149932000" 1
"8027284441" 1
"8102271211" 1
"5596755555" 1
"5076461001" 1
"3346887271" 1
"5123241000" 1
"2127464189" 1
"3045984000" 1
"8056827111" 1
"6417921273" 1
"7152942111" 1
"3309481222" 1
"8502295600" 1
"9856410600" 1
"6019286600" 1
"3095825301" 1
"9704743323" 1
"5073722941" 1
"7635811000" 1
... ...
Value Count
"Yes" 4476
"No" 385
Value Count
"MEMORIAL HOSPITAL" 11
"GOOD SAMARITAN HOSPITAL" 8
"ST JOSEPH HOSPITAL" 7
"MERCY HOSPITAL" 7
"MERCY MEDICAL CENTER" 6
"ST FRANCIS HOSPITAL" 6
"COMMUNITY MEMORIAL HOSPITAL" 6
"ST JOSEPH MEDICAL CENTER" 5
"ST MARY MEDICAL CENTER" 4
"ST MARY'S MEDICAL CENTER" 4
"ST LUKES HOSPITAL" 4
"COMMUNITY HOSPITAL" 4
"NORTHWEST MEDICAL CENTER" 4
"ST JOSEPH'S HOSPITAL" 4
"ST ELIZABETH HOSPITAL" 4
"ST MARYS HOSPITAL" 4
"ST FRANCIS MEDICAL CENTER" 4
"DOCTORS HOSPITAL" 3
"COLUMBUS COMMUNITY HOSPITAL" 3
"WAYNE MEMORIAL HOSPITAL" 3
"ST VINCENT HOSPITAL" 3
"ST ANTHONY HOSPITAL" 3
"SAINT FRANCIS MEDICAL CENTER" 3
"RIVERSIDE MEDICAL CENTER" 3
"GRADY MEMORIAL HOSPITAL" 3
"SACRED HEART HOSPITAL" 3
"MARION GENERAL HOSPITAL" 3
"MONROE COUNTY HOSPITAL" 3
"CITIZENS MEDICAL CENTER" 3
"JOHNSON MEMORIAL HOSPITAL" 3
"ST ELIZABETH MEDICAL CENTER" 3
"MERCY REGIONAL MEDICAL CENTER" 3
"ADVENTIST MEDICAL CENTER" 2
"HOLY CROSS HOSPITAL" 2
"MEMORIAL MEDICAL CTR" 2
"ST PETER'S HOSPITAL" 2
"CASCADE MEDICAL CENTER" 2
"UNIVERSITY MEDICAL CENTER" 2
"SOUTHEASTERN REGIONAL MEDICAL CENTER" 2
"UNION GENERAL HOSPITAL" 2
"HANOVER HOSPITAL" 2
"BLUE MOUNTAIN HOSPITAL" 2
"CLAY COUNTY HOSPITAL" 2
"WEST VALLEY HOSPITAL" 2
"SUMMIT MEDICAL CENTER" 2
"PIONEER MEMORIAL HOSPITAL" 2
"HIGHLANDS MEDICAL CENTER" 2
"CALDWELL MEMORIAL HOSPITAL" 2
"SOUTH SHORE HOSPITAL" 2
"ST ALEXIUS MEDICAL CENTER" 2
"FRANKLIN COUNTY MEMORIAL HOSPITAL" 2
"HEARTLAND REGIONAL MEDICAL CENTER" 2
"WILSON MEDICAL CENTER" 2
"NEWTON MEDICAL CENTER" 2
"METHODIST HOSPITAL" 2
"LINCOLN COUNTY MEDICAL CENTER" 2
"COMMUNITY MEMORIAL HOSPITAL - CAH" 2
"CLAY COUNTY MEDICAL CENTER" 2
"SAMARITAN HOSPITAL" 2
"GREAT PLAINS REGIONAL MEDICAL CENTER" 2
"ST MARY'S HOSPITAL" 2
"TRUSTPOINT HOSPITAL" 2
"HARDIN MEMORIAL HOSPITAL" 2
"ST ANTHONY'S HOSPITAL" 2
"NORTH VALLEY HOSPITAL" 2
"CARROLL COUNTY MEMORIAL HOSPITAL" 2
"FRANKLIN HOSPITAL" 2
"GUNNISON VALLEY HOSPITAL" 2
"PROVIDENCE MEDICAL CENTER" 2
"JEFFERSON COUNTY HOSPITAL" 2
"PERRY MEMORIAL HOSPITAL" 2
"NORTHSIDE MEDICAL CENTER" 2
"WARREN MEMORIAL HOSPITAL" 2
"O'CONNOR HOSPITAL" 2
"NORTH SHORE MEDICAL CENTER" 2
"GOOD SHEPHERD MEDICAL CENTER" 2
"NORTHSIDE HOSPITAL" 2
"VALLEY VIEW MEDICAL CENTER" 2
"ST LUKE'S HOSPITAL" 2
"UNIVERSITY HOSPITAL" 2
"YORK HOSPITAL" 2
"VALLEY HOSPITAL" 2
"SWEDISH MEDICAL CENTER" 2
"COLUMBIA MEMORIAL HOSPITAL" 2
"MADISON COUNTY MEMORIAL HOSPITAL" 2
"PROVIDENCE HOSPITAL" 2
"TAYLOR REGIONAL HOSPITAL" 2
"COVENANT MEDICAL CENTER" 2
"WAYNE COUNTY HOSPITAL" 2
"HIGHLANDS REGIONAL MEDICAL CENTER" 2
"JEFFERSON REGIONAL MEDICAL CENTER" 2
"ST VINCENT'S MEDICAL CENTER" 2
"JAMESTOWN REGIONAL MEDICAL CENTER" 2
"RIVERVIEW REGIONAL MEDICAL CENTER" 2
"DECATUR COUNTY HOSPITAL" 2
"MOUNTAIN VIEW HOSPITAL" 2
"MEMORIAL HOSPITAL, THE" 2
"GOOD SAMARITAN MEDICAL CENTER" 2
"COMMUNITY HOSPITALS AND WELLNESS CENTERS" 2
"DEACONESS HOSPITAL" 2
... ...
Value Count
"Voluntary non-profit - Private" 1862
"Proprietary" 786
"Government - Hospital District or Authority" 565
"Voluntary non-profit - Other" 532
"Government - Local" 416
"Voluntary non-profit - Church" 386
"Government Federal" 129
"Government - State" 72
"Government - Federal" 56
"Physician" 55
"Tribal" 2

Downloads

Download all of the following files.

Usage

This library has 1 function you can use.
import hospitals
list_of_hospital = hospitals.get_hospitals()
Additionally, some of the functions can return a sample of the Big Data using an extra argument. If you use this sampled Big Data, it may be much faster. When you are sure your code is correct, you can remove the argument to use the full dataset.
import hospitals
# These may be slow!
list_of_hospital = hospitals.get_hospitals(test=True)

Documentation

 hospitals.get_hospitals(test=False)

Returns hospitals from the dataset.