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

ความคิดเห็น • 36

  • @lbarq
    @lbarq ปีที่แล้ว +1

    Thank you for the explanation. Helped me a lot. Looking forward to the next video.

    • @milos-makes-maps
      @milos-makes-maps  ปีที่แล้ว

      I'm happy that the tutorial helped you understand the map-making using Eurostat data

  • @AleksPopovic
    @AleksPopovic ปีที่แล้ว +1

    Great video Milos! Keep it up!

  • @Aaqib..
    @Aaqib.. ปีที่แล้ว +1

    Great tutorial,lucid explanation. Looking forward to the next one sir

    • @milos-makes-maps
      @milos-makes-maps  ปีที่แล้ว +1

      I'm much obliged to you for your kind feedback!

  • @audiophile...
    @audiophile... ปีที่แล้ว +1

    Thank you for the tutorials sir

    • @milos-makes-maps
      @milos-makes-maps  ปีที่แล้ว

      You are most welcome! I hope it will help you in your work

  • @saraafonso3825
    @saraafonso3825 9 หลายเดือนก่อน +1

    Thank you, this was super helpful!

    • @milos-makes-maps
      @milos-makes-maps  9 หลายเดือนก่อน

      My pleasure, Sara! I hope you managed to create a pretty map

    • @saraafonso3825
      @saraafonso3825 9 หลายเดือนก่อน +1

      @@milos-makes-maps did, for West Nile disease incidence across NUTS 3 regions :) thanks again!

    • @milos-makes-maps
      @milos-makes-maps  9 หลายเดือนก่อน

      @@saraafonso3825 Awesome!

  • @incanberra
    @incanberra ปีที่แล้ว +1

    great video

  • @rietberg
    @rietberg ปีที่แล้ว +1

    thank you!

    • @milos-makes-maps
      @milos-makes-maps  ปีที่แล้ว

      You're welcome, Alex! I hope you've been enjoying the ride so far

  • @pythonGIS
    @pythonGIS ปีที่แล้ว +2

    Favorite part of the video: "NUTS... it's not what you think!" 😂

  • @chachachas
    @chachachas 6 หลายเดือนก่อน +1

    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!

    • @milos-makes-maps
      @milos-makes-maps  5 หลายเดือนก่อน +1

      Thanks for letting me know about this issue! The next video will be on making Eurostat maps using the 2024 API

  • @otokitikolade5967
    @otokitikolade5967 ปีที่แล้ว +1

    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.

    • @milos-makes-maps
      @milos-makes-maps  ปีที่แล้ว

      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.

    • @otokitikolade5967
      @otokitikolade5967 ปีที่แล้ว +1

      @@milos-makes-maps Thanks.

  • @argosayax
    @argosayax ปีที่แล้ว +1

    Thank you very much. I learned a lot with this video tutorial, very interesting and instructive

    • @milos-makes-maps
      @milos-makes-maps  ปีที่แล้ว +1

      Fantastic! Sincerely happy that my tutorial helps you learn more about dataviz

  • @sandunpriyankarasomarathna9281
    @sandunpriyankarasomarathna9281 11 หลายเดือนก่อน +1

    sir i have issue .how to find the unit as
    unit == "PPS_EU27_2020_HAB" earlier .

  • @moctar9544
    @moctar9544 ปีที่แล้ว +1

    Should start making maps with African countries

    • @milos-makes-maps
      @milos-makes-maps  ปีที่แล้ว

      Hey, gladly if the subnational data are available!

    • @kwizeralambert1316
      @kwizeralambert1316 ปีที่แล้ว +1

      Data is an issue

    • @milos-makes-maps
      @milos-makes-maps  ปีที่แล้ว

      @@kwizeralambert1316 Isn't there a website with subnational data on Africa?

    • @adben
      @adben ปีที่แล้ว +1

      I have a raster image from GEE(earth engine) could i use this please?

    • @milos-makes-maps
      @milos-makes-maps  ปีที่แล้ว +1

      @@adben hey, you can use it but not to create Eurostat maps 😁