knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

turkeymap

The goal of turkeymap is to provide province and district data for Turkey.

Installation

You can install turkeymap from github with:

devtools::install_github("emraher/turkeymap")

tr_provinces <- turkeymap::provinces
tr_districts <- turkeymap::districts

Shapefile Sources for Turkey

HDX

HDX provides the most recent shapefiles for Turkey. You can download shapefiles for Administrative Boundaries from this link.

You can import shp file into R using sf library.

library(tidyverse)
library(sf)
dt <- st_read("./data-raw/hdx/tur_polbnda_adm2.shp")
hdx_dt <- st_set_geometry(dt, NULL)

tuik

tuik package also provides functions for mapping data.

Amendments

1990s

2000s



emraher/turkeymap documentation built on Dec. 20, 2021, 5:19 a.m.