Data on Asylum and Resettlement for the UK

Data on Asylum and Resettlement for the UK, provided by the Home Office < https://www.gov.uk/government/statistical-data-sets/immigration-system-statistics-data-tables>.


asylum

Project Status: Active – The project has reached a stable, usablestate and is being activelydeveloped. CRANstatus

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 June 2023.

Installation

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")

Example

To calculate the number of applications from Afghanistan awaiting a decision, as of the latest quarter:

library(asylum)
library(dplyr)
#> Warning: package 'dplyr' was built under R version 4.2.3
#> 
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, setequal, union

asylum::awaiting_decision |> 
  filter(Nationality == "Afghanistan" & Date == max(Date)) |> 
  summarise(`Total applications awaiting a decision` = sum(Applications))
#> # A tibble: 1 × 1
#>   `Total applications awaiting a decision`
#>                                      <dbl>
#> 1                                    15098

Getting help

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.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("asylum")

1.1.2 by Matthew Gwynfryn Thomas, 3 years ago


https://github.com/humaniverse/asylum


Report a bug at https://github.com/humaniverse/asylum/issues


Browse source code at https://github.com/cran/asylum


Authors: Matthew Gwynfryn Thomas [cre, aut] , Mike Page [aut] , British Red Cross [cph]


Documentation:   PDF Manual  


MIT + file LICENSE license



See at CRAN