Skip to content

Commit

Permalink
Added latest datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewgthomas committed Dec 19, 2023
1 parent b891148 commit 22064dd
Show file tree
Hide file tree
Showing 49 changed files with 12,808 additions and 281 deletions.
25 changes: 13 additions & 12 deletions R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@
#' Number of individuals transferred between local authorities under the
#' National Transfer Scheme for unaccompanied asylum seeking children.
#'
#' @format A data frame with 28 rows and 9 variables:
#' @format A data frame with 12,538 rows and 9 variables:
#' \describe{
#' \item{Date}{Date}
#' \item{Year}{Year}
Expand All @@ -357,7 +357,7 @@
#'
#' Applications for Support Section 4 and Section 95.
#'
#' @format A data frame with 54 rows and 5 variables:
#' @format A data frame with 55 rows and 5 variables:
#' \describe{
#' \item{Date}{Date}
#' \item{Year}{Year}
Expand All @@ -373,7 +373,7 @@
#'
#' Travel documents, applications raised and despatched.
#'
#' @format A data frame with 53 rows and 5 variables:
#' @format A data frame with 54 rows and 5 variables:
#' \describe{
#' \item{Date}{Date}
#' \item{Year}{Year}
Expand Down Expand Up @@ -439,7 +439,7 @@
#'
#' Percentage of Asylum applications processed within 6 months
#'
#' @format A data frame with 35 rows and 16 variables:
#' @format A data frame with 36 rows and 16 variables:
#' \describe{
#' \item{Date}{Date}
#' \item{Year}{Year}
Expand Down Expand Up @@ -467,7 +467,7 @@
#' Age of Asylum Operations Initial Decision Work In Progress - applications
#' made from 1st Oct 2006.
#'
#' @format A data frame with 27 rows and 8 variables:
#' @format A data frame with 28 rows and 8 variables:
#' \describe{
#' \item{Date}{Date}
#' \item{Year}{Year}
Expand Down Expand Up @@ -537,7 +537,7 @@
#'
#' Breakdown of asylum productivity by month.
#'
#' @format A data frame with 42 rows and 6 variables:
#' @format A data frame with 45 rows and 6 variables:
#' \describe{
#' \item{Date}{Date}
#' \item{Initial Decisions}{Number of initial decisions made}
Expand All @@ -558,7 +558,7 @@
#' relating to NRPF can be found here:
#' https://homeofficemedia.blog.gov.uk/2020/05/05/no-recourse-to-public-funds-nrpf/
#'
#' @format A data frame with 24 rows and 10 variables:
#' @format A data frame with 25 rows and 10 variables:
#' \describe{
#' \item{Date}{Date}
#' \item{Year}{Year}
Expand All @@ -583,7 +583,7 @@
#' relating to NRPF can be found here:
#' https://homeofficemedia.blog.gov.uk/2020/05/05/no-recourse-to-public-funds-nrpf/
#'
#' @format A data frame with 24 rows and 12 variables:
#' @format A data frame with 25 rows and 12 variables:
#' \describe{
#' \item{Date}{Date}
#' \item{Year}{Year}
Expand All @@ -610,7 +610,7 @@
#' relating to NRPF can be found here:
#' https://homeofficemedia.blog.gov.uk/2020/05/05/no-recourse-to-public-funds-nrpf/
#'
#' @format A data frame with 162 rows and 25 variables:
#' @format A data frame with 164 rows and 26 variables:
#' \describe{
#' \item{Nationality}{Nationality}
#' \item{2017 Q3}{2017 Q3}
Expand All @@ -637,6 +637,7 @@
#' \item{2022 Q4}{2022 Q4}
#' \item{2023 Q1}{2023 Q1}
#' \item{2023 Q2}{2023 Q2}
#' \item{2023 Q3}{2023 Q3}
#' ...
#' }
#' @source \url{https://www.gov.uk/government/collections/migration-transparency-data#uk-visas-and-immigration}
Expand All @@ -650,7 +651,7 @@
#' relating to NRPF can be found here:
#' https://homeofficemedia.blog.gov.uk/2020/05/05/no-recourse-to-public-funds-nrpf/
#'
#' @format A data frame with 24 rows and 6 variables:
#' @format A data frame with 25 rows and 6 variables:
#' \describe{
#' \item{Date}{Date}
#' \item{Year}{Year}
Expand Down Expand Up @@ -1148,7 +1149,7 @@

