Skip to content

Analyze and visualize datasets with Python at CPH Business 4. semester

Notifications You must be signed in to change notification settings

BoMarconiHenriksen/causesOfDeathsUsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Causes Of Deaths in The United States By CollegeImpossible

Dokumentation

This repository is College Impossibles answer of the exercise by Foolish Supermarket.

We have been looking at Foolish Supermarket dataset https://github.com/Zurina/Dataset and answered the 5 questions:

  1. Which state has the most deaths in the year of 2016? (All causes)
  2. Which state has the least deaths in the year of 2016? (All causes)
  3. Which state has had the smallest increase in deaths from 1999-2016? (All causes)
  4. Which state has the most deaths caused by kidney disease in the year of 2005?
  5. Which state has had the biggest increase in the death of Alzheimers from 1999-2016? Plot the increase year for year using matplotlib

How to run the project?

  1. Clone the project
  2. Cd into the directory of the project
  3. To run the project you need to paste this url to the dataset as a parameter https://data.cdc.gov/api/views/bi63-dtpu/rows.csv?accessType=DOWNLOAD
  4. Example of how to run the project
    python main.py [<url_to_dataset>]

Dependencies

The project does only use dependencies which is part of Pythons Anaconda installation.

The Result

Which state has the most deaths in the year of 2016? (All causes)

California death count 2016: 262240

Which state has the least deaths in the year of 2016? (All causes)

Alaska death count 2016: 4494

Which state has had the smallest increase in deaths from 1999-2016? (All causes)

Rhode Island death count increase: 27

Which state has the most deaths caused by kidney disease in the year of 2005?

Pennsylvania kidney death count: 3108

Which state has had the biggest increase in the death of Alzheimers from 1999-2016? Plot the increase year for year using matplotlib.

California alzheimers death count increase: 11038

alt text

About

Analyze and visualize datasets with Python at CPH Business 4. semester

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages