BW #5: Ukrainian exports (solution)
This week, the world marks the first anniversary of Russia's invasion of Ukraine. Despite the war, how much is Ukraine successfully exporting? And who is receiving those products?
This week’s topic: Ukrainian exports
This week, we looked at various aspects of Ukraine’s agricultural exports in the wake of the Russian invasion, as well as the Black Sea Grain Initiative that allows products to be sent to other countries.
The URL to download the data in Excel format is:
Here is what I asked you to do:
Read the Excel data into a data frame. Again, the “Data” sheet is what interests us.
Create a pivot table, showing how many tons of each commodity (rows) have left each port (columns).
Create a pivot table, showing how many tons of each commodity (columns) were going to each destination country (rows).
The worry was that lower-income countries would not have enough food to eat, because of the war. According to the data's "income group," what proportion of the grain are low-income countries receiving?
Have we seen growth in the total tonnage shipped each month to developing countries?
Finally, what 10 flags are most commonly used on the ships coming from Ukraine? Do any country's names appear more than once? If so, why, and how can you fix it?