Overview

This library holds data about reports of diseases in America.

Explore Structure




Index Type Example Value
0 dict { }
... ... ...
Key Type Example Value Comment
"loc" str "ALABAMA"
[Preview ]
"number" int 8843
"disease" str "MEASLES"
[Preview ]
"increase" float 334.99
"year" int 1928
"population" int 2640000
Value Count
"CALIFORNIA" 312
"TEXAS" 311
"MICHIGAN" 306
"ILLINOIS" 306
"FLORIDA" 305
"MASSACHUSETTS" 302
"MISSOURI" 302
"OHIO" 298
"NEW JERSEY" 298
"MARYLAND" 298
"WASHINGTON" 296
"COLORADO" 295
"ARIZONA" 294
"CONNECTICUT" 294
"NEW YORK" 293
"IDAHO" 293
"PENNSYLVANIA" 292
"UTAH" 292
"TENNESSEE" 291
"INDIANA" 290
"MINNESOTA" 290
"VIRGINIA" 289
"WISCONSIN" 288
"ARKANSAS" 288
"IOWA" 288
"GEORGIA" 288
"LOUISIANA" 286
"ALABAMA" 286
"NORTH CAROLINA" 285
"SOUTH CAROLINA" 284
"KANSAS" 282
"KENTUCKY" 279
"NEW HAMPSHIRE" 277
"OREGON" 275
"OKLAHOMA" 274
"WEST VIRGINIA" 272
"MONTANA" 269
"RHODE ISLAND" 268
"NEBRASKA" 268
"VERMONT" 264
"DELAWARE" 263
"WYOMING" 262
"NEW MEXICO" 262
"MISSISSIPPI" 261
"MAINE" 260
"DISTRICT OF COLUMBIA" 251
"NORTH DAKOTA" 250
"NEVADA" 245
"SOUTH DAKOTA" 244
"HAWAII" 214
"ALASKA" 185
Value Count
"MEASLES" 3333
"PERTUSSIS" 2716
"HEPATITIS A" 2327
"POLIO" 1860
"MUMPS" 1576
"RUBELLA" 1374
"SMALLPOX" 1079

Downloads

Download all of the following files.

Usage

This library has 1 function you can use.
import health
list_of_report = health.get_all_reports()
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 health
# These may be slow!
list_of_report = health.get_all_reports(test=True)

Documentation

 health.get_all_reports(test=False)

Returns information about the status of disease for all locations, diseases, and years.