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: https://github.com/milos-agathon/how-do-I-map-data-points-in-r
Follow my work on Instagram:
https://www.instagram.com/milos_makes_maps/
Let's connect on Twitter:
https://twitter.com/milos_agathon
If you like my work, consider buying me a coffee:
https://www.buymeacoffee.com/milospopovic
Music credits go to:
"Tokyo Music Walker - Way Home" is under a Creative Commons (CC-BY) license.
@tokyomusicwalker
Music promoted by BreakingCopyright: https://bit.ly/way-home-song