Sorry :s I never learned this software I try to understand...
i get this message now
Error: Don't know how to add ggplot(data = df1, aes(x = LONGITUDE, y = LATITUDE)) to a plot
ACTOR1 LATITUDE LONGITUDE
1 RUF: Revolutionary United Front 8.11 -11.6
2 RUF: Revolutionary United Front 8.11 -11.6
3 RUF: Revolutionary United Front 7.96 -11.7
4 RUF: Revolutionary United Front 7.96 -11.7
5 RUF: Revolutionary United Front 7.96 -11.7
6 RUF: Revolutionary United Front 7.96 -11.7
library("readxl", lib.loc = "C:\Users\Student\Downloads\sll-ledsierre-leonelocalsource1991-2001.xlsx")
library("ggplot2")
library("ggmap")
qmap("Sierraleone" , zoom = 8)
df <- read_xlsx("sll-ledsierre-leonelocalsource1991-2001.xlsx")
map <- qmap("Sierraleone" , zoom = 8)
only violence against civilians
df1<- df
install.packages("dplyr")
library(dplyr)
install.packages("magrittr")
library(magrittr)
df1 <- filter(df1, df1$EVENT_TYPE == "Violence against civilians")
map + ggplot(data = df1, aes(x = LONGITUDE, y = LATITUDE)) +
geom_point(alpha = 0,5, size = 1) +
aes(colour=ACTOR1)
thank you for your help and patience it's nice 