Sometimes you just need some points on map. You have lat/lon points, where are you going to get a nice background map that you can plot in R, using ggplot2 and geom_sf? R natural earth!
Package or resource used*
rnaturalearth
URL or code snippet for your use case*
.bcc_map.txt
just to rename gist
.gitignore
*.csv
*.pdf
1_map_data.R
setwd('~/Documents/personal/r_stuff/bcc_map/')
library(ggmap)
library(data.table)
library(tidyverse)
library(sf)
library(rnaturalearth)
fl_name <- 'map_data.csv'
This file has been truncated. show original
There are more than three files. show original
Image
Field(s) of application
e.g. data visualization
What did you do?
Plotted some points on a basemap, applied a map projection
Twitter handle
arvi1000
3 Likes
sckott
September 10, 2019, 10:00pm
2
thanks for sharing @arvi1000 - nice example
1 Like