CS3 Study Unit 1 Discussion Room - Peer to Peer

Africa life expectancy data

Africa life expectancy data

by Dr Yinus saliu -
Number of replies: 0

The life expectancy for a person living in one of the 54 countries in Africa in the year 2020 is in the dataset name “Africa life expectancy”. The data is from https://www.indexmundi.com/map/?v=30&r=af&l=en.

1. Import the data as life_expectancy. Note: The data is in the datasets directory.

2. What is the life expectancy for your own country?

3. Find the five-number summary for Life expectancy at birth and the IQR in the dataset

4. Draw a box-and-whiskers plot.