knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The asylum
package provides easy access to asylum and resettlement datasets for the UK, published by the Home Office.
The current release uses the most recent data from September 2023.
Install the released version of asylum
from CRAN:
install.packages("asylum")
Alternatively, you can install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("humaniverse/asylum")
To calculate the number of applications from Afghanistan awaiting a decision, as of the latest quarter:
library(asylum) library(dplyr) asylum::awaiting_decision |> filter(Nationality == "Afghanistan" & Date == max(Date)) |> summarise(`Total applications awaiting a decision` = sum(Applications))
If you encounter a clear bug, please file an issue with a minimal reproducible example on GitHub.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.