How I make Eurostat maps with R
ฝัง
- เผยแพร่เมื่อ 23 ก.ค. 2024
- If you ever wondered how to make pretty choropleth maps of Europe, are in the right place for a good time! This tutorial walks you through the process of loading Eurostat data into R and making an effective map of GDP per capita in Europe.
0:00 Intro
1:46 Eurostat website
6:42 Load packages
7:32 Load NUTS2 shapefile
8:54 NUTS2 map
10:07 NUTS 2 data
10:45 Countries shapefile
11:48 Filter countries
12:52 Eurostat map
13:04 Non-Eurostat map
13:22 Find indicator
15:07 Fetch table
16:46 Long to wide format
18:41 Fill NAs and join
19:51 Legend breaks
23:33 Bounding box
24:54 Color palette
26:30 Mapping
36:31 Final map
37:03 Closing
Check the full code in my GitHub repo:
github.com/milos-agathon/how-...
Check this tutorial for info on bounding box:
• Making crisp spike map...
Follow my work on Instagram:
/ milos_makes_maps
Let's connect on Twitter:
/ milos_agathon
If you like my work, consider buying me a coffee:
www.buymeacoffee.com/milospop...
Music credits go to:
"Sappheiros - Embrace" is under a Creative Commons license (CC BY 3.0)
@sappheiros
Music promoted by BreakingCopyright: bit.ly/dawn-song
Thank you for the explanation. Helped me a lot. Looking forward to the next video.
I'm happy that the tutorial helped you understand the map-making using Eurostat data
Great video Milos! Keep it up!
Thanks Aleks! ♥️
Great tutorial,lucid explanation. Looking forward to the next one sir
I'm much obliged to you for your kind feedback!
Thank you for the tutorials sir
You are most welcome! I hope it will help you in your work
Thank you, this was super helpful!
My pleasure, Sara! I hope you managed to create a pretty map
@@milos-makes-maps did, for West Nile disease incidence across NUTS 3 regions :) thanks again!
@@saraafonso3825 Awesome!
great video
Thanks!
thank you!
You're welcome, Alex! I hope you've been enjoying the ride so far
Favorite part of the video: "NUTS... it's not what you think!" 😂
😆
Hi Milos, great tutorial! I used it last year and it worked, but it seems that Eurostat has transitioned from Eurostat Bulk Download to an API in 2024 and this code no longer works.
Any chance you could upload a video explaining which tweaks should be made to download the data from Eurostat correctly with the new system? Thanks!
Thanks for letting me know about this issue! The next video will be on making Eurostat maps using the 2024 API
Thank you for this video. Can this be applied to the NUTS3 region? What are the possible limitations that may exist. I await your response with great anticipation.
You are welcome! This tutorial can definitely be applied to the NUTS3 region if Eurostat has the data on NUTS3. For example, Eurostat has the data for GDP per Capita on NUTS3. The greatest limitation of using Ng NUTS3 could be that the data is lacking for some countries on such a granular level.
@@milos-makes-maps Thanks.
Thank you very much. I learned a lot with this video tutorial, very interesting and instructive
Fantastic! Sincerely happy that my tutorial helps you learn more about dataviz
sir i have issue .how to find the unit as
unit == "PPS_EU27_2020_HAB" earlier .
Hello, if you are unable to find it on the Eurostat please follow my guidelines at 1:46
@@milos-makes-maps okay sir
@@sandunpriyankarasomarathna9281 let me know if you have questions!
@@milos-makes-maps okay sir
Should start making maps with African countries
Hey, gladly if the subnational data are available!
Data is an issue
@@kwizeralambert1316 Isn't there a website with subnational data on Africa?
I have a raster image from GEE(earth engine) could i use this please?
@@adben hey, you can use it but not to create Eurostat maps 😁