knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(unhcrdatapackage)
plot_reg_treemap(year = 2022, region = "Americas")
plot_reg_share(year = 2022, region = "Americas", pop_type = "REF") plot_reg_share(year = 2022, region = "Americas", pop_type = "ASY") plot_reg_share(year = 2022, region = "Americas", pop_type = "OIP") plot_reg_share(year = 2022, region = "Americas", pop_type = "IDP") plot_reg_share(year = 2022, region = "Americas", pop_type = "STA")
plot_reg_evolution(year = 2021, lag = 5, region = "Asia", pop_type = c( "REF", "IDP", "ASY", "OOC", "STA", "OIP"))
plot_reg_population_type_per_year(year = 2022, lag = 5, region = "Americas", pop_type = c("REF", "ASY", "IDP", "OIP", "STA", "OOC") )
plot_reg_origin_dest(year = 2022, region = "Asia")
plot_reg_population_type_abs(year = 2022, region = "Americas", top_n_countries = 5, pop_type = "REF", show_diff_label = TRUE ) plot_reg_population_type_abs(year = 2022, region = "Americas", top_n_countries = 5, pop_type = "ASY", show_diff_label = FALSE )
plot_reg_decrease(year = 2021, lag = 5, topn = 5, region = "Americas", pop_type = c("REF", "ASY", "OIP"))
plot_reg_increase(year = 2021, lag = 5, topn = 5, region = "Americas", pop_type = c("REF", "ASY", "OIP")) plot_reg_increase(year = 2021, lag = 5, topn = 5, region = "Asia", pop_type = c("REF", "ASY", "OIP"))
plot_reg_prop_origin(year = 2022, region = "Americas")
plot_reg_rsd(year = 2022, region = "Americas" , top_n_countries = 10, measure = "Recognized") plot_reg_rsd(year = 2022, region = "Americas" , top_n_countries = 5, measure = "ComplementaryProtection") plot_reg_rsd(year = 2022, region = "Americas" , top_n_countries = 10, measure = "TotalDecided") plot_reg_rsd(year = 2022, region = "Americas" , top_n_countries = 10, measure = "RefugeeRecognitionRate") plot_reg_rsd(year = 2022, region = "Americas" , top_n_countries = 10, measure = "TotalRecognitionRate") # plot_reg_rsd(year = 2022, # region = "Europe", # top_n_countries = 10, # measure = "Recognized")
plot_reg_solution(year = 2022, region = "Americas", lag = 10)
plot_reg_map( year = 2022, region = "Asia", topn = 5, pop_type = c("REF", "ASY", "OIP"), projection = "Mercator", maxSymbolsize = .25) # plot_reg_map( year = 2022, # region = "WestAfrica", # topn = 5, # pop_type = c("REF", "ASY", "OIP"), # projection = "Mercator", # maxSymbolsize = .25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.