GIS 101: Mapping data points in R

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ค. 2024
  • In this beginner's tutorial, I take you on a journey from loading and cleaning up the Geonames database to slicing and dicing the data to create an effective and pretty bubble map in R!
    0:00 Intro
    0:42 Data source
    2:10 Load packages
    3:02 Import data
    5:20 Create lat/long fields
    6:54 Basic map
    7:33 Filter
    8:57 Point-in-polygon
    10:03 Add circle size
    11:15 Change alpha value
    12:00 Create labels I
    13:00 Create labels II
    13:47 Plot labeled map
    15:14 Final map
    17:37 Closing
    Check the full code in my GitHub repo: github.com/milos-agathon/how-...
    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:
    "Tokyo Music Walker - Way Home" is under a Creative Commons (CC-BY) license.
    @tokyomusicwalker
    Music promoted by BreakingCopyright: bit.ly/way-home-song

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

  • @franciscobrena5696
    @franciscobrena5696 ปีที่แล้ว +5

    I hardly ever comment youtube videos but your work and the way you share it are remarkable. Cheers man!

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

      Wow, thanks you for your positive feedback! I'm thrilled that my tutorial inspired you. Cheers!

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

    Dropping a comment to push the algorithm, great video.

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

      Thank you for your generous support, Riccardo! I really hope that my channel will be helpful to you

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

    I'm really grateful for these tutorials 🎁 thankyou so much sir

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

    Amazing tutorial! Please keep it up! Greetings from Costa Rica!

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

      Thank you! This helps me to keep moving forward ⏩

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

    Great tutorial. Thank you

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

      My pleasure! I hope my tutorial will help you in your work

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

    Great tutorial. I look forward to what might come next.

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

      Thank you for your support! I'm happy that you found it useful

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

    Awesome tutorial Milos, keep it up!

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

      Thanks man! Really appreciate the support coming from such a brilliant TH-camr like you

  • @alcor2180
    @alcor2180 7 หลายเดือนก่อน +1

    Thanks a lot for this wonderful tutorial :)
    Could we use
    separate_wider_delim(cols = "coords", delim = ",", names =c("lat", "long"))
    instead of using the stringr::str_split_fixed function.
    So we can modify the dataframe in place without using a supplementary mutate function.
    Furthermore the stringr package loading is unnecessary because it is included in the tidyverse package.

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

      Hi alcor, I'm glad you liked the tutorial. Thank you for sharing your alternative method for separating columns in a dataframe. I agree that using `separate_wider_delim` from the `tidyrverse` package is a more concise and efficient way to do it. I appreciate your feedback and suggestion. Have a great day! :)

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

    Sir, can I get a link of data source

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

      Sure, here is the link to the table: public.opendatasoft.com/explore/dataset/geonames-all-cities-with-a-population-1000/table/?disjunctive.cou_name_en&sort=name

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

      thank you sir@@milos-makes-maps