You can install the released version of kosovomaps from GitHub:
# install.packages("devtools")
devtools::install_github("Kushtrimvisoka/kosovomaps")
library(kosovomaps)
library(tidyverse)
#> ββ Attaching packages βββββββββββββββββββββββββββββββββββββββ tidyverse 1.3.0 ββ
#> β ggplot2 3.3.2 β purrr 0.3.4
#> β tibble 3.0.4 β dplyr 1.0.2
#> β tidyr 1.1.2 β stringr 1.4.0
#> β readr 1.4.0 β forcats 0.5.0
#> ββ Conflicts ββββββββββββββββββββββββββββββββββββββββββ tidyverse_conflicts() ββ
#> x dplyr::filter() masks stats::filter()
#> x dplyr::lag() masks stats::lag()
RepublicOfKosovo <- mapof(x = "state")
Plot an example:
ggplot(RepublicOfKosovo)+
geom_sf()+
theme_void()
MunicipOfKosovo <- mapof(x = "municip")
Plot an example:
ggplot(MunicipOfKosovo)+
geom_sf()+
theme_void()