Skip to content

The "kosovomaps" πŸ‡½πŸ‡° R package makes it easy to plot the municipal and national border in R. The package contains functions and datasets that allow you to visualize maps of Kosovo in R and customize them according to your needs.

License

Notifications You must be signed in to change notification settings

KushtrimVisoka/kosovomaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

kosovomaps

Installation

You can install the released version of kosovomaps from GitHub:

# install.packages("devtools")
devtools::install_github("Kushtrimvisoka/kosovomaps")

Basic Usage

1) Load packages

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

2) Load the map of Kosovo - State level:

RepublicOfKosovo <- mapof(x = "state")

Plot an example:

ggplot(RepublicOfKosovo)+
  geom_sf()+
  theme_void()

3) Load the map of Kosovo - Municipal level:

MunicipOfKosovo <- mapof(x = "municip")

Plot an example:

ggplot(MunicipOfKosovo)+
  geom_sf()+
  theme_void()

About

The "kosovomaps" πŸ‡½πŸ‡° R package makes it easy to plot the municipal and national border in R. The package contains functions and datasets that allow you to visualize maps of Kosovo in R and customize them according to your needs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages