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()