ll_get_adm_ocha: Get administrative boundary lines from OCHA database

View source: R/ll_get_adm_ocha.R

ll_get_adm_ochaR Documentation

Get administrative boundary lines from OCHA database

Description

Source: https://data.humdata.org/

Usage

ll_get_adm_ocha(
  geo,
  level = 0,
  match_name = NULL,
  source_url = NULL,
  silent = FALSE
)

Arguments

geo

A twe letter country code, such as "IT" for Italy and "DE" for Germany

match_name

A name to be used for local caching if a subset of the grid is used. It is the responsibility of the user to keept it consistent. If not given, data are not cached locally.

source_url

A direct link to the zipped version of the csv file in the original database, if automatic download with the country code does not work. For example, for Italy this would be "https://data.humdata.org/dataset/0eb77b21-06be-42c8-9245-2edaff79952f/resource/1e96f272-7d86-4108-b4ca-5a951a8b11a0/download/population_ita_2019-07-01.csv.zip"

silent

Examples


if (interactive) {
  ll_get_adm_ocha(geo = "UA", level = 3)
}

giocomai/latlon2map documentation built on Oct. 14, 2024, 12:52 a.m.