#' Number of pregnant women detained in the immigration detention estate
#'
#' @format A data frame with 28 rows and 4 variables:
#' @format A data frame with 29 rows and 4 variables:
#' \describe{
#' \item{Date}{Date}
#' \item{Year}{Year}
Expand All @@ -1161,7 +1162,7 @@

#' Average cost per day to hold an individual in immigration detention
#'
#' @format A data frame with 42 rows and 4 variables:
#' @format A data frame with 43 rows and 4 variables:
#' \describe{
#' \item{Date}{Date}
#' \item{Year}{Year}
Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
1 change: 1 addition & 0 deletions data-raw/age_of_asylum_operations.csv
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ Date,Year,Quarter,Total,Less than 3 months,3-6 months,6-12 months,12 months+
2022-12-31,2022,4,136522,23307,22245,27945,63025
2023-03-31,2023,1,138059,14632,22919,34499,66009
2023-06-30,2023,2,138134,15140,13966,39512,69516
2023-09-30,2023,3,131385,21370,15118,34045,60852
12 changes: 6 additions & 6 deletions data-raw/appeal_representation_rate.csv
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ Date,Year,Quarter,All hearings (%),First Tier (%),Upper Tier (%),Deportation (%)
2020-03-31,2020,1,0.88,0.86,1,1
2020-06-30,2020,2,1,1,1,1
2020-09-30,2020,3,0.97,0.96,1,1
2020-12-31,2020,4,0.9525547445255476,0.9392635102821616,1,0.9885496183206107
2021-03-31,2021,1,0.9525547445255476,0.9395559210526315,1,1
2021-06-30,2021,2,0.9525547445255476,0.9391564016424039,1,0.9966442953020135
2021-09-30,2021,3,0.9265961078866508,0.9088964927288281,1,0.9922779922779923
2021-12-31,2021,4,0.8703380968978738,0.8410367170626348,1,1
2022-03-31,2022,1,0.8042722305017387,0.7742865379071777,1,0.9857142857142858
2020-12-31,2020,4,0.9525547445255474,0.9392635102821616,1,0.9885496183206107
2021-03-31,2021,1,0.9525547445255474,0.9395559210526315,1,1
2021-06-30,2021,2,0.9525547445255474,0.9391564016424039,1,0.9966442953020134
2021-09-30,2021,3,0.9265961078866507,0.9088964927288281,1,0.9922779922779923
2021-12-31,2021,4,0.8703380968978738,0.8410367170626349,1,1
2022-03-31,2022,1,0.8042722305017387,0.7742865379071778,1,0.9857142857142858
2022-06-30,2022,2,0.86,0.83,1,0.99
2022-09-30,2022,3,0.89,0.87,1,1
2022-12-31,2022,4,0.94,0.92,1,1
Expand Down
1 change: 1 addition & 0 deletions data-raw/applications_processed_in_6_months.csv
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ Date,Year,Quarter,Decisions in,Total Applications Received,Of those Applications
2022-06-30,2022,2,6 months,18093,1907,0.105,14575,1573,0.108,3465,330,0.095,53,4,0.075
2022-09-30,2022,3,6 months,26513,5838,0.22,22747,4884,0.215,3703,932,0.252,63,22,0.349
2022-12-31,2022,4,6 months,25745,3329,0.129,21375,2676,0.125,4335,642,0.148,35,11,0.314
2023-03-31,2023,1,6 months,17015,3016,0.17725536291507493,13112,2335,0.17808114704087857,3858,672,0.17418351477449456,45,9,0.2
22 changes: 11 additions & 11 deletions data-raw/asylum_costs_and_productivity.csv
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Financial Year,Total Asylum Costs,Asylum WIP (new method),Asylum WIP (old method),Unit Cost,Total Conclusion,Average Conclusions Per Month,Conclusions Productivity,Total Principal Stages Completed,Average Principal Stages Completed Per Month,Asylum Caseworking Staff,Productivity
2010/11,567856116,NA,36838,15415,NA,NA,NA,NA,NA,NA,NA
2011/12,538063196,NA,37299,14426,19686,1641,4.3,62382,5199,380,13.7
2012/13,500219742,NA,39521,12657,19793,1649,3.8,65495,5458,434,12.6
2013/14,449553754,NA,45732,9830.179174319952,17757,1480,4.3,64865,5405,345,15.7
2014/15,474340920,60442,NA,7847.86936236392,20398,1700,4.156479217603912,81813,6818,409,16.669926650366747
2015/16,546895592,77440,NA,7062.184814049587,20754,1729.5,6.651923076923077,56672,4722.666666666667,260,18.164102564102564
2016/17,606008945,84190,NA,7198.110761373085,19812,1651,4.88,51570,4297.5,338,12.714497041420119
2011/12,538063196,NA,37299,14426,19686,1641,4,62382,5199,380,14
2012/13,500219742,NA,39521,12657,19793,1649,4,65495,5458,434,13
2013/14,449553754,NA,45732,9830.179174319952,17757,1480,4,64865,5405,345,16
2014/15,474340920,60442,NA,7847.869362363919,20398,1700,4,81813,6818,409,17
2015/16,546895592,77440,NA,7062.184814049587,20754,1729.5,7,56672,4722.666666666667,260,18
2016/17,606008945,84190,NA,7198.110761373085,19812,1651,5,51570,4297.5,338,13
2017/18,630742805,85721,NA,7358,24300,2025,4,46622,3885,485,8
2018/19,732527605.66,92356.75,NA,7931.5004659648575,23378,1948,4.660287081339713,43972,3664.3333333333335,418,8.76634768740032
2019/20,956188434.7473536,103053.41666666667,NA,9278.570916675288,29831,2486,4.17,48948,4079,597,6.83249581239531
2020/21,1359145698.6403255,114992.33333333333,NA,11819.446212127115,14305,1192,2,29329,2444,600,4.073333333333333
2021/22,2115584829.155,168380,NA,15301.486720896184,20249,1687,3,37874,3156,614,5.140065146579804
2022/23,3966863376.5292,184749,NA,20921,23914,1992.8333333333333,1.88,68303,5691.916666666667,1058,5.379883427851292
2018/19,732527605.66,92356.75,NA,7931.500465964858,23378,1948,5,43972,3664.3333333333335,418,9
2019/20,956188434.7473537,103053.41666666667,NA,9278.570916675288,29831,2486,4,48948,4079,597,7
2020/21,1359145698.6403255,114992.33333333333,NA,11819.446212127117,14305,1192,2,29329,2444,600,4
2021/22,2115584829.155,168380,NA,15301.486720896184,20249,1687,3,37874,3156,614,5
2022/23,3966863376.5292,184749,NA,20921,23914,1992.8333333333333,2,68303,5691.916666666667,1058,5
85 changes: 44 additions & 41 deletions data-raw/asylum_productivity_breakdown.csv
Original file line number Diff line number Diff line change
@@ -1,43 +1,46 @@
Date,Initial Decisions,Substantive Interviews,Total Principal Stages Completed,Asylum Caseworking Staff,Productivity
2020-01-31,2331,2319,4650,635,7.325984251968504
2020-02-29,2246,2253,4499,616,7.3019480519480515
2020-03-31,1970,1591,3561,607,5.8665568369028005
2020-04-30,380,1,381,608,0.625
2020-05-31,1052,1,1053,604,1.7433774834437086
2020-06-30,1785,1,1786,602,2.9667774086378738
2020-07-31,1468,20,1488,602,2.471760797342193
2020-08-31,944,445,1389,614,2.262214983713355
2020-09-30,955,811,1766,619,2.852988691437803
2020-10-31,1854,1447,3301,604,5.466887417218543
2020-11-30,1663,1849,3512,591,5.94077834179357
2020-12-31,1452,1879,3331,579,5.751295336787565
2021-01-31,1586,1808,3394,566,5.9946996466431095
2021-02-28,1550,1958,3508,545,6.43302752293578
2021-03-31,2149,2266,4415,555,7.947747747747747
2021-04-30,1693,1981,3674,543,6.760589318600369
2020-01-31,2331,2319,4650,635,7
2020-02-29,2246,2253,4499,616,7
2020-03-31,1970,1591,3561,607,6
2020-04-30,380,1,381,608,1
2020-05-31,1052,1,1053,604,2
2020-06-30,1785,1,1786,602,3
2020-07-31,1468,20,1488,602,2
2020-08-31,944,445,1389,614,2
2020-09-30,955,811,1766,619,3
2020-10-31,1854,1447,3301,604,5
2020-11-30,1663,1849,3512,591,6
2020-12-31,1452,1879,3331,579,6
2021-01-31,1586,1808,3394,566,6
2021-02-28,1550,1958,3508,545,6
2021-03-31,2149,2266,4415,555,8
2021-04-30,1693,1981,3674,543,7
2021-05-31,1522,1674,3196,533,6
2021-06-30,1715,1696,3411,545,6.256880733944954
2021-07-31,1489,1463,2952,562,5.241992882562276
2021-08-31,1483,962,2445,590,4.133898305084746
2021-09-30,1793,860,2653,623,4.248796147672552
2021-10-31,1791,1073,2864,600,4.82
2021-11-30,1682,1410,3092,604,5.1009933774834435
2021-12-31,1586,961,2547,591,4.301184433164129
2022-01-31,1942,1253,3195,681,4.669603524229075
2022-02-28,2217,1393,3610,728,4.925824175824176
2022-03-31,2550,1743,4293,777,5.498069498069498
2022-04-30,1743,1610,3353,800,4.145
2022-05-31,2343,2080,4423,789,5.571609632446134
2022-06-30,2309,2030,4339,848,5.09433962264151
2022-07-31,2707,1967,4674,865,5.328323699421965
2022-08-31,3141,2485,5626,892,6.196188340807175
2022-09-30,3164,2446,5610,911,6.052689352360044
2022-10-31,2932,2464,5396,1175,4.528510638297872
2022-11-30,3575,2721,6296,1265,4.883794466403162
2022-12-31,3143,2176,5319,1237,4.177041228779305
2023-01-31,4674,2677,7351,1333,5.483120780195049
2023-02-28,5170,2178,7348,1302,5.5798771121351765
2023-03-31,6225,2343,8568,1281,6.698672911787666
2023-04-30,5427,1723,7150,1274,5.591836734693878
2023-05-31,4912,2529,7441,1280,5.78984375
2023-06-30,6439,4452,10891,1556,6.995501285347044
2021-06-30,1715,1696,3411,545,6
2021-07-31,1489,1463,2952,562,5
2021-08-31,1483,962,2445,590,4
2021-09-30,1793,860,2653,623,4
2021-10-31,1791,1073,2864,600,5
2021-11-30,1682,1410,3092,604,5
2021-12-31,1586,961,2547,591,4
2022-01-31,1942,1253,3195,681,5
2022-02-28,2217,1393,3610,728,5
2022-03-31,2550,1743,4293,777,5
2022-04-30,1743,1610,3353,800,4
2022-05-31,2343,2080,4423,789,6
2022-06-30,2309,2030,4339,848,5
2022-07-31,2707,1967,4674,865,5
2022-08-31,3141,2485,5626,892,6
2022-09-30,3164,2446,5610,911,6
2022-10-31,2932,2464,5396,1175,5
2022-11-30,3575,2721,6296,1265,5
2022-12-31,3143,2176,5319,1237,4
2023-01-31,4674,2677,7351,1333,5
2023-02-28,5170,2178,7348,1302,6
2023-03-31,6225,2343,8568,1281,7
2023-04-30,5427,1723,7150,1274,6
2023-05-31,4912,2529,7441,1280,6
2023-06-30,6439,4452,10891,1556,7
2023-07-31,7710,4509,12219,1729,7
2023-08-31,8863,6270,15133,2445,6
2023-09-30,12711,7688,20399,2461,8
2 changes: 1 addition & 1 deletion data-raw/decision_quality.csv
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ Financial Year,Assurance,Decision Quality (%),Number of Decisions Sampled,Sample
2019/20,First Line Assurance,0.75,1066,0.06
2020/21,First Line Assurance,0.75,996,0.11
2021/22,First Line Assurance,0.76,902,0.07
2022/23,First Line Assurance,0.72,429,0.023688569850911095
2022/23,First Line Assurance,0.72,429,0.023688569850911098
1 change: 1 addition & 0 deletions data-raw/detention_cost_per_day.csv
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ Date,Year,Quarter,Cost
2022-12-31,2022,4,120.42
2023-03-31,2023,1,112.85
2023-06-30,2023,2,107.71
2023-09-30,2023,3,104.99
1 change: 1 addition & 0 deletions data-raw/detention_pregnant_women.csv
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ Date,Year,Quarter,Number of pregnant women detained in the immigration detention
2022-12-31,2022,4,3
2023-03-31,2023,1,1
2023-06-30,2023,2,1
2023-09-30,2023,3,0
Loading

0 comments on commit 22064dd

Please sign in to comment.