View source: R/plot_reg_evolution.R
plot_reg_evolution | R Documentation |
Display evoluation over time for specific population group (one or many) and defined number of years (lag)
plot_reg_evolution(
year = 2022,
lag = 5,
region,
pop_type = c("REF", "IDP", "ASY", "OOC", "STA", "OIP")
)
year |
Numeric value of the year (for instance 2020) |
lag |
Number of year to used as comparison base |
region |
Character value with the related UNHCR bureau - when left null, it will display the whole world |
pop_type |
Character value. Possible population type (e.g.: REF, IDP, ASY, OIP, OOC, STA) |
a ggplot2 object
plot_reg_evolution(year = 2021,
lag = 5,
region = "Asia",
pop_type = c( "REF", "IDP", "ASY", "OOC", "STA", "OIP"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.