Skip to content

abdulkadirmadan/sample1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

sample1

library(ggmap) library(tidyverse) library(dplyr) library(mapview) library(sf)

Banad <- filter(SomNig, disorder_type =="Political violence", year == 2020, admin1 == "Banadir",) %>% select(disorder_type, year, admin1, latitude, longitude)

names(Banad) head(Banad, 250)

library(mapview) library(sf) mymap1 <- st_as_sf(Banad, coords = c("longitude", "latitude"), crs = 4326) mapview(mymap1)

library(mapview) mymap1 <- st_as_sf(Banad, coords = c("longitude", "latitude"), crs = 4326) mapview(mymap1, color="black", col.regions="red", alpha.regions=0.5, legend = FALSE, homebutton = FALSE, map.types = "OpenStreetMap" )

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published