Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. library(sf)
  2. library(ggplot2)
  3. library(dplyr)
  4. mydata <-readr::read_csv("~/map/done.csv")
  5. nc = st_read("C:/Users/Radzhab/Documents/map/tyumen.shp")
  6.  
  7. merged = dplyr::left_join(nc, mydata, by= c("NAME"="Country"))
  8.  
  9.  
  10. ggplot(merged)+
  11. geom_sf(aes(fill= ))+
  12.  
  13. ....
  14. scale_fill_gradient(low= "#56B1F7", high = "#132B43")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement