plot_reg_treemap: Population group in the region

View source: R/plot_reg_treemap.R

plot_reg_treemapR Documentation

Population group in the region

Description

Population group in the region

Usage

plot_reg_treemap(
  year = 2022,
  region = "Americas",
  pop_type = c("REF", "ASY", "IDP", "OIP", "STA", "OOC")
)

Arguments

year

Numeric value of the year (for instance 2020)

region

Character value with the related UNHCR bureau - when left null, it will display the whole world

pop_type

Vector of character values. Possible population type (e.g.: REF, IDP, ASY, OIP, OOC, STA)

Value

plot a ggplot2 object

Examples

plot_reg_treemap(year = 2022,  region = "Americas")

Edouard-Legoupil/unhcrdatapackage documentation built on Nov. 6, 2023, 6:10 p.m.