Skip to content

BW #62: Economic report card

Get better at: Excel, missing values, multi-index, regular expressions, web scraping, string operations, plotting, and grouping

BW #62: Economic report card

The world economy continues to be rattled by ... well, by lots of different things, including continued echoes from the covid-19 pandemic and regional instability. But are things really that bad? How much should we worry?

Earlier this week, the International Monetary Fund (IMF, https://imf.org) released its latest report and predictions regarding the state of the world economy. You can read the full report, or just an executive summary from the report's home page, here:

https://www.imf.org/en/Publications/WEO/Issues/2024/04/16/world-economic-outlook-april-2024

I thought that it would be interesting to look at the data they provided, and understand their analysis and predictions. We'll especially look at G20 countries, to see who is doing better (and worse) at handling economic issues on a variety of fronts.

Data and seven questions

This week, we'll look at the data that the IMF provides on this page:

https://www.imf.org/en/Publications/WEO/weo-database/2024/April/download-entire-database

This includes information about all of the countries, measurements, and years that the IMF analyzes and discusses in their report. The Web site claims that the file is in tab-delimited CSV format, but let's just say that this isn't true.

This week's learning goals include: Handling stubborn files, working with multi-indexes, grouping, and plotting.

Here are my seven tasks and questions for this week: