How to Map Trade Routes with R

Описание к видео How to Map Trade Routes with R

Do you want to learn how to create stunning trade routes maps using a huge database of international trade data? In this tutorial, I'll show you how to use the United Nations Comtrade database, which contains over 1.5 billion records of trade flows between countries. You'll learn how to use ggplot2 in R to create great circles that show the trade relationships of the largest wheat exporters in 2022.

Chapters

0:00 Intro
00:44 Packages
03:32 Comtrade API
06:17 Search Comtrade database
08:15 Wheat exports for Ukraine
10:29 Explore data
12:08 Fetch capitals
15:23 Start/end points
19:36 Create lines
22:15 Merge data
23:23 World shapefile
24:21 Points
26:13 Map 1 - no labels
42:19 Map 2 - labels
46:13 Multiple exporters
49:44 Add reporter iso
50:09 Multiple start/end points
50:29 Map 3 - trade network
55:01 Final thoughts

Check the full code in my GitHub repo:
https://github.com/milos-agathon/trad...

Follow my work on Instagram:
  / milos_makes_maps  

Let's connect on X:
  / milos_agathon  

If you like my work, consider buying me a coffee:
https://www.buymeacoffee.com/milospop...

Comtrade website:
https://comtradeplus.un.org/

Music credits:
---------------------------------------------------------------------------------------------------
Music By: massobeats - midnight (lofi aesthetic music)
Original upload HERE -    • massobeats - midnight (royalty free l...  

Комментарии

Информация по комментариям в разработке