diff --git a/R/knownVariables.r b/R/knownVariables.r index ac67e6c..9da1f6a 100644 --- a/R/knownVariables.r +++ b/R/knownVariables.r @@ -117,3 +117,5 @@ acceptable_indicatorunits <- c("%", "pp", "£", "£m") # Harmonised values =================================================================================================== ethnicity_standard_values <- suppressMessages(read_csv("data/ethnicity.csv")) + +harmonised_col_names <- suppressMessages(read_csv("data/harmonised_col_names.csv")) diff --git a/R/mainTests.r b/R/mainTests.r index 1e93ea9..9a043db 100644 --- a/R/mainTests.r +++ b/R/mainTests.r @@ -58,7 +58,7 @@ mainTests <- function(data_character, meta_character, datafile, metafile) { indicator_dp(metafile), # active test indicator_dp_validation(metafile), # active test indicator_dp_completed(metafile), # active test - ethnicity_headers(metafile), # active test + standard_filter_headers(metafile), # active test ethnicity_values(datafile), # active test ethnicity_characteristic_group(datafile), # active test ethnicity_characteristic_values(datafile), # active test @@ -2556,36 +2556,45 @@ indicator_dp_completed <- function(meta) { return(output) } -ethnicity_headers <- function(meta) { - # First find any ethnicity type columns that don't have the standard col_names - ethnicity_standard_headers <- c("ethnicity_major", "ethnicity_minor", "ethnicity_detailed", "minority_ethnic") - ethnicity_columns <- meta %>% +standard_filter_headers <- function(meta) { + # Collapse search terms for bad column names into regex term + search_string <- harmonised_col_names %>% + pull(col_name_search_string) %>% + unique() %>% + paste( + collapse = "|" + ) + # Pivot meta data to arrange col_name and filter_grouping_column together and + # then filter for possible non-standard filter names. + standard_col_names <- harmonised_col_names %>% + pull(col_name_harmonised) %>% + unique() + bad_col_names <- meta %>% + select(col_name, filter_grouping_column) %>% + pivot_longer( + c(col_name, filter_grouping_column), + values_to = "col_name" + ) %>% filter( - grepl("ethnic", tolower(col_name)), - !(col_name %in% ethnicity_standard_headers) + grepl(search_string, tolower(col_name)), + !(col_name %in% standard_col_names) ) %>% pull(col_name) - if (length(ethnicity_columns) == 0) { + if (length(bad_col_names) == 0) { output <- list( - "message" = "No ethnicity header issues found.", + "message" = "No standardised col_name issues found.", "result" = "PASS" ) - } else if (length(ethnicity_columns) == 1) { - output <- list( - "message" = paste0( - paste(ethnicity_columns, collapse = "', '"), " appears to relate to ethnicity data, but does not conform to the standard col_name conventions: ", - paste(ethnicity_standard_headers, collapse = ", "), - "." - ), - "result" = "FAIL" - ) } else { output <- list( "message" = paste0( - "The following columns appear to relate to ethnicity data, but do not conform to the standard col_name conventions:
- '", - paste(ethnicity_columns, collapse = "', '"), "'.
- These should take the form of one of the following: ", - paste(ethnicity_standard_headers, collapse = ", "), - "." + "The column(s) '", + paste(bad_col_names, collapse = "', '"), "' appear to relate to ", + "contexts that fall under the harmonised data standards. Please verify", + " your column headers against the data standards in the DfE harmonised data guidance." ), "result" = "FAIL" ) diff --git a/data/harmonised_col_names.csv b/data/harmonised_col_names.csv new file mode 100644 index 0000000..afe4993 --- /dev/null +++ b/data/harmonised_col_names.csv @@ -0,0 +1,17 @@ +col_name_search_string,col_name_harmonised +sen_,sen_status +sen_,sen_primary_need +sen_,sen_secondary_need +sen_,sen_provision +primary_need,sen_primary_need +secondary_need,sen_secondary_need +establishment_type,establishment_type +establishment_type,establishment_type_group +provider_type,provider_type +school_type,establishment_type +school_type,establishment_type_group +phase,education_phase +ethnic,ethnicity_major +ethnic,ethnicity_minor +ethnic,ethnicity_detailed +ethnic,minority_ethnic diff --git a/data/sen.csv b/data/sen.csv index 0dad169..ec2f747 100644 --- a/data/sen.csv +++ b/data/sen.csv @@ -7,7 +7,7 @@ sen_provision,SEN provision,SEN support / SEN without an EHC plan,sen_status,Any sen_provision,SEN provision,No SEN provision,sen_status,No identified special educational need, sen_provision,SEN provision,Total,sen_status,Total, sen_primary_need,SEN primary need,All primary need,,, -sen_primary_need,SEN primary need,"Autistic spectrum disorder ",,,ASD +sen_primary_need,SEN primary need,"Autistic spectrum disorder",,,ASD sen_primary_need,SEN primary need,Hearing impairment,,,HI sen_primary_need,SEN primary need,Not reported,,, sen_primary_need,SEN primary need,Moderate learning difficulty,,,MLD @@ -24,7 +24,7 @@ sen_primary_need,SEN primary need,Vision impairment,,,VI sen_primary_need,SEN primary need,No primary need,,, sen_primary_need,SEN primary need,Unknown,,, sen_secondary_need,SEN secondary need,All secondary need,,, -sen_secondary_need,SEN secondary need,"Autistic spectrum disorder ",,,ASD +sen_secondary_need,SEN secondary need,"Autistic spectrum disorder",,,ASD sen_secondary_need,SEN secondary need,Hearing impairment,,,HI sen_secondary_need,SEN secondary need,Not reported,,, sen_secondary_need,SEN secondary need,Moderate learning difficulty,,,MLD diff --git a/manifest.json b/manifest.json index f89314e..e4c7247 100644 --- a/manifest.json +++ b/manifest.json @@ -169,14 +169,7 @@ "Date/Publication": "2024-06-15 19:40:02 UTC", "Encoding": "UTF-8", "Built": "R 4.4.0; x86_64-w64-mingw32; 2024-06-16 04:59:25 UTC; windows", - "Archs": "x64", - "RemoteType": "standard", - "RemotePkgRef": "PKI", - "RemoteRef": "PKI", - "RemoteRepos": "https://packagemanager.posit.co/cran/latest", - "RemoteReposName": "CRAN", - "RemotePkgPlatform": "x86_64-w64-mingw32", - "RemoteSha": "0.1-14" + "Archs": "x64" } }, "R.cache": { @@ -199,10 +192,16 @@ "RoxygenNote": "7.2.1", "NeedsCompilation": "no", "Packaged": "2022-07-21 13:19:33 UTC; hb", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2022-07-21 16:20:02 UTC", - "Encoding": "UTF-8", - "Built": "R 4.4.0; ; 2024-04-25 19:48:03 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-17 00:54:16 UTC; windows", + "RemoteType": "standard", + "RemotePkgRef": "R.cache", + "RemoteRef": "R.cache", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "0.16.0" } }, "R.methodsS3": { @@ -225,10 +224,16 @@ "BugReports": "https://github.com/HenrikBengtsson/R.methodsS3/issues", "NeedsCompilation": "no", "Packaged": "2022-06-13 18:23:35 UTC; hb", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2022-06-13 22:00:14 UTC", - "Encoding": "UTF-8", - "Built": "R 4.4.0; ; 2024-04-25 19:42:43 UTC; windows" + "Built": "R 4.4.0; ; 2024-04-23 00:24:06 UTC; windows", + "RemoteType": "standard", + "RemotePkgRef": "R.methodsS3", + "RemoteRef": "R.methodsS3", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "1.8.2" } }, "R.oo": { @@ -251,10 +256,16 @@ "BugReports": "https://github.com/HenrikBengtsson/R.oo/issues", "NeedsCompilation": "no", "Packaged": "2024-01-24 02:17:13 UTC; henrik", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2024-01-24 05:12:50 UTC", - "Encoding": "UTF-8", - "Built": "R 4.4.0; ; 2024-04-25 19:44:10 UTC; windows" + "Built": "R 4.4.0; ; 2024-04-23 01:16:54 UTC; windows", + "RemoteType": "standard", + "RemotePkgRef": "R.oo", + "RemoteRef": "R.oo", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "1.26.0" } }, "R.utils": { @@ -277,10 +288,16 @@ "BugReports": "https://github.com/HenrikBengtsson/R.utils/issues", "NeedsCompilation": "no", "Packaged": "2023-11-17 05:13:25 UTC; henrik", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2023-11-18 01:00:02 UTC", - "Encoding": "UTF-8", - "Built": "R 4.4.0; ; 2024-04-25 19:47:24 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-17 00:52:47 UTC; windows", + "RemoteType": "standard", + "RemotePkgRef": "R.utils", + "RemoteRef": "R.utils", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "2.12.3" } }, "R6": { @@ -302,10 +319,16 @@ "Packaged": "2021-08-06 20:18:46 UTC; winston", "Author": "Winston Chang [aut, cre]", "Maintainer": "Winston Chang ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2021-08-19 14:00:05 UTC", - "Encoding": "UTF-8", - "Built": "R 4.4.0; ; 2024-04-25 19:39:56 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-17 00:52:18 UTC; windows", + "RemoteType": "standard", + "RemotePkgRef": "R6", + "RemoteRef": "R6", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "2.5.1" } }, "RColorBrewer": { @@ -351,9 +374,9 @@ "Encoding": "UTF-8", "NeedsCompilation": "yes", "Packaged": "2024-01-08 12:50:16 UTC; edd", - "Repository": "CRAN", + "Repository": "RSPM", "Date/Publication": "2024-01-09 08:20:35 UTC", - "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-06-19 09:46:05 UTC; windows", + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-24 12:06:58 UTC; windows", "Archs": "x64" } }, @@ -435,9 +458,9 @@ "RoxygenNote": "7.1.2", "Packaged": "2021-12-13 10:49:30 UTC; michel", "Author": "Michel Lang [cre, aut] (),\n R Core Team [aut]", - "Repository": "CRAN", + "Repository": "RSPM", "Date/Publication": "2021-12-13 11:30:02 UTC", - "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-06-28 14:16:32 UTC; windows", + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-24 12:08:23 UTC; windows", "Archs": "x64" } }, @@ -489,8 +512,15 @@ "Packaged": "2022-11-13 21:22:09 UTC; jo", "Repository": "CRAN", "Date/Publication": "2022-11-15 21:20:16 UTC", - "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-06-25 00:32:53 UTC; windows", - "Archs": "x64" + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-17 00:52:37 UTC; windows", + "Archs": "x64", + "RemoteType": "standard", + "RemotePkgRef": "bit", + "RemoteRef": "bit", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "4.0.5" } }, "bit64": { @@ -518,8 +548,15 @@ "Date/Publication": "2020-08-30 07:20:02 UTC", "NeedsCompilation": "yes", "Packaged": "2020-08-29 10:56:45 UTC; jo", - "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-06-25 01:13:21 UTC; windows", - "Archs": "x64" + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-17 01:25:33 UTC; windows", + "Archs": "x64", + "RemoteType": "standard", + "RemotePkgRef": "bit64", + "RemoteRef": "bit64", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "4.0.5" } }, "brio": { @@ -724,9 +761,9 @@ "Packaged": "2023-12-10 22:38:10 UTC; gaborcsardi", "Author": "Gábor Csárdi [aut, cre],\n Hadley Wickham [ctb],\n Kirill Müller [ctb],\n Salim Brüggemann [ctb] (),\n Posit Software, PBC [cph, fnd]", "Maintainer": "Gábor Csárdi ", - "Repository": "CRAN", + "Repository": "RSPM", "Date/Publication": "2023-12-11 07:40:13 UTC", - "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-06-27 14:37:40 UTC; windows", + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-24 12:05:06 UTC; windows", "Archs": "x64" } }, @@ -754,9 +791,16 @@ "Packaged": "2022-02-19 02:20:21 UTC; mlincoln", "Author": "Matthew Lincoln [aut, cre] (),\n Louis Maddox [ctb],\n Steve Simpson [ctb],\n Jennifer Bryan [ctb]", "Maintainer": "Matthew Lincoln ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2022-02-22 00:58:45 UTC", - "Built": "R 4.4.0; ; 2024-04-25 20:14:35 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-17 00:52:36 UTC; windows", + "RemoteType": "standard", + "RemotePkgRef": "clipr", + "RemoteRef": "clipr", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "0.8.0" } }, "codetools": { @@ -890,9 +934,16 @@ "Packaged": "2023-12-01 19:16:04 UTC; davis", "Author": "Davis Vaughan [aut, cre] (),\n Jim Hester [aut] (),\n Romain François [aut] (),\n Benjamin Kietzman [ctb],\n Posit Software, PBC [cph, fnd]", "Maintainer": "Davis Vaughan ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2023-12-02 13:20:02 UTC", - "Built": "R 4.4.0; ; 2024-04-25 19:52:43 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-17 00:52:18 UTC; windows", + "RemoteType": "standard", + "RemotePkgRef": "cpp11", + "RemoteRef": "cpp11", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "0.4.7" } }, "crayon": { @@ -916,9 +967,9 @@ "Packaged": "2022-09-29 06:24:10 UTC; gaborcsardi", "Author": "Gábor Csárdi [aut, cre],\n Brodie Gaslam [ctb]", "Maintainer": "Gábor Csárdi ", - "Repository": "CRAN", + "Repository": "RSPM", "Date/Publication": "2022-09-29 16:20:24 UTC", - "Built": "R 4.4.1; ; 2024-06-27 14:40:09 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-24 12:11:21 UTC; windows" } }, "crosstalk": { @@ -971,10 +1022,17 @@ "Packaged": "2024-02-26 21:12:31 UTC; jeroen", "Author": "Jeroen Ooms [aut, cre] (),\n Hadley Wickham [ctb],\n RStudio [cph]", "Maintainer": "Jeroen Ooms ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2024-03-01 23:22:46 UTC", - "Built": "R 4.4.0; x86_64-w64-mingw32; 2024-04-25 19:51:31 UTC; windows", - "Archs": "x64" + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-17 00:52:28 UTC; windows", + "Archs": "x64", + "RemoteType": "standard", + "RemotePkgRef": "curl", + "RemoteRef": "curl", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "5.2.1" } }, "data.table": { @@ -1058,7 +1116,7 @@ "RoxygenNote": "7.3.1", "Author": "Cam Race [aut, cre],\n Laura Selby [aut],\n Adam Robinson [aut],\n Jen Machin [ctb],\n Rich Bielby [ctb] ()", "Maintainer": "Cam Race ", - "Built": "R 4.4.1; ; 2024-07-22 17:29:43 UTC; windows", + "Built": "R 4.4.1; ; 2024-07-24 12:11:33 UTC; windows", "RemoteType": "github", "RemoteUsername": "dfe-analytical-services", "RemoteRepo": "dfeR", @@ -1122,9 +1180,9 @@ "Packaged": "2021-09-30 20:08:35 UTC; hadley", "Author": "Hadley Wickham [aut, cre],\n Joshua Kunst [aut],\n Winston Chang [aut],\n RStudio [cph, fnd],\n Paul Fitzpatrick [cph] (Author of included daff.js library),\n Rodrigo Fernandes [cph] (Author of included diff2html library),\n JQuery Foundation [cph] (Author of included jquery library),\n Kevin Decker [cph] (Author of included jsdiff library),\n Matthew Holt [cph] (Author of incldued PapaParse library),\n Huddle [cph] (Author of included resemble library)", "Maintainer": "Hadley Wickham ", - "Repository": "CRAN", + "Repository": "RSPM", "Date/Publication": "2021-09-30 20:20:02 UTC", - "Built": "R 4.4.1; ; 2024-06-28 14:20:10 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-24 12:11:40 UTC; windows" } }, "digest": { @@ -1147,9 +1205,10 @@ "VignetteBuilder": "simplermarkdown", "NeedsCompilation": "yes", "Packaged": "2024-03-10 19:40:54 UTC; edd", - "Repository": "CRAN", + "Repository": "RSPM", "Date/Publication": "2024-03-11 14:10:06 UTC", - "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-06-27 14:37:11 UTC; windows", + "Encoding": "UTF-8", + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-24 12:00:57 UTC; windows", "Archs": "x64" } }, @@ -1179,10 +1238,17 @@ "Packaged": "2023-11-16 21:48:56 UTC; hadleywickham", "Author": "Hadley Wickham [aut, cre] (),\n Romain François [aut] (),\n Lionel Henry [aut],\n Kirill Müller [aut] (),\n Davis Vaughan [aut] (),\n Posit Software, PBC [cph, fnd]", "Maintainer": "Hadley Wickham ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2023-11-17 16:50:02 UTC", - "Built": "R 4.4.0; x86_64-w64-mingw32; 2024-04-25 20:33:28 UTC; windows", - "Archs": "x64" + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-17 02:17:41 UTC; windows", + "Archs": "x64", + "RemoteType": "standard", + "RemotePkgRef": "dplyr", + "RemoteRef": "dplyr", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "1.1.4" } }, "evaluate": { @@ -1208,9 +1274,9 @@ "Packaged": "2023-11-01 13:28:50 UTC; yihui", "Author": "Hadley Wickham [aut],\n Yihui Xie [aut, cre] (),\n Michael Lawrence [ctb],\n Thomas Kluyver [ctb],\n Jeroen Ooms [ctb],\n Barret Schloerke [ctb],\n Adam Ryczkowski [ctb],\n Hiroaki Yutani [ctb],\n Michel Lang [ctb],\n Karolis Koncevičius [ctb],\n Posit Software, PBC [cph, fnd]", "Maintainer": "Yihui Xie ", - "Repository": "CRAN", + "Repository": "RSPM", "Date/Publication": "2023-11-01 14:10:02 UTC", - "Built": "R 4.4.1; ; 2024-06-27 14:40:19 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-24 12:03:17 UTC; windows" } }, "fansi": { @@ -1236,10 +1302,17 @@ "Packaged": "2023-12-06 00:59:41 UTC; bg", "Author": "Brodie Gaslam [aut, cre],\n Elliott Sales De Andrade [ctb],\n R Core Team [cph] (UTF8 byte length calcs from src/util.c)", "Maintainer": "Brodie Gaslam ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2023-12-08 03:30:02 UTC", - "Built": "R 4.4.0; x86_64-w64-mingw32; 2024-04-25 19:43:50 UTC; windows", - "Archs": "x64" + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-17 00:52:15 UTC; windows", + "Archs": "x64", + "RemoteType": "standard", + "RemotePkgRef": "fansi", + "RemoteRef": "fansi", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "1.0.6" } }, "farver": { @@ -1380,9 +1453,16 @@ "Packaged": "2022-07-05 14:52:13 UTC; davis", "Author": "Hadley Wickham [aut, cre],\n Max Kuhn [aut],\n Davis Vaughan [aut],\n RStudio [cph]", "Maintainer": "Hadley Wickham ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2022-07-05 19:40:02 UTC", - "Built": "R 4.4.0; ; 2024-04-25 19:40:35 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-17 00:52:18 UTC; windows", + "RemoteType": "standard", + "RemotePkgRef": "generics", + "RemoteRef": "generics", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "0.1.3" } }, "ggplot2": { @@ -1442,9 +1522,9 @@ "Encoding": "UTF-8", "RoxygenNote": "7.2.3", "Packaged": "2023-11-26 16:10:10 UTC; stefan", - "Repository": "CRAN", + "Repository": "RSPM", "Date/Publication": "2023-11-26 16:50:05 UTC", - "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-06-25 00:34:23 UTC; windows", + "Built": "R 4.4.0; x86_64-w64-mingw32; 2024-04-25 20:34:38 UTC; windows", "Archs": "x64" } }, @@ -1500,10 +1580,17 @@ "Packaged": "2024-01-08 16:10:57 UTC; jenny", "Author": "Jim Hester [aut] (),\n Jennifer Bryan [aut, cre] (),\n Posit Software, PBC [cph, fnd]", "Maintainer": "Jennifer Bryan ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2024-01-09 23:13:08 UTC", - "Built": "R 4.4.0; x86_64-w64-mingw32; 2024-04-25 19:52:29 UTC; windows", - "Archs": "x64" + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-17 00:52:17 UTC; windows", + "Archs": "x64", + "RemoteType": "standard", + "RemotePkgRef": "glue", + "RemoteRef": "glue", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "1.7.0" } }, "gtable": { @@ -1558,9 +1645,9 @@ "Packaged": "2022-12-22 06:43:07 UTC; yihui", "Author": "Yihui Xie [aut, cre] (),\n Yixuan Qiu [aut],\n Christopher Gandrud [ctb],\n Qiang Li [ctb]", "Maintainer": "Yihui Xie ", - "Repository": "CRAN", + "Repository": "RSPM", "Date/Publication": "2022-12-22 07:00:02 UTC", - "Built": "R 4.4.1; ; 2024-06-27 14:43:09 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-24 12:03:58 UTC; windows" } }, "hms": { @@ -1590,7 +1677,14 @@ "Maintainer": "Kirill Müller ", "Repository": "CRAN", "Date/Publication": "2023-03-21 18:10:02 UTC", - "Built": "R 4.4.1; ; 2024-06-19 11:02:53 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-17 01:59:52 UTC; windows", + "RemoteType": "standard", + "RemotePkgRef": "hms", + "RemoteRef": "hms", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "1.1.3" } }, "htmltools": { @@ -1765,9 +1859,9 @@ "Packaged": "2023-02-02 16:00:15 UTC; samfi", "Author": "Sam Firke [aut, cre],\n Bill Denney [ctb],\n Chris Haid [ctb],\n Ryan Knight [ctb],\n Malte Grosser [ctb],\n Jonathan Zadra [ctb]", "Maintainer": "Sam Firke ", - "Repository": "CRAN", + "Repository": "RSPM", "Date/Publication": "2023-02-02 16:50:06 UTC", - "Built": "R 4.4.1; ; 2024-06-25 02:25:25 UTC; windows" + "Built": "R 4.4.0; ; 2024-04-25 21:26:09 UTC; windows" } }, "jquerylib": { @@ -1846,9 +1940,9 @@ "Packaged": "2024-04-05 19:54:27 UTC; yihui", "Author": "Yihui Xie [aut, cre] (),\n Abhraneel Sarma [ctb],\n Adam Vogt [ctb],\n Alastair Andrew [ctb],\n Alex Zvoleff [ctb],\n Amar Al-Zubaidi [ctb],\n Andre Simon [ctb] (the CSS files under inst/themes/ were derived from\n the Highlight package http://www.andre-simon.de),\n Aron Atkins [ctb],\n Aaron Wolen [ctb],\n Ashley Manton [ctb],\n Atsushi Yasumoto [ctb] (),\n Ben Baumer [ctb],\n Brian Diggs [ctb],\n Brian Zhang [ctb],\n Bulat Yapparov [ctb],\n Cassio Pereira [ctb],\n Christophe Dervieux [ctb],\n David Hall [ctb],\n David Hugh-Jones [ctb],\n David Robinson [ctb],\n Doug Hemken [ctb],\n Duncan Murdoch [ctb],\n Elio Campitelli [ctb],\n Ellis Hughes [ctb],\n Emily Riederer [ctb],\n Fabian Hirschmann [ctb],\n Fitch Simeon [ctb],\n Forest Fang [ctb],\n Frank E Harrell Jr [ctb] (the Sweavel package at inst/misc/Sweavel.sty),\n Garrick Aden-Buie [ctb],\n Gregoire Detrez [ctb],\n Hadley Wickham [ctb],\n Hao Zhu [ctb],\n Heewon Jeon [ctb],\n Henrik Bengtsson [ctb],\n Hiroaki Yutani [ctb],\n Ian Lyttle [ctb],\n Hodges Daniel [ctb],\n Jacob Bien [ctb],\n Jake Burkhead [ctb],\n James Manton [ctb],\n Jared Lander [ctb],\n Jason Punyon [ctb],\n Javier Luraschi [ctb],\n Jeff Arnold [ctb],\n Jenny Bryan [ctb],\n Jeremy Ashkenas [ctb, cph] (the CSS file at\n inst/misc/docco-classic.css),\n Jeremy Stephens [ctb],\n Jim Hester [ctb],\n Joe Cheng [ctb],\n Johannes Ranke [ctb],\n John Honaker [ctb],\n John Muschelli [ctb],\n Jonathan Keane [ctb],\n JJ Allaire [ctb],\n Johan Toloe [ctb],\n Jonathan Sidi [ctb],\n Joseph Larmarange [ctb],\n Julien Barnier [ctb],\n Kaiyin Zhong [ctb],\n Kamil Slowikowski [ctb],\n Karl Forner [ctb],\n Kevin K. Smith [ctb],\n Kirill Mueller [ctb],\n Kohske Takahashi [ctb],\n Lorenz Walthert [ctb],\n Lucas Gallindo [ctb],\n Marius Hofert [ctb],\n Martin Modrák [ctb],\n Michael Chirico [ctb],\n Michael Friendly [ctb],\n Michal Bojanowski [ctb],\n Michel Kuhlmann [ctb],\n Miller Patrick [ctb],\n Nacho Caballero [ctb],\n Nick Salkowski [ctb],\n Niels Richard Hansen [ctb],\n Noam Ross [ctb],\n Obada Mahdi [ctb],\n Pavel N. Krivitsky [ctb] (),\n Pedro Faria [ctb],\n Qiang Li [ctb],\n Ramnath Vaidyanathan [ctb],\n Richard Cotton [ctb],\n Robert Krzyzanowski [ctb],\n Rodrigo Copetti [ctb],\n Romain Francois [ctb],\n Ruaridh Williamson [ctb],\n Sagiru Mati [ctb] (),\n Scott Kostyshak [ctb],\n Sebastian Meyer [ctb],\n Sietse Brouwer [ctb],\n Simon de Bernard [ctb],\n Sylvain Rousseau [ctb],\n Taiyun Wei [ctb],\n Thibaut Assus [ctb],\n Thibaut Lamadon [ctb],\n Thomas Leeper [ctb],\n Tim Mastny [ctb],\n Tom Torsney-Weir [ctb],\n Trevor Davis [ctb],\n Viktoras Veitas [ctb],\n Weicheng Zhu [ctb],\n Wush Wu [ctb],\n Zachary Foster [ctb],\n Zhian N. Kamvar [ctb] (),\n Posit Software, PBC [cph, fnd]", "Maintainer": "Yihui Xie ", - "Repository": "CRAN", + "Repository": "RSPM", "Date/Publication": "2024-04-06 18:13:00 UTC", - "Built": "R 4.4.1; ; 2024-06-27 14:43:19 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-24 12:04:25 UTC; windows" } }, "labeling": { @@ -1983,9 +2077,16 @@ "Packaged": "2023-11-06 16:07:36 UTC; lionel", "Author": "Lionel Henry [aut, cre],\n Hadley Wickham [aut] (),\n Posit Software, PBC [cph, fnd]", "Maintainer": "Lionel Henry ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2023-11-07 10:10:10 UTC", - "Built": "R 4.4.0; ; 2024-04-25 20:06:30 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-17 01:25:34 UTC; windows", + "RemoteType": "standard", + "RemotePkgRef": "lifecycle", + "RemoteRef": "lifecycle", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "1.0.4" } }, "lubridate": { @@ -2017,9 +2118,9 @@ "NeedsCompilation": "yes", "Packaged": "2023-09-24 18:46:12 UTC; vspinu", "Author": "Vitalie Spinu [aut, cre],\n Garrett Grolemund [aut],\n Hadley Wickham [aut],\n Davis Vaughan [ctb],\n Ian Lyttle [ctb],\n Imanuel Costigan [ctb],\n Jason Law [ctb],\n Doug Mitarotonda [ctb],\n Joseph Larmarange [ctb],\n Jonathan Boiser [ctb],\n Chel Hee Lee [ctb]", - "Repository": "CRAN", + "Repository": "RSPM", "Date/Publication": "2023-09-27 09:20:06 UTC", - "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-06-25 01:28:07 UTC; windows", + "Built": "R 4.4.0; x86_64-w64-mingw32; 2024-04-25 20:14:15 UTC; windows", "Archs": "x64" } }, @@ -2047,10 +2148,17 @@ "Packaged": "2022-03-29 09:34:37 UTC; lionel", "Author": "Stefan Milton Bache [aut, cph] (Original author and creator of\n magrittr),\n Hadley Wickham [aut],\n Lionel Henry [cre],\n RStudio [cph, fnd]", "Maintainer": "Lionel Henry ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2022-03-30 07:30:09 UTC", - "Built": "R 4.4.0; x86_64-w64-mingw32; 2024-04-25 19:43:08 UTC; windows", - "Archs": "x64" + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-17 00:52:18 UTC; windows", + "Archs": "x64", + "RemoteType": "standard", + "RemotePkgRef": "magrittr", + "RemoteRef": "magrittr", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "2.0.3" } }, "memoise": { @@ -2239,14 +2347,7 @@ "Maintainer": "Aron Atkins ", "Repository": "RSPM", "Date/Publication": "2023-09-05 13:00:02 UTC", - "Built": "R 4.4.0; ; 2024-04-25 19:01:46 UTC; windows", - "RemoteType": "standard", - "RemotePkgRef": "packrat", - "RemoteRef": "packrat", - "RemoteRepos": "https://packagemanager.posit.co/cran/latest", - "RemoteReposName": "CRAN", - "RemotePkgPlatform": "x86_64-w64-mingw32", - "RemoteSha": "0.9.2" + "Built": "R 4.4.0; ; 2024-04-25 19:01:46 UTC; windows" } }, "pillar": { @@ -2277,9 +2378,16 @@ "Packaged": "2023-03-21 08:42:46 UTC; kirill", "Author": "Kirill Müller [aut, cre] (),\n Hadley Wickham [aut],\n RStudio [cph]", "Maintainer": "Kirill Müller ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2023-03-22 08:10:02 UTC", - "Built": "R 4.4.0; ; 2024-04-25 20:17:40 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-17 01:59:48 UTC; windows", + "RemoteType": "standard", + "RemotePkgRef": "pillar", + "RemoteRef": "pillar", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "1.9.0" } }, "pingr": { @@ -2358,9 +2466,16 @@ "Encoding": "UTF-8", "NeedsCompilation": "no", "Packaged": "2019-09-22 08:42:40 UTC; gaborcsardi", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2019-09-22 09:20:02 UTC", - "Built": "R 4.4.0; ; 2024-04-25 20:11:40 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-17 00:52:17 UTC; windows", + "RemoteType": "standard", + "RemotePkgRef": "pkgconfig", + "RemoteRef": "pkgconfig", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "2.0.3" } }, "pkgload": { @@ -2390,7 +2505,7 @@ "Maintainer": "Lionel Henry ", "Repository": "RSPM", "Date/Publication": "2024-01-16 12:20:04 UTC", - "Built": "R 4.4.0; ; 2024-04-25 20:09:12 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-24 12:12:05 UTC; windows" } }, "praise": { @@ -2439,7 +2554,14 @@ "Maintainer": "Gabor Csardi ", "Repository": "CRAN", "Date/Publication": "2023-09-24 21:10:02 UTC", - "Built": "R 4.4.1; ; 2024-06-19 09:46:05 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-17 00:52:30 UTC; windows", + "RemoteType": "standard", + "RemotePkgRef": "prettyunits", + "RemoteRef": "prettyunits", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "1.2.0" } }, "processx": { @@ -2496,7 +2618,14 @@ "Maintainer": "Gábor Csárdi ", "Repository": "CRAN", "Date/Publication": "2023-12-06 10:30:02 UTC", - "Built": "R 4.4.1; ; 2024-06-19 11:11:47 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-17 02:09:21 UTC; windows", + "RemoteType": "standard", + "RemotePkgRef": "progress", + "RemoteRef": "progress", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "1.2.3" } }, "promises": { @@ -2554,9 +2683,9 @@ "Packaged": "2024-01-18 06:13:01 UTC; gaborcsardi", "Author": "Jay Loden [aut],\n Dave Daeschler [aut],\n Giampaolo Rodola' [aut],\n Gábor Csárdi [aut, cre],\n Posit Software, PBC [cph, fnd]", "Maintainer": "Gábor Csárdi ", - "Repository": "CRAN", + "Repository": "RSPM", "Date/Publication": "2024-01-18 06:40:02 UTC", - "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-06-25 00:33:05 UTC; windows", + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-24 12:08:57 UTC; windows", "Archs": "x64" } }, @@ -2586,10 +2715,17 @@ "Packaged": "2023-08-08 16:13:31 UTC; hadleywickham", "Author": "Hadley Wickham [aut, cre] (),\n Lionel Henry [aut],\n RStudio [cph, fnd]", "Maintainer": "Hadley Wickham ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2023-08-10 08:20:07 UTC", - "Built": "R 4.4.0; x86_64-w64-mingw32; 2024-06-22 04:55:20 UTC; windows", - "Archs": "x64" + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-17 02:00:00 UTC; windows", + "Archs": "x64", + "RemoteType": "standard", + "RemotePkgRef": "purrr", + "RemoteRef": "purrr", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "1.0.2" } }, "rappdirs": { @@ -2650,7 +2786,7 @@ "Maintainer": "Jennifer Bryan ", "Repository": "CRAN", "Date/Publication": "2024-01-10 23:20:02 UTC", - "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-06-25 02:25:06 UTC; windows", + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-17 02:38:34 UTC; windows", "Archs": "x64", "RemoteType": "standard", "RemotePkgRef": "readr", @@ -2744,9 +2880,9 @@ "Packaged": "2024-01-09 13:33:10 UTC; lionel", "Author": "Lionel Henry [aut, cre],\n Hadley Wickham [aut],\n mikefc [cph] (Hash implementation based on Mike's xxhashlite),\n Yann Collet [cph] (Author of the embedded xxHash library),\n Posit, PBC [cph, fnd]", "Maintainer": "Lionel Henry ", - "Repository": "CRAN", + "Repository": "RSPM", "Date/Publication": "2024-01-10 12:00:02 UTC", - "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-06-27 14:35:44 UTC; windows", + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-24 12:01:54 UTC; windows", "Archs": "x64" } }, @@ -2802,9 +2938,16 @@ "Packaged": "2023-11-05 06:47:23 UTC; kirill", "Author": "Kirill Müller [aut, cre] ()", "Maintainer": "Kirill Müller ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2023-11-05 10:20:02 UTC", - "Built": "R 4.4.0; ; 2024-04-25 19:45:07 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-17 00:52:46 UTC; windows", + "RemoteType": "standard", + "RemotePkgRef": "rprojroot", + "RemoteRef": "rprojroot", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "2.0.4" } }, "rsconnect": { @@ -2835,14 +2978,7 @@ "Maintainer": "Aron Atkins ", "Repository": "RSPM", "Date/Publication": "2024-06-04 09:50:02 UTC", - "Built": "R 4.4.0; ; 2024-06-05 12:02:25 UTC; windows", - "RemoteType": "standard", - "RemotePkgRef": "rsconnect", - "RemoteRef": "rsconnect", - "RemoteRepos": "https://packagemanager.posit.co/cran/latest", - "RemoteReposName": "CRAN", - "RemotePkgPlatform": "x86_64-w64-mingw32", - "RemoteSha": "1.3.1" + "Built": "R 4.4.0; ; 2024-06-05 12:02:25 UTC; windows" } }, "rstudioapi": { @@ -3179,9 +3315,9 @@ "NeedsCompilation": "no", "Packaged": "2023-08-27 20:30:20 UTC; malte", "Author": "Malte Grosser [aut, cre]", - "Repository": "CRAN", + "Repository": "RSPM", "Date/Publication": "2023-08-27 22:50:09 UTC", - "Built": "R 4.4.1; ; 2024-06-25 01:46:37 UTC; windows" + "Built": "R 4.4.0; ; 2024-04-25 20:19:58 UTC; windows" } }, "sourcetools": { @@ -3259,10 +3395,17 @@ "NeedsCompilation": "yes", "Packaged": "2024-05-06 12:50:25 UTC; gagolews", "License_is_FOSS": "yes", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2024-05-06 15:00:02 UTC", - "Built": "R 4.4.0; x86_64-w64-mingw32; 2024-05-07 04:34:26 UTC; windows", - "Archs": "x64" + "Built": "R 4.4.0; x86_64-w64-mingw32; 2024-05-06 23:50:54 UTC; windows", + "Archs": "x64", + "RemoteType": "standard", + "RemotePkgRef": "stringi", + "RemoteRef": "stringi", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "1.8.4" } }, "stringr": { @@ -3290,9 +3433,16 @@ "Packaged": "2023-11-14 15:03:52 UTC; hadleywickham", "Author": "Hadley Wickham [aut, cre, cph],\n Posit Software, PBC [cph, fnd]", "Maintainer": "Hadley Wickham ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2023-11-14 23:10:02 UTC", - "Built": "R 4.4.0; ; 2024-04-25 20:18:44 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-17 01:59:49 UTC; windows", + "RemoteType": "standard", + "RemotePkgRef": "stringr", + "RemoteRef": "stringr", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "1.5.1" } }, "styler": { @@ -3321,9 +3471,16 @@ "Packaged": "2024-04-07 19:04:20 UTC; lorenz", "Author": "Kirill Müller [aut] (),\n Lorenz Walthert [cre, aut],\n Indrajeet Patil [ctb] (,\n @patilindrajeets)", "Maintainer": "Lorenz Walthert ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2024-04-07 23:00:02 UTC", - "Built": "R 4.4.0; ; 2024-04-25 20:32:42 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-17 02:01:31 UTC; windows", + "RemoteType": "standard", + "RemotePkgRef": "styler", + "RemoteRef": "styler", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "1.10.3" } }, "sys": { @@ -3414,10 +3571,17 @@ "Packaged": "2023-03-19 09:23:10 UTC; kirill", "Author": "Kirill Müller [aut, cre] (),\n Hadley Wickham [aut],\n Romain Francois [ctb],\n Jennifer Bryan [ctb],\n RStudio [cph, fnd]", "Maintainer": "Kirill Müller ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2023-03-20 06:30:02 UTC", - "Built": "R 4.4.0; x86_64-w64-mingw32; 2024-04-25 20:22:42 UTC; windows", - "Archs": "x64" + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-17 02:09:20 UTC; windows", + "Archs": "x64", + "RemoteType": "standard", + "RemotePkgRef": "tibble", + "RemoteRef": "tibble", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "3.2.1" } }, "tidyr": { @@ -3448,8 +3612,15 @@ "Maintainer": "Hadley Wickham ", "Repository": "CRAN", "Date/Publication": "2024-01-24 14:50:09 UTC", - "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-06-25 02:25:04 UTC; windows", - "Archs": "x64" + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-17 02:38:32 UTC; windows", + "Archs": "x64", + "RemoteType": "standard", + "RemotePkgRef": "tidyr", + "RemoteRef": "tidyr", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "1.3.1" } }, "tidyselect": { @@ -3477,9 +3648,16 @@ "Packaged": "2024-03-11 11:46:04 UTC; lionel", "Author": "Lionel Henry [aut, cre],\n Hadley Wickham [aut],\n Posit Software, PBC [cph, fnd]", "Maintainer": "Lionel Henry ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2024-03-11 14:10:02 UTC", - "Built": "R 4.4.0; ; 2024-04-25 20:19:04 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-17 01:59:50 UTC; windows", + "RemoteType": "standard", + "RemotePkgRef": "tidyselect", + "RemoteRef": "tidyselect", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "1.2.1" } }, "timechange": { @@ -3504,9 +3682,9 @@ "Packaged": "2024-01-18 08:57:24 UTC; vspinu", "Author": "Vitalie Spinu [aut, cre],\n Google Inc. [ctb, cph]", "Maintainer": "Vitalie Spinu ", - "Repository": "CRAN", + "Repository": "RSPM", "Date/Publication": "2024-01-18 09:20:02 UTC", - "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-06-25 01:13:18 UTC; windows", + "Built": "R 4.4.0; x86_64-w64-mingw32; 2024-04-25 20:04:34 UTC; windows", "Archs": "x64" } }, @@ -3531,9 +3709,9 @@ "Packaged": "2024-05-06 16:53:21 UTC; yihui", "Author": "Yihui Xie [aut, cre, cph] (),\n Posit Software, PBC [cph, fnd],\n Christophe Dervieux [ctb] (),\n Devon Ryan [ctb] (),\n Ethan Heinzen [ctb],\n Fernando Cagua [ctb]", "Maintainer": "Yihui Xie ", - "Repository": "CRAN", + "Repository": "RSPM", "Date/Publication": "2024-05-06 17:30:02 UTC", - "Built": "R 4.4.1; ; 2024-06-25 01:13:17 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-24 12:06:33 UTC; windows" } }, "tzdb": { @@ -3562,7 +3740,7 @@ "Maintainer": "Davis Vaughan ", "Repository": "CRAN", "Date/Publication": "2023-05-12 23:00:02 UTC", - "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-06-25 00:33:10 UTC; windows", + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-17 00:52:30 UTC; windows", "Archs": "x64", "RemoteType": "standard", "RemotePkgRef": "tzdb", @@ -3595,10 +3773,17 @@ "Packaged": "2023-10-22 13:43:19 UTC; kirill", "Author": "Patrick O. Perry [aut, cph],\n Kirill Müller [cre],\n Unicode, Inc. [cph, dtc] (Unicode Character Database)", "Maintainer": "Kirill Müller ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2023-10-22 21:50:02 UTC", - "Built": "R 4.4.0; x86_64-w64-mingw32; 2024-04-25 19:46:43 UTC; windows", - "Archs": "x64" + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-17 00:52:16 UTC; windows", + "Archs": "x64", + "RemoteType": "standard", + "RemotePkgRef": "utf8", + "RemoteRef": "utf8", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "1.2.4" } }, "uuid": { @@ -3649,10 +3834,17 @@ "Packaged": "2023-12-01 16:27:12 UTC; davis", "Author": "Hadley Wickham [aut],\n Lionel Henry [aut],\n Davis Vaughan [aut, cre],\n data.table team [cph] (Radix sort based on data.table's forder() and\n their contribution to R's order()),\n Posit Software, PBC [cph, fnd]", "Maintainer": "Davis Vaughan ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2023-12-01 23:50:02 UTC", - "Built": "R 4.4.0; x86_64-w64-mingw32; 2024-04-25 20:13:49 UTC; windows", - "Archs": "x64" + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-17 01:42:45 UTC; windows", + "Archs": "x64", + "RemoteType": "standard", + "RemotePkgRef": "vctrs", + "RemoteRef": "vctrs", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "0.6.5" } }, "viridisLite": { @@ -3712,7 +3904,7 @@ "Maintainer": "Jennifer Bryan ", "Repository": "CRAN", "Date/Publication": "2023-12-05 23:50:02 UTC", - "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-06-25 02:06:35 UTC; windows", + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-17 02:17:45 UTC; windows", "Archs": "x64", "RemoteType": "standard", "RemotePkgRef": "vroom", @@ -3776,7 +3968,7 @@ "Maintainer": "Winston Chang ", "Repository": "RSPM", "Date/Publication": "2021-08-18 20:30:02 UTC", - "Built": "R 4.4.0; x86_64-w64-mingw32; 2024-07-18 09:00:53 UTC; windows", + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-24 12:09:43 UTC; windows", "Archs": "x64" } }, @@ -3805,9 +3997,16 @@ "Packaged": "2024-01-16 10:22:29 UTC; lionel", "Author": "Jim Hester [aut],\n Lionel Henry [aut, cre],\n Kirill Müller [aut],\n Kevin Ushey [aut],\n Hadley Wickham [aut],\n Winston Chang [aut],\n Jennifer Bryan [ctb],\n Richard Cotton [ctb],\n Posit Software, PBC [cph, fnd]", "Maintainer": "Lionel Henry ", - "Repository": "RSPM", + "Repository": "CRAN", "Date/Publication": "2024-01-16 14:20:02 UTC", - "Built": "R 4.4.0; ; 2024-04-25 19:44:56 UTC; windows" + "Built": "R 4.4.1; ; 2024-07-17 00:52:18 UTC; windows", + "RemoteType": "standard", + "RemotePkgRef": "withr", + "RemoteRef": "withr", + "RemoteRepos": "https://cran.rstudio.com", + "RemoteReposName": "CRAN", + "RemotePkgPlatform": "x86_64-w64-mingw32", + "RemoteSha": "3.0.0" } }, "xfun": { @@ -3834,7 +4033,7 @@ "Maintainer": "Yihui Xie ", "Repository": "RSPM", "Date/Publication": "2024-05-15 06:00:02 UTC", - "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-06-28 15:04:44 UTC; windows", + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-24 12:03:27 UTC; windows", "Archs": "x64" } }, @@ -3882,9 +4081,10 @@ "BugReports": "https://github.com/vubiostat/r-yaml/issues", "NeedsCompilation": "yes", "Packaged": "2023-12-11 16:46:09 UTC; garbetsp", - "Repository": "CRAN", + "Repository": "RSPM", "Date/Publication": "2023-12-11 18:50:02 UTC", - "Built": "R 4.4.0; x86_64-w64-mingw32; 2024-04-23 00:24:20 UTC; windows", + "Encoding": "UTF-8", + "Built": "R 4.4.1; x86_64-w64-mingw32; 2024-07-24 12:04:02 UTC; windows", "Archs": "x64" } } @@ -3903,7 +4103,7 @@ "checksum": "e5b9343c9a0e43d83e02b339946591d1" }, ".Rprofile": { - "checksum": "48d983e0bfe75553a940019bee72a138" + "checksum": "b0dfb4c56d72219aa426c4ffd1466821" }, "azure-pipelines-dev.yml": { "checksum": "fc2ef843ff5024bcba25ff84eec05f4c" @@ -3926,6 +4126,9 @@ "data/geography_matrix.csv": { "checksum": "dd655b6a3307ee538cbd412493345790" }, + "data/harmonised_col_names.csv": { + "checksum": "dbb72bdbeeeeb1fadf893986cd3d5905" + }, "data/lads.csv": { "checksum": "a83ae9b20279f744b432e14461bd8f51" }, @@ -3960,7 +4163,7 @@ "checksum": "0e44be43c1ca6a5387f046efe5b3e194" }, "data/sen.csv": { - "checksum": "006aa7c8da2c5f4357558abef5bcb7aa" + "checksum": "84033ca7991efa126715d2e4ec3e4eff" }, "data/ward_lad_la_pcon_hierarchy.csv": { "checksum": "667c7343714869a4ad4884e217112f1f" @@ -3981,10 +4184,10 @@ "checksum": "1c3a5b538aa71e2f377b4733e7c9a580" }, "R/knownVariables.r": { - "checksum": "7248277e0e99b5aee4e66bf9e8c69963" + "checksum": "dc7fb82f219d00f5c3fc61854a7e7f3a" }, "R/mainTests.r": { - "checksum": "58b52819cc963c2cdcbe70024a0307b7" + "checksum": "c1b707b9db41701430b9ed0740e76044" }, "R/manual_scripts/debugging.R": { "checksum": "e56763afdf3659c7c47cfe0e3262e8cf" @@ -4017,7 +4220,7 @@ "checksum": "4bcf543280b896eb5ee9ddc6a5668a09" }, "server.R": { - "checksum": "fc511efd8f68babc404da195adc376e4" + "checksum": "691007cfd817812537237c278094dbda" }, "tests/testthat.R": { "checksum": "12e9b09de5275bdc13bde6ae5a82f8b1" @@ -4035,7 +4238,7 @@ "checksum": "3ea50f08fa9d59294094ebbc51e7f0f0" }, "tests/testthat/_snaps/UI-03_additional_qa/additional_qa-001.json": { - "checksum": "8bb34a2a3f04fe7dec79b89daf898c34" + "checksum": "3e3031251aa12288bdab317303700581" }, "tests/testthat/_snaps/UI-03_additional_qa/additional_qa-002.json": { "checksum": "3ed6b252227fbb10a5074204acb444a4" @@ -4050,7 +4253,7 @@ "checksum": "0a701ad840159e3259349124125bc541" }, "tests/testthat/_snaps/UI-03_additional_qa/additional_qa-006.json": { - "checksum": "fbdabf3ad7bfdef3055037c7c4c1db9d" + "checksum": "de1d2f7facf53a93501acbe7641fa1e3" }, "tests/testthat/_snaps/UI-03_additional_qa/additional_qa-007.json": { "checksum": "984e2ca1ab29edfc839bbe0b936c2a95" @@ -4062,10 +4265,10 @@ "checksum": "984e2ca1ab29edfc839bbe0b936c2a95" }, "tests/testthat/_snaps/UI-03_additional_qa/additional_qa-010.json": { - "checksum": "df318b5bf23088b0ccaac458c8fb9f6e" + "checksum": "ddc46b131ec95b0953ef2f4122b4e3a5" }, "tests/testthat/_snaps/UI-03_additional_qa/additional_qa-011.json": { - "checksum": "b5af646a95eeb450cf9b812fc5f8e4a4" + "checksum": "26fe7ed262a567297acd4b7d5c09952b" }, "tests/testthat/fileValidation/data_empty_cols.csv": { "checksum": "9751119425e4ee601dd0aff4918876a0" @@ -4215,10 +4418,10 @@ "checksum": "df80ff86dbbb685cbcb52c64abf418d1" }, "tests/testthat/mainTests/ethnicity_meets_standards.csv": { - "checksum": "ea3ae93e2e22bb6dbc02d1a27265ffa1" + "checksum": "0c75887bb022b28902c33c3c056e7105" }, "tests/testthat/mainTests/ethnicity_meets_standards.meta.csv": { - "checksum": "e6a5ab2af9ba45bed5f389292b206ab8" + "checksum": "ce0a7d5d38befcaf04f619116404742c" }, "tests/testthat/mainTests/ethnicity_value_advisory.csv": { "checksum": "fca062227c85c4da7b53a516311d5ab2" @@ -4226,12 +4429,6 @@ "tests/testthat/mainTests/ethnicity_value_advisory.meta.csv": { "checksum": "080434b2fa191f58c304bf86c473b5c8" }, - "tests/testthat/mainTests/ethnicity_wrong_headers.csv": { - "checksum": "82c0d5259be5ccb9f2a46187a93b9aa4" - }, - "tests/testthat/mainTests/ethnicity_wrong_headers.meta.csv": { - "checksum": "b37317b5b7022757e828d5c2a373df3f" - }, "tests/testthat/mainTests/filter_group.csv": { "checksum": "9815fa4f1f9416680ef9d5756b73ac19" }, @@ -4406,6 +4603,12 @@ "tests/testthat/mainTests/no_data_symbols.meta.csv": { "checksum": "3057f1984836d5e7e4e39cd1209c7e20" }, + "tests/testthat/mainTests/non_standard_headers.csv": { + "checksum": "9032541646830d9dbfc3130dcfd5ab2e" + }, + "tests/testthat/mainTests/non_standard_headers.meta.csv": { + "checksum": "08ce61219314cdfb5c14edb87bb66a89" + }, "tests/testthat/mainTests/not_table_tool.csv": { "checksum": "2c05e4e98562b46428e4b8ad5e3bcaec" }, @@ -4539,10 +4742,10 @@ "checksum": "62de4df44fa46c6e324bee387747abd9" }, "tests/testthat/otherData/adding_z_locationCode.csv": { - "checksum": "4bc0aecfc2e512bce5c0055bf412712e" + "checksum": "5de6c18a95f021550a1f6d2ab557e8b6" }, "tests/testthat/otherData/adding_z_locationCode.meta.csv": { - "checksum": "fb14aee7a7e0fb0671e5feb4c41af9bf" + "checksum": "a1367b6c2c013b4a6fbe35989dba8870" }, "tests/testthat/otherData/blankFilterGroups.csv": { "checksum": "13882d495604f94577544fd117188aa8" @@ -4563,10 +4766,10 @@ "checksum": "882f2fce79e2aad3555a576d3f665997" }, "tests/testthat/otherData/lad_within_la.csv": { - "checksum": "013596ebab17236f2efee8fe70f7c0b7" + "checksum": "6b88ef05225c09d92555649abf9eec66" }, "tests/testthat/otherData/lad_within_la.meta.csv": { - "checksum": "fb14aee7a7e0fb0671e5feb4c41af9bf" + "checksum": "09afa0e2587e334263004ba24cefae6e" }, "tests/testthat/otherData/missing_region_name.csv": { "checksum": "307a7ff183aa1eb50f567d2a3d7b6071" @@ -4581,22 +4784,22 @@ "checksum": "14992241fc4c1bbd2b74ecc50fe2b0e0" }, "tests/testthat/otherData/name_multiple_levels.csv": { - "checksum": "117c45c19917f5e301bb10628d34d429" + "checksum": "97b060aa9ebadee3f1d3c531b92b8661" }, "tests/testthat/otherData/name_multiple_levels.meta.csv": { - "checksum": "fb14aee7a7e0fb0671e5feb4c41af9bf" + "checksum": "a1367b6c2c013b4a6fbe35989dba8870" }, "tests/testthat/otherData/outside_of_england_region.csv": { - "checksum": "a42dc54c53b3af258ba11a13aa1d4e3f" + "checksum": "b218e92a56fb5fc812f77c045ba73ac2" }, "tests/testthat/otherData/outside_of_england_region.meta.csv": { - "checksum": "ccc673589d47996831681ab4e35f3369" + "checksum": "9643b9f1b27e4deb34c906aacb7a4cda" }, "tests/testthat/otherData/passes_na_name.csv": { - "checksum": "ea6cd13153e9427f8590159a1286d407" + "checksum": "ac9aba1d417696aa7d50dc1ab6b5f0cd" }, "tests/testthat/otherData/passes_na_name.meta.csv": { - "checksum": "4ec24788f9281d27f214e982d8766832" + "checksum": "f5b9c80e4f28132acb20a96a33e0483b" }, "tests/testthat/otherData/provider_col_incorrect.csv": { "checksum": "b644366d765196471cdb1e9c6796925a" @@ -4767,10 +4970,10 @@ "checksum": "3205486a694d6fc8f282c6a05e47344a" }, "tests/testthat/sch_prov/sch_mixed_levels.csv": { - "checksum": "a2c626559f68b7ebf132302b473624c1" + "checksum": "fa4e7bea9929351b1d36d8a6fce52218" }, "tests/testthat/sch_prov/sch_mixed_levels.meta.csv": { - "checksum": "fb14aee7a7e0fb0671e5feb4c41af9bf" + "checksum": "a1367b6c2c013b4a6fbe35989dba8870" }, "tests/testthat/sch_prov/sch_only_filter.csv": { "checksum": "9935aa6b8fa0d03c404ed9b480f75577" @@ -4794,16 +4997,16 @@ "checksum": "3cf257777accbcd1cad83d825c8d956e" }, "tests/testthat/test-data/data_mandatory_cols.csv": { - "checksum": "be07f34cd980f8a9a32abe7c7440d519" + "checksum": "085dca2c3f92445b673d85027fc614a5" }, "tests/testthat/test-data/data_mandatory_cols.meta.csv": { - "checksum": "f5330238aae98d474c2366c093502fd5" + "checksum": "deefe22aeea0b6fa64db5083e12bca80" }, "tests/testthat/test-data/date_format.csv": { - "checksum": "483675b6c2059d0b9c7e5f4d1505e34d" + "checksum": "ab90860c5f52cf2383816ca0a50f3cfe" }, "tests/testthat/test-data/date_format.meta.csv": { - "checksum": "027135827da0c3f17408c0479c116d22" + "checksum": "cdc76da1001aa4bae686f55052ddc323" }, "tests/testthat/test-data/fails_allchecks.csv": { "checksum": "22064533da7b56b29d59ad98178cd7db" @@ -4836,16 +5039,16 @@ "checksum": "8a9e2ea64999e4d5446dc8676ba40bdf" }, "tests/testthat/test-data/filter_groups_mix.csv": { - "checksum": "cc411840c61592e165980ca6b18fa200" + "checksum": "8088efe4592acc60e92e008804a390a2" }, "tests/testthat/test-data/filter_groups_mix.meta.csv": { - "checksum": "a69afbf3e2f31de6cf8dff074dfdb4b0" + "checksum": "07912d5c4937941e140daf7958f3edae" }, "tests/testthat/test-data/hyphen.csv": { - "checksum": "e51d952540c59f136a5fee64ddadd74d" + "checksum": "9a8fe14da0548c07a399c524626f69d4" }, "tests/testthat/test-data/hyphen.meta.csv": { - "checksum": "156826ac3bb2adf0d91acff5ca439866" + "checksum": "0b8ea3d13ce09e7e48dc3b88e1a6f81b" }, "tests/testthat/test-data/invalid_type.meta.txt": { "checksum": "1b7146487185384aa7d321f53ab7eb80" @@ -4878,10 +5081,10 @@ "checksum": "0c3314120aca12add10371384a7514cc" }, "tests/testthat/test-data/passes_everything.csv": { - "checksum": "7c926457bda759031640cd792ac7522e" + "checksum": "5c810c1ab6be8ea4883d95ebb73f4f9e" }, "tests/testthat/test-data/passes_everything.meta.csv": { - "checksum": "fb14aee7a7e0fb0671e5feb4c41af9bf" + "checksum": "0a3d92a3c6a90936f60bc0d65e0363ed" }, "tests/testthat/test-data/passes_everything.meta.xlsx": { "checksum": "24406453569ad4ada9d7ee38b240522e" @@ -4890,16 +5093,16 @@ "checksum": "da8bd603ff14301b25b9983819ee392d" }, "tests/testthat/test-data/passes_everything_advisory.csv": { - "checksum": "a78760720eeebde4867c5f303c5279ef" + "checksum": "7eb9c79ee5c04c18abb11bb27438d28c" }, "tests/testthat/test-data/passes_everything_advisory.meta.csv": { - "checksum": "a73baef56e2c31152e7fccc5177736ff" + "checksum": "3913bd5cb03e7a559792ea44f96e6ea5" }, "tests/testthat/test-data/passes_everything_ancillary.csv": { - "checksum": "e63a4f7ac6df82bde57fe6dff44f231c" + "checksum": "1127d84ae4e7f59916cc65ba85ff1963" }, "tests/testthat/test-data/passes_everything_ancillary.meta.csv": { - "checksum": "9914f9a7060049aa215ee85de213baf4" + "checksum": "1b34547d469fb22a2c364ecf244c1551" }, "tests/testthat/test-function-countActiveTests.R": { "checksum": "41a423a4bc68e5ba6c20a11f06092471" @@ -4914,7 +5117,7 @@ "checksum": "0ad4c6ef88604b628207156991a92349" }, "tests/testthat/test-function-mainTests.R": { - "checksum": "b59462c7d89642ee29bdfcacf0efbb0c" + "checksum": "def2be36fe97859696445a59afbb0725" }, "tests/testthat/test-function-preCheck1.R": { "checksum": "ecc3826341427734e1a8f097c1e1e6f8" @@ -4932,7 +5135,7 @@ "checksum": "e1c273ef462a5f49a60df1e3a5e94fb6" }, "tests/testthat/test-UI-03_additional_qa.R": { - "checksum": "82a40f0765550189be42b19c4178ee66" + "checksum": "38106a628d936701b3620406f270b5e3" }, "ui.R": { "checksum": "52e49b75e9766a106c5653305d382d16" diff --git a/server.R b/server.R index defc504..7df447a 100644 --- a/server.R +++ b/server.R @@ -642,9 +642,15 @@ server <- function(input, output, session) { dplyr::filter(col_name == filter) %>% pull(filter_grouping_column) - return(data$mainFile %>% select(filter_group, filter) %>% distinct() %>% arrange(!!sym(filter_group), !!sym(filter))) + return(data$mainFile %>% + select(all_of(c(filter_group, filter))) %>% + distinct() %>% + arrange(!!sym(filter_group), !!sym(filter))) } else { - return(data$mainFile %>% select(filter) %>% distinct() %>% arrange(filter)) + return(data$mainFile %>% + select(filter) %>% + distinct() %>% + arrange(filter)) } } diff --git a/tests/testthat/_snaps/UI-03_additional_qa/additional_qa-001.json b/tests/testthat/_snaps/UI-03_additional_qa/additional_qa-001.json index 01886f5..77bed61 100644 --- a/tests/testthat/_snaps/UI-03_additional_qa/additional_qa-001.json +++ b/tests/testthat/_snaps/UI-03_additional_qa/additional_qa-001.json @@ -5,7 +5,7 @@ "style": "bootstrap", "filter": "none", "vertical": false, - "container": "\n \n \n
time_period<\/th>\n time_identifier<\/th>\n geographic_level<\/th>\n country_code<\/th>\n country_name<\/th>\n region_code<\/th>\n region_name<\/th>\n old_la_code<\/th>\n new_la_code<\/th>\n la_name<\/th>\n lad_code<\/th>\n lad_name<\/th>\n school_urn<\/th>\n school_laestab<\/th>\n school_name<\/th>\n lsip_code<\/th>\n lsip_name<\/th>\n local_enterprise_partnership_code<\/th>\n local_enterprise_partnership_name<\/th>\n pcon_code<\/th>\n pcon_name<\/th>\n ward_code<\/th>\n ward_name<\/th>\n english_devolved_area_code<\/th>\n english_devolved_area_name<\/th>\n trust_id<\/th>\n trust_name<\/th>\n school_phase<\/th>\n school_type<\/th>\n num_schools<\/th>\n enrolments<\/th>\n sess_overall_percent<\/th>\n sess_authorised_percent<\/th>\n sess_unauthorised_percent<\/th>\n enrolments_pa_10_exact<\/th>\n enrolments_pa_10_exact_percent<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "container": "\n \n \n
time_period<\/th>\n time_identifier<\/th>\n geographic_level<\/th>\n country_code<\/th>\n country_name<\/th>\n region_code<\/th>\n region_name<\/th>\n old_la_code<\/th>\n new_la_code<\/th>\n la_name<\/th>\n lad_code<\/th>\n lad_name<\/th>\n school_urn<\/th>\n school_laestab<\/th>\n school_name<\/th>\n lsip_code<\/th>\n lsip_name<\/th>\n local_enterprise_partnership_code<\/th>\n local_enterprise_partnership_name<\/th>\n pcon_code<\/th>\n pcon_name<\/th>\n ward_code<\/th>\n ward_name<\/th>\n english_devolved_area_code<\/th>\n english_devolved_area_name<\/th>\n trust_id<\/th>\n trust_name<\/th>\n education_phase<\/th>\n establishment_type<\/th>\n school_count<\/th>\n enrolment_count<\/th>\n sess_overall_percent<\/th>\n sess_authorised_percent<\/th>\n sess_unauthorised_percent<\/th>\n enrolments_pa_10_exact<\/th>\n enrolments_pa_10_exact_percent<\/th>\n <\/tr>\n <\/thead>\n<\/table>", "options": { "dom": "pt", "pageLength": 12, @@ -138,19 +138,19 @@ "targets": 26 }, { - "name": "school_phase", + "name": "education_phase", "targets": 27 }, { - "name": "school_type", + "name": "establishment_type", "targets": 28 }, { - "name": "num_schools", + "name": "school_count", "targets": 29 }, { - "name": "enrolments", + "name": "enrolment_count", "targets": 30 }, { diff --git a/tests/testthat/_snaps/UI-03_additional_qa/additional_qa-006.json b/tests/testthat/_snaps/UI-03_additional_qa/additional_qa-006.json index 49ee2d2..5aec770 100644 --- a/tests/testthat/_snaps/UI-03_additional_qa/additional_qa-006.json +++ b/tests/testthat/_snaps/UI-03_additional_qa/additional_qa-006.json @@ -14,11 +14,11 @@ "National" ], [ - "num_schools", - "num_schools", - "num_schools", - "num_schools", - "num_schools" + "school_count", + "school_count", + "school_count", + "school_count", + "school_count" ], [ "min", @@ -253,11 +253,11 @@ "National" ], [ - "enrolments", - "enrolments", - "enrolments", - "enrolments", - "enrolments" + "enrolment_count", + "enrolment_count", + "enrolment_count", + "enrolment_count", + "enrolment_count" ], [ "min", @@ -492,11 +492,11 @@ "Regional" ], [ - "num_schools", - "num_schools", - "num_schools", - "num_schools", - "num_schools" + "school_count", + "school_count", + "school_count", + "school_count", + "school_count" ], [ "min", @@ -731,11 +731,11 @@ "Regional" ], [ - "enrolments", - "enrolments", - "enrolments", - "enrolments", - "enrolments" + "enrolment_count", + "enrolment_count", + "enrolment_count", + "enrolment_count", + "enrolment_count" ], [ "min", @@ -970,11 +970,11 @@ "Local authority" ], [ - "num_schools", - "num_schools", - "num_schools", - "num_schools", - "num_schools" + "school_count", + "school_count", + "school_count", + "school_count", + "school_count" ], [ "min", @@ -1209,11 +1209,11 @@ "Local authority" ], [ - "enrolments", - "enrolments", - "enrolments", - "enrolments", - "enrolments" + "enrolment_count", + "enrolment_count", + "enrolment_count", + "enrolment_count", + "enrolment_count" ], [ "min", @@ -1448,11 +1448,11 @@ "Local authority district" ], [ - "num_schools", - "num_schools", - "num_schools", - "num_schools", - "num_schools" + "school_count", + "school_count", + "school_count", + "school_count", + "school_count" ], [ "min", @@ -1637,11 +1637,11 @@ "Local authority district" ], [ - "enrolments", - "enrolments", - "enrolments", - "enrolments", - "enrolments" + "enrolment_count", + "enrolment_count", + "enrolment_count", + "enrolment_count", + "enrolment_count" ], [ "min", diff --git a/tests/testthat/_snaps/UI-03_additional_qa/additional_qa-010.json b/tests/testthat/_snaps/UI-03_additional_qa/additional_qa-010.json index 731a7a9..b504b6d 100644 --- a/tests/testthat/_snaps/UI-03_additional_qa/additional_qa-010.json +++ b/tests/testthat/_snaps/UI-03_additional_qa/additional_qa-010.json @@ -97,7 +97,7 @@ 18 ] ], - "container": "\n \n \n
geographic_level<\/th>\n country_code<\/th>\n country_name<\/th>\n region_code<\/th>\n region_name<\/th>\n old_la_code<\/th>\n new_la_code<\/th>\n la_name<\/th>\n lad_code<\/th>\n lad_name<\/th>\n school_urn<\/th>\n school_laestab<\/th>\n school_name<\/th>\n lsip_code<\/th>\n lsip_name<\/th>\n local_enterprise_partnership_code<\/th>\n local_enterprise_partnership_name<\/th>\n pcon_code<\/th>\n pcon_name<\/th>\n ward_code<\/th>\n ward_name<\/th>\n english_devolved_area_code<\/th>\n english_devolved_area_name<\/th>\n trust_id<\/th>\n trust_name<\/th>\n school_phase<\/th>\n school_type<\/th>\n 201617<\/th>\n 201718<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "container": "\n \n \n
geographic_level<\/th>\n country_code<\/th>\n country_name<\/th>\n region_code<\/th>\n region_name<\/th>\n old_la_code<\/th>\n new_la_code<\/th>\n la_name<\/th>\n lad_code<\/th>\n lad_name<\/th>\n school_urn<\/th>\n school_laestab<\/th>\n school_name<\/th>\n lsip_code<\/th>\n lsip_name<\/th>\n local_enterprise_partnership_code<\/th>\n local_enterprise_partnership_name<\/th>\n pcon_code<\/th>\n pcon_name<\/th>\n ward_code<\/th>\n ward_name<\/th>\n english_devolved_area_code<\/th>\n english_devolved_area_name<\/th>\n trust_id<\/th>\n trust_name<\/th>\n education_phase<\/th>\n establishment_type<\/th>\n 201617<\/th>\n 201718<\/th>\n <\/tr>\n <\/thead>\n<\/table>", "options": { "dom": "Bptl", "buttons": [ @@ -220,11 +220,11 @@ "targets": 24 }, { - "name": "school_phase", + "name": "education_phase", "targets": 25 }, { - "name": "school_type", + "name": "establishment_type", "targets": 26 }, { @@ -451,7 +451,7 @@ 12629 ] ], - "container": "\n \n \n
geographic_level<\/th>\n country_code<\/th>\n country_name<\/th>\n region_code<\/th>\n region_name<\/th>\n old_la_code<\/th>\n new_la_code<\/th>\n la_name<\/th>\n lad_code<\/th>\n lad_name<\/th>\n school_urn<\/th>\n school_laestab<\/th>\n school_name<\/th>\n lsip_code<\/th>\n lsip_name<\/th>\n local_enterprise_partnership_code<\/th>\n local_enterprise_partnership_name<\/th>\n pcon_code<\/th>\n pcon_name<\/th>\n ward_code<\/th>\n ward_name<\/th>\n english_devolved_area_code<\/th>\n english_devolved_area_name<\/th>\n trust_id<\/th>\n trust_name<\/th>\n school_phase<\/th>\n school_type<\/th>\n 201617<\/th>\n 201718<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "container": "\n \n \n
geographic_level<\/th>\n country_code<\/th>\n country_name<\/th>\n region_code<\/th>\n region_name<\/th>\n old_la_code<\/th>\n new_la_code<\/th>\n la_name<\/th>\n lad_code<\/th>\n lad_name<\/th>\n school_urn<\/th>\n school_laestab<\/th>\n school_name<\/th>\n lsip_code<\/th>\n lsip_name<\/th>\n local_enterprise_partnership_code<\/th>\n local_enterprise_partnership_name<\/th>\n pcon_code<\/th>\n pcon_name<\/th>\n ward_code<\/th>\n ward_name<\/th>\n english_devolved_area_code<\/th>\n english_devolved_area_name<\/th>\n trust_id<\/th>\n trust_name<\/th>\n education_phase<\/th>\n establishment_type<\/th>\n 201617<\/th>\n 201718<\/th>\n <\/tr>\n <\/thead>\n<\/table>", "options": { "dom": "Bptl", "buttons": [ @@ -574,11 +574,11 @@ "targets": 24 }, { - "name": "school_phase", + "name": "education_phase", "targets": 25 }, { - "name": "school_type", + "name": "establishment_type", "targets": 26 }, { diff --git a/tests/testthat/_snaps/UI-03_additional_qa/additional_qa-011.json b/tests/testthat/_snaps/UI-03_additional_qa/additional_qa-011.json index 58dc006..b2b2239 100644 --- a/tests/testthat/_snaps/UI-03_additional_qa/additional_qa-011.json +++ b/tests/testthat/_snaps/UI-03_additional_qa/additional_qa-011.json @@ -262,7 +262,7 @@ "MISSING TOTAL" ] ], - "container": "\n \n \n
time_period<\/th>\n school_type<\/th>\n English devolved area<\/th>\n Local authority<\/th>\n Local authority district<\/th>\n Local enterprise partnership<\/th>\n Local skills improvement plan area<\/th>\n MAT<\/th>\n National<\/th>\n Parliamentary constituency<\/th>\n Regional<\/th>\n School<\/th>\n Ward<\/th>\n match<\/th>\n <\/tr>\n <\/thead>\n<\/table>", + "container": "\n \n \n
time_period<\/th>\n establishment_type<\/th>\n English devolved area<\/th>\n Local authority<\/th>\n Local authority district<\/th>\n Local enterprise partnership<\/th>\n Local skills improvement plan area<\/th>\n MAT<\/th>\n National<\/th>\n Parliamentary constituency<\/th>\n Regional<\/th>\n School<\/th>\n Ward<\/th>\n match<\/th>\n <\/tr>\n <\/thead>\n<\/table>", "options": { "dom": "Bptl", "buttons": [ @@ -296,7 +296,7 @@ "targets": 0 }, { - "name": "school_type", + "name": "establishment_type", "targets": 1 }, { diff --git a/tests/testthat/mainTests/ethnicity_meets_standards.csv b/tests/testthat/mainTests/ethnicity_meets_standards.csv index 0e4d1c5..d4f2d9c 100644 --- a/tests/testthat/mainTests/ethnicity_meets_standards.csv +++ b/tests/testthat/mainTests/ethnicity_meets_standards.csv @@ -1,761 +1,36 @@ -"time_period","time_identifier","geographic_level","country_code","country_name","region_name","region_code","ethnicity_major","ethnicity_minor","headcount" -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",6844 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Black Caribbean",10577 +"time_period","time_identifier","geographic_level","country_code","country_name","region_name","region_code","ethnicity_major","ethnicity_minor","pupil_count" +202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black / African / Caribbean / Black British","Any other Black / African / Caribbean background",6844 +202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed / Multiple ethnic groups","White and Black Caribbean",10577 202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Any other White background",39331 -202122,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",213597 -202122,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Black Caribbean",133504 +202122,"Academic year","National","E92000001","England","","","Mixed / Multiple ethnic groups","Any other Mixed / Multiple ethnic background",213597 +202122,"Academic year","National","E92000001","England","","","Mixed / Multiple ethnic groups","White and Black Caribbean",133504 202122,"Academic year","National","E92000001","England","","","Unknown","Unknown",136371 202122,"Academic year","National","E92000001","England","","","Total","Total",8418013 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","African",18098 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","Caribbean",3112 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Asian",9859 +202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black / African / Caribbean / Black British","African",18098 +202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black / African / Caribbean / Black British","Caribbean",3112 +202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed / Multiple ethnic groups","White and Asian",9859 202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Gypsy or Irish Traveller",2346 202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Irish",1150 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","English/Welsh/Scottish/Northern Irish/British",516312 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Asian",15694 +202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","English / Welsh / Scottish / Northern Irish / British",516312 +202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed / Multiple ethnic groups","White and Asian",15694 202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Unknown","Unknown",18204 202122,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Gypsy or Irish Traveller",3005 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","White","English/Welsh/Scottish/Northern Irish/British",660612 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Bangladeshi",79954 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Black African",20290 +202122,"Academic year","Regional","E92000001","England","East of England","E12000006","White","English / Welsh / Scottish / Northern Irish / British",660612 +202122,"Academic year","Regional","E92000001","England","London","E12000007","Asian / Asian British","Bangladeshi",79954 +202122,"Academic year","Regional","E92000001","England","London","E12000007","Mixed / Multiple ethnic groups","White and Black African",20290 202122,"Academic year","Regional","E92000001","England","London","E12000007","White","Any other White background",183941 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","African",5275 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","White","Gypsy or Irish Traveller",1351 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Other ethnic group","Total",22824 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Chinese",8041 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Indian",23483 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",23246 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Unknown","Unknown",13948 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","White","Any other White background",41690 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Pakistani",35115 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",33692 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Chinese",2917 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","African",9802 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Black Caribbean",8557 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Pakistani",82717 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Black Caribbean",23793 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Gypsy or Irish Traveller",3357 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Irish",1797 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Other ethnic group","Total",13668 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","Caribbean",2186 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Irish",1140 -202122,"Academic year","National","E92000001","England","","","White","Gypsy or Irish Traveller",27359 -202122,"Academic year","National","E92000001","England","","","White","English/Welsh/Scottish/Northern Irish/British",5379748 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Any other White background",47266 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Other ethnic group","Total",10279 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Any other Asian background",14672 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Black Caribbean",15144 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Irish",3029 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Indian",89639 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Pakistani",60707 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",27761 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","African",156883 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","Caribbean",50178 -202122,"Academic year","Regional","E92000001","England","London","E12000007","White","Irish",6268 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Total","Total",1309322 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Bangladeshi",3929 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","White","English/Welsh/Scottish/Northern Irish/British",341858 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Pakistani",74053 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","African",28344 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",5250 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","African",35205 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","White","Gypsy or Irish Traveller",5872 -202122,"Academic year","National","E92000001","England","","","Other ethnic group","Total",185355 -202122,"Academic year","National","E92000001","England","","","Asian/Asian British","Indian",289179 -202122,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",65501 -202122,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","Caribbean",82402 -202122,"Academic year","National","E92000001","England","","","White","Irish",21495 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Any other Asian background",10499 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Indian",35705 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",4589 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Chinese",4806 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",5230 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","African",27046 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",22801 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Other ethnic group","Total",82516 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",68689 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Chinese",1616 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","Caribbean",138 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",4805 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Black African",2143 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Unknown","Unknown",3101 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","Caribbean",2566 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Asian",13673 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","White","Gypsy or Irish Traveller",1971 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Any other Asian background",27700 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Indian",43780 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","White","English/Welsh/Scottish/Northern Irish/British",933373 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Bangladeshi",2399 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Pakistani",3561 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Asian",9554 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Unknown","Unknown",13355 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","White","Gypsy or Irish Traveller",1436 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","White","English/Welsh/Scottish/Northern Irish/British",631234 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Any other Asian background",18227 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Bangladeshi",19029 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","Caribbean",12871 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Black African",5886 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Any other White background",44742 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","English/Welsh/Scottish/Northern Irish/British",559675 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Chinese",3119 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Black African",5640 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Unknown","Unknown",11577 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","English/Welsh/Scottish/Northern Irish/British",597711 -202122,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Asian",134821 -202122,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Black African",76262 -202122,"Academic year","National","E92000001","England","","","White","Any other White background",575540 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Bangladeshi",4721 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Pakistani",17087 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Indian",21162 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Pakistani",24079 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","Caribbean",4920 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Total","Total",952659 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Unknown","Unknown",30359 -202122,"Academic year","Regional","E92000001","England","London","E12000007","White","English/Welsh/Scottish/Northern Irish/British",312522 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Black Caribbean",1061 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Any other Asian background",15699 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",8714 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Bangladeshi",8367 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Asian",25681 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","White","Irish",3554 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Total","Total",1327416 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Other ethnic group","Total",6188 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Any other Asian background",6824 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",2450 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Other ethnic group","Total",20983 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","African",38733 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",21183 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Indian",12633 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Pakistani",77431 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",3611 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","African",19228 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",14579 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Gypsy or Irish Traveller",5663 -202122,"Academic year","National","E92000001","England","","","Asian/Asian British","Any other Asian background",170572 -202122,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","African",338614 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Chinese",3280 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",13357 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Black African",5824 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Black Caribbean",13376 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Unknown","Unknown",10909 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Any other Asian background",62502 -202122,"Academic year","Regional","E92000001","England","London","E12000007","White","Gypsy or Irish Traveller",2358 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Asian",3758 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","White","Any other White background",8783 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Bangladeshi",14322 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","White","Irish",2650 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","White","English/Welsh/Scottish/Northern Irish/British",826451 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Total","Total",1141306 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Other ethnic group","Total",15895 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Black Caribbean",17250 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Unknown","Unknown",19584 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Indian",10356 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","Caribbean",1829 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Black African",4920 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","White","Any other White background",40956 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Unknown","Unknown",15334 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Bangladeshi",6897 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Asian",12504 -202122,"Academic year","National","E92000001","England","","","Asian/Asian British","Bangladeshi",151613 -202122,"Academic year","National","E92000001","England","","","Asian/Asian British","Chinese",48396 -202122,"Academic year","National","E92000001","England","","","Asian/Asian British","Pakistani",380781 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Other ethnic group","Total",8034 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Total","Total",726038 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Bangladeshi",11995 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Black African",9697 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Any other White background",79248 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Chinese",12267 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Asian",27992 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Black Caribbean",33314 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Other ethnic group","Total",4968 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Any other Asian background",3816 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Indian",2926 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Pakistani",6031 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",1052 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","White","Irish",480 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Total","Total",397359 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Black African",8215 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Black Caribbean",10432 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Chinese",7757 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","Caribbean",4602 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Black African",13647 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","White","Any other White background",89583 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",11245 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","White","Irish",1427 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Total","Total",769427 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Chinese",4593 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Indian",49495 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Asian",16106 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Total","Total",945936 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Any other Asian background",10633 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Total","Total",848550 -202021,"Academic year","National","E92000001","England","","","Asian/Asian British","Indian",275106 -202021,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",64655 -202021,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Asian",128850 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Any other Asian background",9786 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",4367 +202021,"Academic year","National","E92000001","England","","","Asian / Asian British","Indian",275106 +202021,"Academic year","National","E92000001","England","","","Black / African / Caribbean / Black British","Any other Black / African / Caribbean background",64655 +202021,"Academic year","National","E92000001","England","","","Mixed / Multiple ethnic groups","White and Asian",128850 +202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian / Asian British","Any other Asian background",9786 +202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black / African / Caribbean / Black British","Any other Black / African / Caribbean background",4367 202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Unknown","Unknown",10352 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","English/Welsh/Scottish/Northern Irish/British",517967 +202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","English / Welsh / Scottish / Northern Irish / British",517967 202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Other ethnic group","Total",9581 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",4937 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","Caribbean",4756 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",21555 +202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Black / African / Caribbean / Black British","Any other Black / African / Caribbean background",4937 +202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Black / African / Caribbean / Black British","Caribbean",4756 +202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed / Multiple ethnic groups","Any other Mixed / Multiple ethnic background",21555 202021,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Gypsy or Irish Traveller",2818 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Indian",87031 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Black African",19926 +202021,"Academic year","Regional","E92000001","England","London","E12000007","Asian / Asian British","Indian",87031 +202021,"Academic year","Regional","E92000001","England","London","E12000007","Mixed / Multiple ethnic groups","White and Black African",19926 202021,"Academic year","Regional","E92000001","England","London","E12000007","Unknown","Unknown",30319 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",973 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","African",4211 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Asian",3539 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","White","Any other White background",8458 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","White","English/Welsh/Scottish/Northern Irish/British",343569 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Bangladeshi",14392 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Pakistani",71455 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",21932 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Black African",7798 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Bangladeshi",8126 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Indian",40262 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","Caribbean",4454 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Bangladeshi",2366 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Bangladeshi",18773 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","Caribbean",13081 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Any other White background",43633 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Irish",1883 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Total","Total",936238 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Pakistani",76524 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","African",17371 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Total","Total",841498 -202021,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","Caribbean",83712 -202021,"Academic year","National","E92000001","England","","","White","Gypsy or Irish Traveller",26045 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Other ethnic group","Total",7128 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Indian",34066 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","Caribbean",3107 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Indian",19429 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Pakistani",23605 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","African",25325 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Chinese",10542 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",28121 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Black Caribbean",33208 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Black Caribbean",1049 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","White","Irish",506 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Chinese",5942 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Asian",13056 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Total","Total",1129325 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Asian",24402 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","White","Gypsy or Irish Traveller",5740 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Any other Asian background",6183 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Asian",9002 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Black African",4788 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Black Caribbean",8300 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Unknown","Unknown",13097 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","White","English/Welsh/Scottish/Northern Irish/British",631819 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Gypsy or Irish Traveller",3127 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","English/Welsh/Scottish/Northern Irish/British",564022 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","Caribbean",2160 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Asian",12094 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Gypsy or Irish Traveller",5491 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Irish",1130 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","English/Welsh/Scottish/Northern Irish/British",600593 -202021,"Academic year","National","E92000001","England","","","White","English/Welsh/Scottish/Northern Irish/British",5410043 -202021,"Academic year","National","E92000001","England","","","Total","Total",8342004 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Pakistani",16607 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",12528 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Asian",9382 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Black African",5463 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Any other White background",45763 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Irish",1134 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Chinese",3931 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Black African",9220 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Black Caribbean",14661 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Unknown","Unknown",17132 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Other ethnic group","Total",78717 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Pakistani",60301 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","Caribbean",51649 -202021,"Academic year","Regional","E92000001","England","London","E12000007","White","Irish",6472 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Any other Asian background",3560 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Chinese",1505 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Pakistani",5929 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","Caribbean",132 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Unknown","Unknown",2767 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Any other Asian background",14100 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Indian",22229 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",8609 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","African",26228 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Black Caribbean",10074 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Other ethnic group","Total",14535 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Chinese",5269 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","African",32345 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Black Caribbean",16609 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Other ethnic group","Total",5590 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Pakistani",3432 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","Caribbean",1794 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","White","Gypsy or Irish Traveller",1394 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Other ethnic group","Total",19829 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",19689 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Black Caribbean",23348 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Chinese",2619 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",13579 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Black Caribbean",10283 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Unknown","Unknown",10719 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Any other White background",38353 -202021,"Academic year","National","E92000001","England","","","Other ethnic group","Total",173423 -202021,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","African",326365 -202021,"Academic year","National","E92000001","England","","","White","Irish",21898 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Chinese",2369 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Black Caribbean",13037 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Bangladeshi",11598 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","White","English/Welsh/Scottish/Northern Irish/British",664185 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Bangladeshi",78462 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","African",158864 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Asian",27063 -202021,"Academic year","Regional","E92000001","England","London","E12000007","White","Gypsy or Irish Traveller",2240 -202021,"Academic year","Regional","E92000001","England","London","E12000007","White","English/Welsh/Scottish/Northern Irish/British",319750 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Total","Total",1306083 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Indian",2668 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",4477 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","White","Gypsy or Irish Traveller",1310 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Other ethnic group","Total",21033 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","White","Gypsy or Irish Traveller",1736 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","White","Irish",2600 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","White","English/Welsh/Scottish/Northern Irish/British",830959 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Any other Asian background",25766 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Pakistani",34081 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",5137 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","White","English/Welsh/Scottish/Northern Irish/British",937179 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Total","Total",1311068 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","African",9153 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","White","Irish",1477 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Total","Total",763799 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Chinese",3534 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Black African",5580 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Any other Asian background",9948 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",3426 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Black African",5355 -202021,"Academic year","National","E92000001","England","","","Asian/Asian British","Chinese",37943 -202021,"Academic year","National","E92000001","England","","","Asian/Asian British","Pakistani",374031 -202021,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Black African",73202 -202021,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Black Caribbean",130569 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Bangladeshi",4586 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","African",16637 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Total","Total",716908 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Asian",14794 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Any other White background",76547 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Total","Total",395479 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","Caribbean",2579 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Black African",13068 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","White","Irish",3645 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Indian",9398 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",10714 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Any other Asian background",16599 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Indian",47924 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",6681 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Unknown","Unknown",14172 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Indian",12099 -202021,"Academic year","National","E92000001","England","","","Asian/Asian British","Any other Asian background",161435 -202021,"Academic year","National","E92000001","England","","","Asian/Asian British","Bangladeshi",149202 -202021,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",200996 -202021,"Academic year","National","E92000001","England","","","Unknown","Unknown",132439 -202021,"Academic year","National","E92000001","England","","","White","Any other White background",565893 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Gypsy or Irish Traveller",2189 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Any other Asian background",13559 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Irish",3051 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Total","Total",941606 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Any other Asian background",61934 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",65204 -202021,"Academic year","Regional","E92000001","England","London","E12000007","White","Any other White background",185154 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Other ethnic group","Total",4644 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Bangladeshi",3913 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Black African",2004 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Unknown","Unknown",13225 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","White","Any other White background",40510 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",31318 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Unknown","Unknown",20656 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","White","Any other White background",87176 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Chinese",2232 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",2404 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","White","Any other White background",40299 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Pakistani",82097 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","African",36231 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Asian",15518 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Other ethnic group","Total",12366 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Bangladeshi",6986 -201920,"Academic year","National","E92000001","England","","","Other ethnic group","Total",168758 -201920,"Academic year","National","E92000001","England","","","Asian/Asian British","Indian",268318 -201920,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",64153 -201920,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","African",323874 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Indian",33051 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",11955 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Unknown","Unknown",9852 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Other ethnic group","Total",9107 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Any other Asian background",13057 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Chinese",3946 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Total","Total",934498 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Other ethnic group","Total",77413 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Indian",85521 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Pakistani",60415 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Black Caribbean",33296 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Pakistani",5995 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Unknown","Unknown",2421 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","White","Gypsy or Irish Traveller",1402 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","White","English/Welsh/Scottish/Northern Irish/British",344917 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",8380 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","White","Irish",2614 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Other ethnic group","Total",13980 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","Caribbean",1843 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","White","English/Welsh/Scottish/Northern Irish/British",631554 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Any other Asian background",15739 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",6518 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Unknown","Unknown",12598 -201920,"Academic year","National","E92000001","England","","","Asian/Asian British","Pakistani",372699 -201920,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Black African",70403 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",4226 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","English/Welsh/Scottish/Northern Irish/British",519315 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Bangladeshi",11433 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Bangladeshi",77408 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","Caribbean",53733 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Black African",19570 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Unknown","Unknown",27935 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","African",3857 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Chinese",1532 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",4263 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Black Caribbean",1024 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Total","Total",395344 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Indian",22020 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Black Caribbean",9919 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Indian",38172 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Asian",23278 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","White","Gypsy or Irish Traveller",5965 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Other ethnic group","Total",5433 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Any other Asian background",5813 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","African",8982 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Chinese",2268 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",10342 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","White","Irish",1523 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Other ethnic group","Total",19395 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Black Caribbean",22940 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Gypsy or Irish Traveller",3399 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Irish",1970 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Total","Total",934071 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Indian",12121 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Pakistani",76948 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",3404 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","African",16609 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",13226 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Black Caribbean",10121 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Gypsy or Irish Traveller",6095 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Irish",1155 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Total","Total",841364 -201920,"Academic year","National","E92000001","England","","","Asian/Asian British","Any other Asian background",158756 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Any other Asian background",9540 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Asian",8850 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Pakistani",23238 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","African",24380 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Asian",14154 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Black African",8808 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Black Caribbean",14379 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Any other White background",74304 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",28575 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","African",162680 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Chinese",10475 -201920,"Academic year","Regional","E92000001","England","London","E12000007","White","Irish",6759 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Total","Total",1309562 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","Caribbean",129 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Any other Asian background",13596 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","Caribbean",2630 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Unknown","Unknown",11916 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","White","Any other White background",39860 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","White","English/Welsh/Scottish/Northern Irish/British",834407 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",5002 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Chinese",5079 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",29592 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Black Caribbean",16100 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",2339 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Unknown","Unknown",11968 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","Caribbean",13550 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",18696 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Asian",14983 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Any other White background",43169 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Bangladeshi",7097 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","Caribbean",2251 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Asian",11583 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Black African",5114 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","English/Welsh/Scottish/Northern Irish/British",604006 -201920,"Academic year","National","E92000001","England","","","Asian/Asian British","Bangladeshi",148290 -201920,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","Caribbean",86543 -201920,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Asian",123153 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Other ethnic group","Total",6828 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Pakistani",16246 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Black African",5195 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Total","Total",712715 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Irish",3081 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","White","English/Welsh/Scottish/Northern Irish/British",665959 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Asian",25938 -201920,"Academic year","Regional","E92000001","England","London","E12000007","White","Any other White background",186086 -201920,"Academic year","Regional","E92000001","England","London","E12000007","White","English/Welsh/Scottish/Northern Irish/British",324358 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Other ethnic group","Total",4512 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","White","Irish",494 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Bangladeshi",14583 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Pakistani",70462 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Chinese",5870 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Asian",12471 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Bangladeshi",8101 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","White","Any other White background",84985 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","White","Irish",3701 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Pakistani",3393 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Asian",8551 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Black African",4569 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Black Caribbean",8136 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Other ethnic group","Total",11899 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Any other Asian background",9834 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Chinese",2621 -201920,"Academic year","National","E92000001","England","","","Unknown","Unknown",119388 -201920,"Academic year","National","E92000001","England","","","White","Any other White background",558877 -201920,"Academic year","National","E92000001","England","","","White","English/Welsh/Scottish/Northern Irish/British",5432991 -201920,"Academic year","National","E92000001","England","","","Total","Total",8312552 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","African",16093 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Chinese",2420 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Black Caribbean",12859 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Any other White background",44572 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Irish",1146 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Indian",18660 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",4783 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","Caribbean",4810 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Gypsy or Irish Traveller",3091 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Any other Asian background",3531 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",926 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",20954 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Black African",7403 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Total","Total",1125421 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Pakistani",33643 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","African",31062 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","Caribbean",4342 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Black African",12491 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","White","English/Welsh/Scottish/Northern Irish/British",940237 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Total","Total",1299738 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","White","Any other White background",39910 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Pakistani",82359 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","African",35081 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Chinese",3521 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","English/Welsh/Scottish/Northern Irish/British",568238 -201920,"Academic year","National","E92000001","England","","","Asian/Asian British","Chinese",37732 -201920,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",192731 -201920,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Black Caribbean",128774 -201920,"Academic year","National","E92000001","England","","","White","Gypsy or Irish Traveller",28091 -201920,"Academic year","National","E92000001","England","","","White","Irish",22443 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Bangladeshi",4591 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","Caribbean",3255 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Gypsy or Irish Traveller",2255 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",20372 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Unknown","Unknown",15965 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Any other Asian background",62505 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",63331 -201920,"Academic year","Regional","E92000001","England","London","E12000007","White","Gypsy or Irish Traveller",2359 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Bangladeshi",3910 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Indian",2602 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Asian",3345 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Black African",1901 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","White","Any other White background",8305 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Other ethnic group","Total",20191 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","African",25130 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","White","Gypsy or Irish Traveller",2037 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Any other Asian background",25141 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Unknown","Unknown",17597 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Bangladeshi",2355 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Indian",8988 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","White","Gypsy or Irish Traveller",1488 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Total","Total",759839 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Bangladeshi",18812 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Indian",47183 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Black African",5352 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Unknown","Unknown",9136 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Any other White background",37686 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Any other Asian background",61943 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","African",165610 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Chinese",10224 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",61555 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Other ethnic group","Total",4158 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","Caribbean",131 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","White","Gypsy or Irish Traveller",1410 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Bangladeshi",14553 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",19589 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Asian",11865 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Black African",6929 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Bangladeshi",8103 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Indian",35673 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Total","Total",1283789 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Other ethnic group","Total",4980 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Unknown","Unknown",11009 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","Caribbean",13957 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Gypsy or Irish Traveller",3334 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","English/Welsh/Scottish/Northern Irish/British",570694 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Total","Total",925435 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Any other White background",36280 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Irish",1172 -201819,"Academic year","National","E92000001","England","","","Other ethnic group","Total",161402 -201819,"Academic year","National","E92000001","England","","","Asian/Asian British","Bangladeshi",146047 -201819,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","African",318288 -201819,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","Caribbean",89083 -201819,"Academic year","National","E92000001","England","","","White","Gypsy or Irish Traveller",27632 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Bangladeshi",4531 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","English/Welsh/Scottish/Northern Irish/British",519745 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Black Caribbean",13893 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Indian",82228 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","Caribbean",55938 -201819,"Academic year","Regional","E92000001","England","London","E12000007","White","Gypsy or Irish Traveller",2266 -201819,"Academic year","Regional","E92000001","England","London","E12000007","White","English/Welsh/Scottish/Northern Irish/British",328876 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Chinese",1506 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",4021 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Black Caribbean",974 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Total","Total",393467 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Pakistani",67922 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","African",23589 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","White","Gypsy or Irish Traveller",1976 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","White","English/Welsh/Scottish/Northern Irish/British",834878 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Any other Asian background",24267 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",4807 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","African",29317 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","Caribbean",4201 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Black African",11853 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","White","Any other White background",80966 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Bangladeshi",2306 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","African",8545 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",9802 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Black African",4344 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Chinese",3404 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Asian",14293 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Black African",4980 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Any other White background",41580 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Irish",2000 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Black Caribbean",9928 -201819,"Academic year","National","E92000001","England","","","Asian/Asian British","Indian",257669 -201819,"Academic year","National","E92000001","England","","","Asian/Asian British","Pakistani",366574 -201819,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Asian",117513 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Other ethnic group","Total",6397 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Any other Asian background",9344 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Pakistani",15780 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",11548 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Total","Total",706385 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Other ethnic group","Total",8549 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Bangladeshi",11124 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","African",23422 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","Caribbean",4786 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Chinese",3913 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Black African",8305 -201819,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",62875 -201819,"Academic year","National","E92000001","England","","","White","Any other White background",541983 -201819,"Academic year","National","E92000001","England","","","White","Irish",22808 -201819,"Academic year","National","E92000001","England","","","White","English/Welsh/Scottish/Northern Irish/British",5441773 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Any other Asian background",12627 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Gypsy or Irish Traveller",2898 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Pakistani",59870 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Asian",24794 -201819,"Academic year","Regional","E92000001","England","London","E12000007","White","Irish",7046 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Bangladeshi",3789 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Indian",2567 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","African",3590 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Black African",1759 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Indian",21612 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Chinese",5672 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","White","Irish",2632 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","White","Gypsy or Irish Traveller",5816 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Indian",8298 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Asian",8213 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Total","Total",753326 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Other ethnic group","Total",18402 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Black Caribbean",22597 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Other ethnic group","Total",11218 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Chinese",2545 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",12498 -201819,"Academic year","National","E92000001","England","","","Asian/Asian British","Any other Asian background",154519 -201819,"Academic year","National","E92000001","England","","","Asian/Asian British","Chinese",36853 -201819,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",183671 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Black Caribbean",12596 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Pakistani",22501 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",19037 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","White","English/Welsh/Scottish/Northern Irish/British",666706 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Other ethnic group","Total",75915 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Unknown","Unknown",25495 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",870 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Unknown","Unknown",2153 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","White","Any other White background",7979 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","White","English/Welsh/Scottish/Northern Irish/British",345253 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",8091 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","White","Any other White background",38473 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Pakistani",32625 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Black Caribbean",15622 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Any other Asian background",5468 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",2256 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Black Caribbean",8020 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","White","Any other White background",40023 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Pakistani",81920 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Bangladeshi",7150 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Indian",12035 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Pakistani",76789 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","Caribbean",2289 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Asian",11126 -201819,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Black African",66931 -201819,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Black Caribbean",126398 -201819,"Academic year","National","E92000001","England","","","Unknown","Unknown",109421 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Indian",31969 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",4109 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","African",15473 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Chinese",2388 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Gypsy or Irish Traveller",2262 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Irish",1167 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Indian",17363 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Asian",13434 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Irish",3149 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Total","Total",922883 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Black African",19129 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Black Caribbean",33064 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Any other Asian background",3425 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Any other Asian background",12948 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","Caribbean",2669 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Unknown","Unknown",10907 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",27884 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Asian",22197 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","White","Irish",3672 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Chinese",2215 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","White","Gypsy or Irish Traveller",1459 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Any other Asian background",14999 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Indian",45924 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",6231 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",17737 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",3298 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Gypsy or Irish Traveller",6211 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","English/Welsh/Scottish/Northern Irish/British",605426 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Total","Total",836573 -201819,"Academic year","National","E92000001","England","","","Total","Total",8237832 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","Caribbean",3233 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Asian",8382 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Black African",4851 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Unknown","Unknown",8863 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Any other White background",43335 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",4556 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Unknown","Unknown",14902 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Any other White background",70738 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Bangladeshi",75988 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",28657 -201819,"Academic year","Regional","E92000001","England","London","E12000007","White","Any other White background",182609 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Total","Total",1302406 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Pakistani",5923 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Asian",3209 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","White","Irish",470 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Other ethnic group","Total",18626 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Black Caribbean",9704 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Total","Total",1113568 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Other ethnic group","Total",13157 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Chinese",4986 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Unknown","Unknown",16655 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","White","English/Welsh/Scottish/Northern Irish/British",940809 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Pakistani",3244 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","Caribbean",1879 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","White","Irish",1500 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","White","English/Welsh/Scottish/Northern Irish/British",629386 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Bangladeshi",18503 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","African",33050 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Unknown","Unknown",11263 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Any other Asian background",9498 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","African",15692 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Black African",4781 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Unknown","Unknown",8174 diff --git a/tests/testthat/mainTests/ethnicity_meets_standards.meta.csv b/tests/testthat/mainTests/ethnicity_meets_standards.meta.csv index 9c080a5..2c4291c 100644 --- a/tests/testthat/mainTests/ethnicity_meets_standards.meta.csv +++ b/tests/testthat/mainTests/ethnicity_meets_standards.meta.csv @@ -1,4 +1,4 @@ col_name,col_type,label,indicator_grouping,indicator_unit,indicator_dp,filter_hint,filter_grouping_column ethnicity_major,Filter,Ethnicity Major,,,,Filter by pupil ethnicity, ethnicity_minor,Filter,Ethnicity Minor,,,,Filter by pupil ethnicity, -headcount,Indicator,Headcount,Pupil counts,,0,, +pupil_count,Indicator,Headcount,Pupil counts,,0,, diff --git a/tests/testthat/mainTests/ethnicity_wrong_headers.csv b/tests/testthat/mainTests/ethnicity_wrong_headers.csv deleted file mode 100644 index bfb7f8b..0000000 --- a/tests/testthat/mainTests/ethnicity_wrong_headers.csv +++ /dev/null @@ -1,761 +0,0 @@ -"time_period","time_identifier","geographic_level","country_code","country_name","region_name","region_code","major_ethnicity","minor_ethnicity","headcount" -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",6844 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Black Caribbean",10577 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Any other White background",39331 -202122,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",213597 -202122,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Black Caribbean",133504 -202122,"Academic year","National","E92000001","England","","","Unknown","Unknown",136371 -202122,"Academic year","National","E92000001","England","","","Total","Total",8418013 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","African",18098 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","Caribbean",3112 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Asian",9859 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Gypsy or Irish Traveller",2346 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Irish",1150 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","English/Welsh/Scottish/Northern Irish/British",516312 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Asian",15694 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Unknown","Unknown",18204 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Gypsy or Irish Traveller",3005 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","White","English/Welsh/Scottish/Northern Irish/British",660612 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Bangladeshi",79954 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Black African",20290 -202122,"Academic year","Regional","E92000001","England","London","E12000007","White","Any other White background",183941 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","African",5275 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","White","Gypsy or Irish Traveller",1351 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Other ethnic group","Total",22824 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Chinese",8041 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Indian",23483 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",23246 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Unknown","Unknown",13948 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","White","Any other White background",41690 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Pakistani",35115 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",33692 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Chinese",2917 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","African",9802 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Black Caribbean",8557 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Pakistani",82717 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Black Caribbean",23793 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Gypsy or Irish Traveller",3357 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Irish",1797 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Other ethnic group","Total",13668 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","Caribbean",2186 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Irish",1140 -202122,"Academic year","National","E92000001","England","","","White","Gypsy or Irish Traveller",27359 -202122,"Academic year","National","E92000001","England","","","White","English/Welsh/Scottish/Northern Irish/British",5379748 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Any other White background",47266 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Other ethnic group","Total",10279 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Any other Asian background",14672 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Black Caribbean",15144 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Irish",3029 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Indian",89639 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Pakistani",60707 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",27761 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","African",156883 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","Caribbean",50178 -202122,"Academic year","Regional","E92000001","England","London","E12000007","White","Irish",6268 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Total","Total",1309322 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Bangladeshi",3929 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","White","English/Welsh/Scottish/Northern Irish/British",341858 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Pakistani",74053 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","African",28344 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",5250 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","African",35205 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","White","Gypsy or Irish Traveller",5872 -202122,"Academic year","National","E92000001","England","","","Other ethnic group","Total",185355 -202122,"Academic year","National","E92000001","England","","","Asian/Asian British","Indian",289179 -202122,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",65501 -202122,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","Caribbean",82402 -202122,"Academic year","National","E92000001","England","","","White","Irish",21495 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Any other Asian background",10499 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Indian",35705 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",4589 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Chinese",4806 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",5230 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","African",27046 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",22801 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Other ethnic group","Total",82516 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",68689 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Chinese",1616 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","Caribbean",138 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",4805 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Black African",2143 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Unknown","Unknown",3101 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","Caribbean",2566 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Asian",13673 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","White","Gypsy or Irish Traveller",1971 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Any other Asian background",27700 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Indian",43780 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","White","English/Welsh/Scottish/Northern Irish/British",933373 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Bangladeshi",2399 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Pakistani",3561 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Asian",9554 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Unknown","Unknown",13355 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","White","Gypsy or Irish Traveller",1436 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","White","English/Welsh/Scottish/Northern Irish/British",631234 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Any other Asian background",18227 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Bangladeshi",19029 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","Caribbean",12871 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Black African",5886 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Any other White background",44742 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","English/Welsh/Scottish/Northern Irish/British",559675 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Chinese",3119 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Black African",5640 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Unknown","Unknown",11577 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","English/Welsh/Scottish/Northern Irish/British",597711 -202122,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Asian",134821 -202122,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Black African",76262 -202122,"Academic year","National","E92000001","England","","","White","Any other White background",575540 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Bangladeshi",4721 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Pakistani",17087 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Indian",21162 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Pakistani",24079 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","Caribbean",4920 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Total","Total",952659 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Unknown","Unknown",30359 -202122,"Academic year","Regional","E92000001","England","London","E12000007","White","English/Welsh/Scottish/Northern Irish/British",312522 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Black Caribbean",1061 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Any other Asian background",15699 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",8714 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Bangladeshi",8367 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Asian",25681 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","White","Irish",3554 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Total","Total",1327416 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Other ethnic group","Total",6188 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Any other Asian background",6824 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",2450 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Other ethnic group","Total",20983 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","African",38733 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",21183 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Indian",12633 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Pakistani",77431 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",3611 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","African",19228 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",14579 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Gypsy or Irish Traveller",5663 -202122,"Academic year","National","E92000001","England","","","Asian/Asian British","Any other Asian background",170572 -202122,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","African",338614 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Chinese",3280 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",13357 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Black African",5824 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Black Caribbean",13376 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Unknown","Unknown",10909 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Any other Asian background",62502 -202122,"Academic year","Regional","E92000001","England","London","E12000007","White","Gypsy or Irish Traveller",2358 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Asian",3758 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","White","Any other White background",8783 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Bangladeshi",14322 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","White","Irish",2650 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","White","English/Welsh/Scottish/Northern Irish/British",826451 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Total","Total",1141306 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Other ethnic group","Total",15895 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Black Caribbean",17250 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Unknown","Unknown",19584 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Indian",10356 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","Caribbean",1829 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Black African",4920 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","White","Any other White background",40956 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Unknown","Unknown",15334 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Bangladeshi",6897 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Asian",12504 -202122,"Academic year","National","E92000001","England","","","Asian/Asian British","Bangladeshi",151613 -202122,"Academic year","National","E92000001","England","","","Asian/Asian British","Chinese",48396 -202122,"Academic year","National","E92000001","England","","","Asian/Asian British","Pakistani",380781 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Other ethnic group","Total",8034 -202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Total","Total",726038 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Bangladeshi",11995 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Black African",9697 -202122,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Any other White background",79248 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Chinese",12267 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Asian",27992 -202122,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Black Caribbean",33314 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Other ethnic group","Total",4968 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Any other Asian background",3816 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Indian",2926 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Pakistani",6031 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",1052 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","White","Irish",480 -202122,"Academic year","Regional","E92000001","England","North East","E12000001","Total","Total",397359 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Black African",8215 -202122,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Black Caribbean",10432 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Chinese",7757 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","Caribbean",4602 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Black African",13647 -202122,"Academic year","Regional","E92000001","England","South East","E12000008","White","Any other White background",89583 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",11245 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","White","Irish",1427 -202122,"Academic year","Regional","E92000001","England","South West","E12000009","Total","Total",769427 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Chinese",4593 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Indian",49495 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Asian",16106 -202122,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Total","Total",945936 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Any other Asian background",10633 -202122,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Total","Total",848550 -202021,"Academic year","National","E92000001","England","","","Asian/Asian British","Indian",275106 -202021,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",64655 -202021,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Asian",128850 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Any other Asian background",9786 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",4367 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Unknown","Unknown",10352 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","English/Welsh/Scottish/Northern Irish/British",517967 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Other ethnic group","Total",9581 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",4937 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","Caribbean",4756 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",21555 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Gypsy or Irish Traveller",2818 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Indian",87031 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Black African",19926 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Unknown","Unknown",30319 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",973 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","African",4211 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Asian",3539 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","White","Any other White background",8458 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","White","English/Welsh/Scottish/Northern Irish/British",343569 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Bangladeshi",14392 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Pakistani",71455 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",21932 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Black African",7798 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Bangladeshi",8126 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Indian",40262 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","Caribbean",4454 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Bangladeshi",2366 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Bangladeshi",18773 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","Caribbean",13081 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Any other White background",43633 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Irish",1883 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Total","Total",936238 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Pakistani",76524 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","African",17371 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Total","Total",841498 -202021,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","Caribbean",83712 -202021,"Academic year","National","E92000001","England","","","White","Gypsy or Irish Traveller",26045 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Other ethnic group","Total",7128 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Indian",34066 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","Caribbean",3107 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Indian",19429 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Pakistani",23605 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","African",25325 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Chinese",10542 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",28121 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Black Caribbean",33208 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Black Caribbean",1049 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","White","Irish",506 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Chinese",5942 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Asian",13056 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Total","Total",1129325 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Asian",24402 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","White","Gypsy or Irish Traveller",5740 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Any other Asian background",6183 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Asian",9002 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Black African",4788 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Black Caribbean",8300 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Unknown","Unknown",13097 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","White","English/Welsh/Scottish/Northern Irish/British",631819 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Gypsy or Irish Traveller",3127 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","English/Welsh/Scottish/Northern Irish/British",564022 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","Caribbean",2160 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Asian",12094 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Gypsy or Irish Traveller",5491 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Irish",1130 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","English/Welsh/Scottish/Northern Irish/British",600593 -202021,"Academic year","National","E92000001","England","","","White","English/Welsh/Scottish/Northern Irish/British",5410043 -202021,"Academic year","National","E92000001","England","","","Total","Total",8342004 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Pakistani",16607 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",12528 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Asian",9382 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Black African",5463 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Any other White background",45763 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Irish",1134 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Chinese",3931 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Black African",9220 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Black Caribbean",14661 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Unknown","Unknown",17132 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Other ethnic group","Total",78717 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Pakistani",60301 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","Caribbean",51649 -202021,"Academic year","Regional","E92000001","England","London","E12000007","White","Irish",6472 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Any other Asian background",3560 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Chinese",1505 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Pakistani",5929 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","Caribbean",132 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Unknown","Unknown",2767 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Any other Asian background",14100 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Indian",22229 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",8609 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","African",26228 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Black Caribbean",10074 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Other ethnic group","Total",14535 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Chinese",5269 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","African",32345 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Black Caribbean",16609 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Other ethnic group","Total",5590 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Pakistani",3432 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","Caribbean",1794 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","White","Gypsy or Irish Traveller",1394 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Other ethnic group","Total",19829 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",19689 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Black Caribbean",23348 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Chinese",2619 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",13579 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Black Caribbean",10283 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Unknown","Unknown",10719 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Any other White background",38353 -202021,"Academic year","National","E92000001","England","","","Other ethnic group","Total",173423 -202021,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","African",326365 -202021,"Academic year","National","E92000001","England","","","White","Irish",21898 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Chinese",2369 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Black Caribbean",13037 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Bangladeshi",11598 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","White","English/Welsh/Scottish/Northern Irish/British",664185 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Bangladeshi",78462 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","African",158864 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Asian",27063 -202021,"Academic year","Regional","E92000001","England","London","E12000007","White","Gypsy or Irish Traveller",2240 -202021,"Academic year","Regional","E92000001","England","London","E12000007","White","English/Welsh/Scottish/Northern Irish/British",319750 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Total","Total",1306083 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Indian",2668 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",4477 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","White","Gypsy or Irish Traveller",1310 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Other ethnic group","Total",21033 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","White","Gypsy or Irish Traveller",1736 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","White","Irish",2600 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","White","English/Welsh/Scottish/Northern Irish/British",830959 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Any other Asian background",25766 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Pakistani",34081 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",5137 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","White","English/Welsh/Scottish/Northern Irish/British",937179 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Total","Total",1311068 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","African",9153 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","White","Irish",1477 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Total","Total",763799 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Chinese",3534 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Black African",5580 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Any other Asian background",9948 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",3426 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Black African",5355 -202021,"Academic year","National","E92000001","England","","","Asian/Asian British","Chinese",37943 -202021,"Academic year","National","E92000001","England","","","Asian/Asian British","Pakistani",374031 -202021,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Black African",73202 -202021,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Black Caribbean",130569 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Bangladeshi",4586 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","African",16637 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Total","Total",716908 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Asian",14794 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Any other White background",76547 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Total","Total",395479 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","Caribbean",2579 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Black African",13068 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","White","Irish",3645 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Indian",9398 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",10714 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Any other Asian background",16599 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Indian",47924 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",6681 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Unknown","Unknown",14172 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Indian",12099 -202021,"Academic year","National","E92000001","England","","","Asian/Asian British","Any other Asian background",161435 -202021,"Academic year","National","E92000001","England","","","Asian/Asian British","Bangladeshi",149202 -202021,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",200996 -202021,"Academic year","National","E92000001","England","","","Unknown","Unknown",132439 -202021,"Academic year","National","E92000001","England","","","White","Any other White background",565893 -202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Gypsy or Irish Traveller",2189 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Any other Asian background",13559 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Irish",3051 -202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Total","Total",941606 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Any other Asian background",61934 -202021,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",65204 -202021,"Academic year","Regional","E92000001","England","London","E12000007","White","Any other White background",185154 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Other ethnic group","Total",4644 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Bangladeshi",3913 -202021,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Black African",2004 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","Unknown","Unknown",13225 -202021,"Academic year","Regional","E92000001","England","North West","E12000002","White","Any other White background",40510 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",31318 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","Unknown","Unknown",20656 -202021,"Academic year","Regional","E92000001","England","South East","E12000008","White","Any other White background",87176 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Chinese",2232 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",2404 -202021,"Academic year","Regional","E92000001","England","South West","E12000009","White","Any other White background",40299 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Pakistani",82097 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","African",36231 -202021,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Asian",15518 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Other ethnic group","Total",12366 -202021,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Bangladeshi",6986 -201920,"Academic year","National","E92000001","England","","","Other ethnic group","Total",168758 -201920,"Academic year","National","E92000001","England","","","Asian/Asian British","Indian",268318 -201920,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",64153 -201920,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","African",323874 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Indian",33051 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",11955 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Unknown","Unknown",9852 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Other ethnic group","Total",9107 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Any other Asian background",13057 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Chinese",3946 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Total","Total",934498 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Other ethnic group","Total",77413 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Indian",85521 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Pakistani",60415 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Black Caribbean",33296 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Pakistani",5995 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Unknown","Unknown",2421 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","White","Gypsy or Irish Traveller",1402 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","White","English/Welsh/Scottish/Northern Irish/British",344917 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",8380 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","White","Irish",2614 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Other ethnic group","Total",13980 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","Caribbean",1843 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","White","English/Welsh/Scottish/Northern Irish/British",631554 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Any other Asian background",15739 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",6518 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Unknown","Unknown",12598 -201920,"Academic year","National","E92000001","England","","","Asian/Asian British","Pakistani",372699 -201920,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Black African",70403 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",4226 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","English/Welsh/Scottish/Northern Irish/British",519315 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Bangladeshi",11433 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Bangladeshi",77408 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","Caribbean",53733 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Black African",19570 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Unknown","Unknown",27935 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","African",3857 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Chinese",1532 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",4263 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Black Caribbean",1024 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Total","Total",395344 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Indian",22020 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Black Caribbean",9919 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Indian",38172 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Asian",23278 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","White","Gypsy or Irish Traveller",5965 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Other ethnic group","Total",5433 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Any other Asian background",5813 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","African",8982 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Chinese",2268 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",10342 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","White","Irish",1523 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Other ethnic group","Total",19395 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Black Caribbean",22940 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Gypsy or Irish Traveller",3399 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Irish",1970 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Total","Total",934071 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Indian",12121 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Pakistani",76948 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",3404 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","African",16609 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",13226 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Black Caribbean",10121 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Gypsy or Irish Traveller",6095 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Irish",1155 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Total","Total",841364 -201920,"Academic year","National","E92000001","England","","","Asian/Asian British","Any other Asian background",158756 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Any other Asian background",9540 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Asian",8850 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Pakistani",23238 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","African",24380 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Asian",14154 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Black African",8808 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Black Caribbean",14379 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Any other White background",74304 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",28575 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","African",162680 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Chinese",10475 -201920,"Academic year","Regional","E92000001","England","London","E12000007","White","Irish",6759 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Total","Total",1309562 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","Caribbean",129 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Any other Asian background",13596 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","Caribbean",2630 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Unknown","Unknown",11916 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","White","Any other White background",39860 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","White","English/Welsh/Scottish/Northern Irish/British",834407 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",5002 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Chinese",5079 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",29592 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Black Caribbean",16100 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",2339 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Unknown","Unknown",11968 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","Caribbean",13550 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",18696 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Asian",14983 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Any other White background",43169 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Bangladeshi",7097 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","Caribbean",2251 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Asian",11583 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Black African",5114 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","English/Welsh/Scottish/Northern Irish/British",604006 -201920,"Academic year","National","E92000001","England","","","Asian/Asian British","Bangladeshi",148290 -201920,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","Caribbean",86543 -201920,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Asian",123153 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Other ethnic group","Total",6828 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Pakistani",16246 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Black African",5195 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Total","Total",712715 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Irish",3081 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","White","English/Welsh/Scottish/Northern Irish/British",665959 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Asian",25938 -201920,"Academic year","Regional","E92000001","England","London","E12000007","White","Any other White background",186086 -201920,"Academic year","Regional","E92000001","England","London","E12000007","White","English/Welsh/Scottish/Northern Irish/British",324358 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Other ethnic group","Total",4512 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","White","Irish",494 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Bangladeshi",14583 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Pakistani",70462 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Chinese",5870 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Asian",12471 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Bangladeshi",8101 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","White","Any other White background",84985 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","White","Irish",3701 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Pakistani",3393 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Asian",8551 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Black African",4569 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Black Caribbean",8136 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Other ethnic group","Total",11899 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Any other Asian background",9834 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Chinese",2621 -201920,"Academic year","National","E92000001","England","","","Unknown","Unknown",119388 -201920,"Academic year","National","E92000001","England","","","White","Any other White background",558877 -201920,"Academic year","National","E92000001","England","","","White","English/Welsh/Scottish/Northern Irish/British",5432991 -201920,"Academic year","National","E92000001","England","","","Total","Total",8312552 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","African",16093 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Chinese",2420 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Black Caribbean",12859 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Any other White background",44572 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Irish",1146 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Indian",18660 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",4783 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","Caribbean",4810 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Gypsy or Irish Traveller",3091 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Any other Asian background",3531 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",926 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",20954 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Black African",7403 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Total","Total",1125421 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Pakistani",33643 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","African",31062 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","Caribbean",4342 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Black African",12491 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","White","English/Welsh/Scottish/Northern Irish/British",940237 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Total","Total",1299738 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","White","Any other White background",39910 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Pakistani",82359 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","African",35081 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Chinese",3521 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","English/Welsh/Scottish/Northern Irish/British",568238 -201920,"Academic year","National","E92000001","England","","","Asian/Asian British","Chinese",37732 -201920,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",192731 -201920,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Black Caribbean",128774 -201920,"Academic year","National","E92000001","England","","","White","Gypsy or Irish Traveller",28091 -201920,"Academic year","National","E92000001","England","","","White","Irish",22443 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Bangladeshi",4591 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","Caribbean",3255 -201920,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Gypsy or Irish Traveller",2255 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",20372 -201920,"Academic year","Regional","E92000001","England","East of England","E12000006","Unknown","Unknown",15965 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Any other Asian background",62505 -201920,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",63331 -201920,"Academic year","Regional","E92000001","England","London","E12000007","White","Gypsy or Irish Traveller",2359 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Bangladeshi",3910 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Indian",2602 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Asian",3345 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Black African",1901 -201920,"Academic year","Regional","E92000001","England","North East","E12000001","White","Any other White background",8305 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Other ethnic group","Total",20191 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","African",25130 -201920,"Academic year","Regional","E92000001","England","North West","E12000002","White","Gypsy or Irish Traveller",2037 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Any other Asian background",25141 -201920,"Academic year","Regional","E92000001","England","South East","E12000008","Unknown","Unknown",17597 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Bangladeshi",2355 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Indian",8988 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","White","Gypsy or Irish Traveller",1488 -201920,"Academic year","Regional","E92000001","England","South West","E12000009","Total","Total",759839 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Bangladeshi",18812 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Indian",47183 -201920,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Black African",5352 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Unknown","Unknown",9136 -201920,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Any other White background",37686 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Any other Asian background",61943 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","African",165610 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Chinese",10224 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",61555 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Other ethnic group","Total",4158 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","Caribbean",131 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","White","Gypsy or Irish Traveller",1410 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Bangladeshi",14553 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",19589 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Asian",11865 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Black African",6929 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Bangladeshi",8103 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Indian",35673 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Total","Total",1283789 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Other ethnic group","Total",4980 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Unknown","Unknown",11009 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","Caribbean",13957 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Gypsy or Irish Traveller",3334 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","English/Welsh/Scottish/Northern Irish/British",570694 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Total","Total",925435 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Any other White background",36280 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Irish",1172 -201819,"Academic year","National","E92000001","England","","","Other ethnic group","Total",161402 -201819,"Academic year","National","E92000001","England","","","Asian/Asian British","Bangladeshi",146047 -201819,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","African",318288 -201819,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","Caribbean",89083 -201819,"Academic year","National","E92000001","England","","","White","Gypsy or Irish Traveller",27632 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Bangladeshi",4531 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","English/Welsh/Scottish/Northern Irish/British",519745 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Black Caribbean",13893 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Indian",82228 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","Caribbean",55938 -201819,"Academic year","Regional","E92000001","England","London","E12000007","White","Gypsy or Irish Traveller",2266 -201819,"Academic year","Regional","E92000001","England","London","E12000007","White","English/Welsh/Scottish/Northern Irish/British",328876 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Chinese",1506 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",4021 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Black Caribbean",974 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Total","Total",393467 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Pakistani",67922 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","African",23589 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","White","Gypsy or Irish Traveller",1976 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","White","English/Welsh/Scottish/Northern Irish/British",834878 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Any other Asian background",24267 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",4807 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","African",29317 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Black/African/Caribbean/Black British","Caribbean",4201 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Black African",11853 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","White","Any other White background",80966 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Bangladeshi",2306 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","African",8545 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",9802 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Black African",4344 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Chinese",3404 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Asian",14293 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Black African",4980 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Any other White background",41580 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","White","Irish",2000 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Black Caribbean",9928 -201819,"Academic year","National","E92000001","England","","","Asian/Asian British","Indian",257669 -201819,"Academic year","National","E92000001","England","","","Asian/Asian British","Pakistani",366574 -201819,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Asian",117513 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Other ethnic group","Total",6397 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Any other Asian background",9344 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Pakistani",15780 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",11548 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Total","Total",706385 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Other ethnic group","Total",8549 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Bangladeshi",11124 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","African",23422 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","Caribbean",4786 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Chinese",3913 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Black African",8305 -201819,"Academic year","National","E92000001","England","","","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",62875 -201819,"Academic year","National","E92000001","England","","","White","Any other White background",541983 -201819,"Academic year","National","E92000001","England","","","White","Irish",22808 -201819,"Academic year","National","E92000001","England","","","White","English/Welsh/Scottish/Northern Irish/British",5441773 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Any other Asian background",12627 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Gypsy or Irish Traveller",2898 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Pakistani",59870 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Asian",24794 -201819,"Academic year","Regional","E92000001","England","London","E12000007","White","Irish",7046 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Bangladeshi",3789 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Indian",2567 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","African",3590 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Black African",1759 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Indian",21612 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Chinese",5672 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","White","Irish",2632 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","White","Gypsy or Irish Traveller",5816 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Indian",8298 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Asian",8213 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Total","Total",753326 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Other ethnic group","Total",18402 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","White and Black Caribbean",22597 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Other ethnic group","Total",11218 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Chinese",2545 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",12498 -201819,"Academic year","National","E92000001","England","","","Asian/Asian British","Any other Asian background",154519 -201819,"Academic year","National","E92000001","England","","","Asian/Asian British","Chinese",36853 -201819,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",183671 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Black Caribbean",12596 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Pakistani",22501 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",19037 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","White","English/Welsh/Scottish/Northern Irish/British",666706 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Other ethnic group","Total",75915 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Unknown","Unknown",25495 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",870 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Unknown","Unknown",2153 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","White","Any other White background",7979 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","White","English/Welsh/Scottish/Northern Irish/British",345253 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",8091 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","White","Any other White background",38473 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Pakistani",32625 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Black Caribbean",15622 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Any other Asian background",5468 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",2256 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Mixed/Multiple ethnic groups","White and Black Caribbean",8020 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","White","Any other White background",40023 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Pakistani",81920 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Bangladeshi",7150 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Indian",12035 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Pakistani",76789 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","Caribbean",2289 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Asian",11126 -201819,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Black African",66931 -201819,"Academic year","National","E92000001","England","","","Mixed/Multiple ethnic groups","White and Black Caribbean",126398 -201819,"Academic year","National","E92000001","England","","","Unknown","Unknown",109421 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Indian",31969 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",4109 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","African",15473 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian/Asian British","Chinese",2388 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Gypsy or Irish Traveller",2262 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Irish",1167 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Asian/Asian British","Indian",17363 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed/Multiple ethnic groups","White and Asian",13434 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Irish",3149 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Total","Total",922883 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Black African",19129 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Mixed/Multiple ethnic groups","White and Black Caribbean",33064 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Any other Asian background",3425 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Asian/Asian British","Any other Asian background",12948 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Black/African/Caribbean/Black British","Caribbean",2669 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Unknown","Unknown",10907 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",27884 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Mixed/Multiple ethnic groups","White and Asian",22197 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","White","Irish",3672 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Chinese",2215 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","White","Gypsy or Irish Traveller",1459 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Any other Asian background",14999 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Indian",45924 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",6231 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Mixed/Multiple ethnic groups","Any other Mixed/Multiple ethnic background",17737 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",3298 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","Gypsy or Irish Traveller",6211 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","White","English/Welsh/Scottish/Northern Irish/British",605426 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Total","Total",836573 -201819,"Academic year","National","E92000001","England","","","Total","Total",8237832 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black/African/Caribbean/Black British","Caribbean",3233 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Asian",8382 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed/Multiple ethnic groups","White and Black African",4851 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Unknown","Unknown",8863 -201819,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Any other White background",43335 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",4556 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","Unknown","Unknown",14902 -201819,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Any other White background",70738 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Asian/Asian British","Bangladeshi",75988 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Black/African/Caribbean/Black British","Any other Black/African/Caribbean background",28657 -201819,"Academic year","Regional","E92000001","England","London","E12000007","White","Any other White background",182609 -201819,"Academic year","Regional","E92000001","England","London","E12000007","Total","Total",1302406 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Asian/Asian British","Pakistani",5923 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed/Multiple ethnic groups","White and Asian",3209 -201819,"Academic year","Regional","E92000001","England","North East","E12000001","White","Irish",470 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Other ethnic group","Total",18626 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Mixed/Multiple ethnic groups","White and Black Caribbean",9704 -201819,"Academic year","Regional","E92000001","England","North West","E12000002","Total","Total",1113568 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Other ethnic group","Total",13157 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Asian/Asian British","Chinese",4986 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","Unknown","Unknown",16655 -201819,"Academic year","Regional","E92000001","England","South East","E12000008","White","English/Welsh/Scottish/Northern Irish/British",940809 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Asian/Asian British","Pakistani",3244 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","Black/African/Caribbean/Black British","Caribbean",1879 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","White","Irish",1500 -201819,"Academic year","Regional","E92000001","England","South West","E12000009","White","English/Welsh/Scottish/Northern Irish/British",629386 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Asian/Asian British","Bangladeshi",18503 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Black/African/Caribbean/Black British","African",33050 -201819,"Academic year","Regional","E92000001","England","West Midlands","E12000005","Unknown","Unknown",11263 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Asian/Asian British","Any other Asian background",9498 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Black/African/Caribbean/Black British","African",15692 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Mixed/Multiple ethnic groups","White and Black African",4781 -201819,"Academic year","Regional","E92000001","England","Yorkshire and The Humber","E12000003","Unknown","Unknown",8174 diff --git a/tests/testthat/mainTests/non_standard_headers.csv b/tests/testthat/mainTests/non_standard_headers.csv new file mode 100644 index 0000000..d6ad6fb --- /dev/null +++ b/tests/testthat/mainTests/non_standard_headers.csv @@ -0,0 +1,40 @@ +"time_period","time_identifier","geographic_level","country_code","country_name","region_name","region_code","major_ethnicity","minor_ethnicity","characteristic_sen_status","headcount" +202122,"Academic year","National","E92000001","England","","","Mixed / Multiple ethnic groups","Any other Mixed / Multiple ethnic background","Total", 213597 +202122,"Academic year","National","E92000001","England","","","Mixed / Multiple ethnic groups","White and Black Caribbean","Total",133504 +202122,"Academic year","National","E92000001","England","","","Unknown","Unknown","Any special educational need",136371 +202122,"Academic year","National","E92000001","England","","","Total","Total","Total",8418013 +202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black / African / Caribbean / Black British","African","Any special educational need",18098 +202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black / African / Caribbean / Black British","Caribbean","No identified special educational need",3112 +202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Mixed / Multiple ethnic groups","White and Asian","No identified special educational need",9859 +202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Gypsy or Irish Traveller","No identified special educational need",2346 +202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","Irish","No identified special educational need",1150 +202122,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","English / Welsh / Scottish / Northern Irish / British","Any special educational need",516312 +202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed / Multiple ethnic groups","White and Asian","Any special educational need",15694 +202122,"Academic year","Regional","E92000001","England","East of England","E12000006","Unknown","Unknown","Any special educational need",18204 +202122,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Gypsy or Irish Traveller","Total",3005 +202122,"Academic year","Regional","E92000001","England","East of England","E12000006","White","English / Welsh / Scottish / Northern Irish / British","Any special educational need",660612 +202122,"Academic year","Regional","E92000001","England","London","E12000007","Asian / Asian British","Bangladeshi","Any special educational need",79954 +202122,"Academic year","Regional","E92000001","England","London","E12000007","Mixed / Multiple ethnic groups","White and Black African","Total",20290 +202122,"Academic year","Regional","E92000001","England","London","E12000007","White","Any other White background","Total",183941 +202122,"Academic year","Regional","E92000001","England","North East","E12000001","Black / African / Caribbean / Black British","African","Total",5275 +202122,"Academic year","Regional","E92000001","England","North East","E12000001","White","Gypsy or Irish Traveller","No identified special educational need",1351 +202021,"Academic year","National","E92000001","England","","","Asian / Asian British","Indian","No identified special educational need",275106 +202021,"Academic year","National","E92000001","England","","","Black / African / Caribbean / Black British","Any other Black / African / Caribbean background","No identified special educational need",64655 +202021,"Academic year","National","E92000001","England","","","Mixed / Multiple ethnic groups","White and Asian","No identified special educational need",128850 +202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Asian / Asian British","Any other Asian background","No identified special educational need",9786 +202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Black / African / Caribbean / Black British","Any other Black / African / Caribbean background","No identified special educational need",4367 +202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","Unknown","Unknown","No identified special educational need",10352 +202021,"Academic year","Regional","E92000001","England","East Midlands","E12000004","White","English / Welsh / Scottish / Northern Irish / British","No identified special educational need",517967 +202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Other ethnic group","Total","No identified special educational need",9581 +202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Black / African / Caribbean / Black British","Any other Black / African / Caribbean background","Total",4937 +202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Black / African / Caribbean / Black British","Caribbean","Total",4756 +202021,"Academic year","Regional","E92000001","England","East of England","E12000006","Mixed / Multiple ethnic groups","Any other Mixed / Multiple ethnic background","Total",21555 +202021,"Academic year","Regional","E92000001","England","East of England","E12000006","White","Gypsy or Irish Traveller","Total",2818 +202021,"Academic year","Regional","E92000001","England","London","E12000007","Asian / Asian British","Indian","No identified special educational need",87031 +202021,"Academic year","Regional","E92000001","England","London","E12000007","Mixed / Multiple ethnic groups","White and Black African","No identified special educational need",19926 +202021,"Academic year","Regional","E92000001","England","London","E12000007","Unknown","Unknown","No identified special educational need",30319 +202021,"Academic year","Regional","E92000001","England","North East","E12000001","Black / African / Caribbean / Black British","Any other Black / African / Caribbean background","No identified special educational need",973 +202021,"Academic year","Regional","E92000001","England","North East","E12000001","Black / African / Caribbean / Black British","African","No identified special educational need",4211 +202021,"Academic year","Regional","E92000001","England","North East","E12000001","Mixed / Multiple ethnic groups","White and Asian","No identified special educational need",3539 +202021,"Academic year","Regional","E92000001","England","North East","E12000001","White","Any other White background","No identified special educational need",8458 +202021,"Academic year","Regional","E92000001","England","North East","E12000001","White","English / Welsh / Scottish / Northern Irish / British","No identified special educational need",343569 diff --git a/tests/testthat/mainTests/ethnicity_wrong_headers.meta.csv b/tests/testthat/mainTests/non_standard_headers.meta.csv similarity index 74% rename from tests/testthat/mainTests/ethnicity_wrong_headers.meta.csv rename to tests/testthat/mainTests/non_standard_headers.meta.csv index ace71b0..435b133 100644 --- a/tests/testthat/mainTests/ethnicity_wrong_headers.meta.csv +++ b/tests/testthat/mainTests/non_standard_headers.meta.csv @@ -1,4 +1,4 @@ col_name,col_type,label,indicator_grouping,indicator_unit,indicator_dp,filter_hint,filter_grouping_column -major_ethnicity,Filter,Ethnicity Major,,,,Filter by pupil ethnicity, -minor_ethnicity,Filter,Ethnicity Minor,,,,Filter by pupil ethnicity, +minor_ethnicity,Filter,Ethnicity Minor,,,,Filter by pupil ethnicity,major_ethnicity +characteristic_sen_status,Filter,SEN status,,,,, headcount,Indicator,Headcount,Pupil counts,,0,, diff --git a/tests/testthat/otherData/adding_z_locationCode.csv b/tests/testthat/otherData/adding_z_locationCode.csv index 56eba23..e4ee9c9 100644 --- a/tests/testthat/otherData/adding_z_locationCode.csv +++ b/tests/testthat/otherData/adding_z_locationCode.csv @@ -1,4 +1,4 @@ -time_period,time_identifier,geographic_level,country_code,country_name,region_code,region_name,old_la_code,new_la_code,la_name,lad_code,lad_name,school_phase,school_type,num_schools,enrolments,sess_overall_percent,sess_authorised_percent,sess_unauthorised_percent,enrolments_pa_10_exact,enrolments_pa_10_exact_percent +time_period,time_identifier,geographic_level,country_code,country_name,region_code,region_name,old_la_code,new_la_code,la_name,lad_code,lad_name,education_phase,establishment_type,school_count,enrolment_count,sess_overall_percent,sess_authorised_percent,sess_unauthorised_percent,enrolments_pa_10_exact,enrolments_pa_10_exact_percent 201718,Academic year,National,E92000001,England,,,,,,,,Total,Total,20121,6835059,4.20821,3.01996,1.18824,731047,10.69555 201718,Academic year,National,E92000001,England,,,,,,,,Individual,State-funded primary,16739,3885774,3.68934,2.69421,0.99512,357742,9.20645 201718,Academic year,National,z,"Scotland, Wales and Northern Ireland",,,,,,,,Individual,State-funded secondary,3382,2949285,4.89899,3.45364,1.44535,373305,12.65747 diff --git a/tests/testthat/otherData/adding_z_locationCode.meta.csv b/tests/testthat/otherData/adding_z_locationCode.meta.csv index bb18bcf..0020654 100644 --- a/tests/testthat/otherData/adding_z_locationCode.meta.csv +++ b/tests/testthat/otherData/adding_z_locationCode.meta.csv @@ -1,9 +1,9 @@ col_name,col_type,label,indicator_grouping,indicator_unit,indicator_dp,filter_hint,filter_grouping_column -num_schools,Indicator,Number of schools,Absence fields,,0,, -enrolments,Indicator,Number of pupil enrolments,Absence fields,,0,, +school_count,Indicator,Number of schools,Absence fields,,0,, +enrolment_count,Indicator,Number of pupil enrolments,Absence fields,,0,, sess_overall_percent,Indicator,Overall absence rate,Absence fields,%,0,, sess_authorised_percent,Indicator,Authorised absence rate,Absence fields,%,1,, sess_unauthorised_percent,Indicator,Unauthorised absence rate,Absence fields,£m,2,, enrolments_pa_10_exact,Indicator,Number of persistent absentees,Absence fields,,0,, enrolments_pa_10_exact_percent,Indicator,Percentage of persistent absentees,Absence fields,%,3,, -school_type,Filter,School type,,,,Filter by school type,school_phase +establishment_type,Filter,School type,,,,Filter by school type,education_phase diff --git a/tests/testthat/otherData/lad_within_la.csv b/tests/testthat/otherData/lad_within_la.csv index d04dff2..fbd047e 100644 --- a/tests/testthat/otherData/lad_within_la.csv +++ b/tests/testthat/otherData/lad_within_la.csv @@ -1,4 +1,4 @@ -time_period,time_identifier,geographic_level,country_code,country_name,region_code,region_name,old_la_code,new_la_code,la_name,lad_code,lad_name,school_phase,school_type,num_schools,enrolments,sess_overall_percent,sess_authorised_percent,sess_unauthorised_percent,enrolments_pa_10_exact,enrolments_pa_10_exact_percent +time_period,time_identifier,geographic_level,country_code,country_name,region_code,region_name,old_la_code,new_la_code,la_name,lad_code,lad_name,education_phase,establishment_type,school_count,enrolments_count,sess_overall_percent,sess_authorised_percent,sess_unauthorised_percent,enrolments_pa_10_exact,enrolments_pa_10_exact_percent 201718,Academic year,National,E92000001,England,,,,,,,,Total,Total,20121,6835059,4.20821,3.01996,1.18824,731047,10.69555 201718,Academic year,National,E92000001,England,,,,,,,,Individual,State-funded primary,16739,3885774,3.68934,2.69421,0.99512,357742,9.20645 201718,Academic year,National,E92000001,England,,,,,,,,Individual,State-funded secondary,3382,2949285,4.89899,3.45364,1.44535,373305,12.65747 diff --git a/tests/testthat/otherData/lad_within_la.meta.csv b/tests/testthat/otherData/lad_within_la.meta.csv index bb18bcf..6b7051a 100644 --- a/tests/testthat/otherData/lad_within_la.meta.csv +++ b/tests/testthat/otherData/lad_within_la.meta.csv @@ -1,9 +1,9 @@ col_name,col_type,label,indicator_grouping,indicator_unit,indicator_dp,filter_hint,filter_grouping_column -num_schools,Indicator,Number of schools,Absence fields,,0,, -enrolments,Indicator,Number of pupil enrolments,Absence fields,,0,, +school_count,Indicator,Number of schools,Absence fields,,0,, +enrolments_count,Indicator,Number of pupil enrolments,Absence fields,,0,, sess_overall_percent,Indicator,Overall absence rate,Absence fields,%,0,, sess_authorised_percent,Indicator,Authorised absence rate,Absence fields,%,1,, sess_unauthorised_percent,Indicator,Unauthorised absence rate,Absence fields,£m,2,, enrolments_pa_10_exact,Indicator,Number of persistent absentees,Absence fields,,0,, enrolments_pa_10_exact_percent,Indicator,Percentage of persistent absentees,Absence fields,%,3,, -school_type,Filter,School type,,,,Filter by school type,school_phase +establishment_type,Filter,School type,,,,Filter by school type,education_phase diff --git a/tests/testthat/otherData/name_multiple_levels.csv b/tests/testthat/otherData/name_multiple_levels.csv index 16fddde..560d34a 100644 --- a/tests/testthat/otherData/name_multiple_levels.csv +++ b/tests/testthat/otherData/name_multiple_levels.csv @@ -1,4 +1,4 @@ -time_period,time_identifier,geographic_level,country_code,country_name,region_code,region_name,local_enterprise_partnership_code,local_enterprise_partnership_name,opportunity_area_code,opportunity_area_name,school_phase,school_type,num_schools,enrolments,sess_overall_percent,sess_authorised_percent,sess_unauthorised_percent,enrolments_pa_10_exact,enrolments_pa_10_exact_percent +time_period,time_identifier,geographic_level,country_code,country_name,region_code,region_name,local_enterprise_partnership_code,local_enterprise_partnership_name,opportunity_area_code,opportunity_area_name,education_phase,establishment_type,school_count,enrolment_count,sess_overall_percent,sess_authorised_percent,sess_unauthorised_percent,enrolments_pa_10_exact,enrolments_pa_10_exact_percent 201314,Academic year,Local enterprise partnership,E92000001,England,E12000001,North East,E37000047,Greater Cambridge and Greater Peterborough,,,Combined,State-funded primary and secondary,86,73656,12.93004,11.91252,9.01752,9768,21.25223 201314,Academic year,Local enterprise partnership,E92000001,England,E12000001,North East,E37000049,Humber,,,Individual,State-funded primary,154,42592,12.01023,11.38464,8.62559,4171,17.77597 201314,Academic year,Local enterprise partnership,E92000001,England,E12000001,North East,E37000050,Leeds City Region,,,Individual,State-funded secondary,132,23999,11.49321,11.00396,8.48925,1849,15.67371 diff --git a/tests/testthat/otherData/name_multiple_levels.meta.csv b/tests/testthat/otherData/name_multiple_levels.meta.csv index bb18bcf..0020654 100644 --- a/tests/testthat/otherData/name_multiple_levels.meta.csv +++ b/tests/testthat/otherData/name_multiple_levels.meta.csv @@ -1,9 +1,9 @@ col_name,col_type,label,indicator_grouping,indicator_unit,indicator_dp,filter_hint,filter_grouping_column -num_schools,Indicator,Number of schools,Absence fields,,0,, -enrolments,Indicator,Number of pupil enrolments,Absence fields,,0,, +school_count,Indicator,Number of schools,Absence fields,,0,, +enrolment_count,Indicator,Number of pupil enrolments,Absence fields,,0,, sess_overall_percent,Indicator,Overall absence rate,Absence fields,%,0,, sess_authorised_percent,Indicator,Authorised absence rate,Absence fields,%,1,, sess_unauthorised_percent,Indicator,Unauthorised absence rate,Absence fields,£m,2,, enrolments_pa_10_exact,Indicator,Number of persistent absentees,Absence fields,,0,, enrolments_pa_10_exact_percent,Indicator,Percentage of persistent absentees,Absence fields,%,3,, -school_type,Filter,School type,,,,Filter by school type,school_phase +establishment_type,Filter,School type,,,,Filter by school type,education_phase diff --git a/tests/testthat/otherData/outside_of_england_region.csv b/tests/testthat/otherData/outside_of_england_region.csv index 589f6b7..4a8b380 100644 --- a/tests/testthat/otherData/outside_of_england_region.csv +++ b/tests/testthat/otherData/outside_of_england_region.csv @@ -1,4 +1,4 @@ -time_period,time_identifier,geographic_level,country_code,country_name,region_code,region_name,school_phase,num_schools,enrolments,sess_overall_percent,sess_authorised_percent,sess_unauthorised_percent,enrolments_pa_10_exact,enrolments_pa_10_exact_percent +time_period,time_identifier,geographic_level,country_code,country_name,region_code,region_name,education_phase,school_count,enrolment_count,sess_overall_percent,sess_authorised_percent,sess_unauthorised_percent,enrolments_pa_10_exact,enrolments_pa_10_exact_percent 201718,Academic year,National,E92000001,England,,,Total,20121,6835059,4.20821,3.01996,1.18824,731047,10.69555 201718,Academic year,National,E92000001,England,,,Individual,3382,2949285,4.89899,3.45364,1.44535,373305,12.65747 201718,Academic year,Regional,E92000001,England,z,Outside of England and unknown,Combined,1033,317616,4.62038,3.12503,1.49536,39300,12.37343 diff --git a/tests/testthat/otherData/outside_of_england_region.meta.csv b/tests/testthat/otherData/outside_of_england_region.meta.csv index 4fd1b91..31fa95b 100644 --- a/tests/testthat/otherData/outside_of_england_region.meta.csv +++ b/tests/testthat/otherData/outside_of_england_region.meta.csv @@ -1,9 +1,9 @@ col_name,col_type,label,indicator_grouping,indicator_unit,indicator_dp,filter_hint,filter_grouping_column -num_schools,Indicator,Number of schools,Absence fields,,0,, -enrolments,Indicator,Number of pupil enrolments,Absence fields,,0,, +school_count,Indicator,Number of schools,Absence fields,,0,, +enrolment_count,Indicator,Number of pupil enrolments,Absence fields,,0,, sess_overall_percent,Indicator,Overall absence rate,Absence fields,%,0,, sess_authorised_percent,Indicator,Authorised absence rate,Absence fields,%,1,, sess_unauthorised_percent,Indicator,Unauthorised absence rate,Absence fields,£m,2,, enrolments_pa_10_exact,Indicator,Number of persistent absentees,Absence fields,,0,, enrolments_pa_10_exact_percent,Indicator,Percentage of persistent absentees,Absence fields,%,3,, -school_phase,Filter,School phase,,,,, +education_phase,Filter,Education phase,,,,, diff --git a/tests/testthat/otherData/passes_na_name.csv b/tests/testthat/otherData/passes_na_name.csv index c63ce65..33d8164 100644 --- a/tests/testthat/otherData/passes_na_name.csv +++ b/tests/testthat/otherData/passes_na_name.csv @@ -1,4 +1,4 @@ -time_period,time_identifier,geographic_level,country_code,country_name,region_code,region_name,lad_code,lad_name,school_type,num_schools,headcount,perm_excl,perm_excl_rate,suspension,susp_rate,one_plus_susp,one_plus_susp_rate +time_period,time_identifier,geographic_level,country_code,country_name,region_code,region_name,lad_code,lad_name,establishment_type,school_count,pupil_count,perm_excl,perm_excl_rate,suspension,susp_rate,one_plus_susp,one_plus_susp_rate 201920,Academic year,Local authority district,E92000001,England,E12000001,North East,E08000021,Newcastle upon Tyne,state-funded primary,72,22995,0,0,231,1.00456621,103,0.447923462 201920,Academic year,Local authority district,E92000001,England,E12000001,North East,E06000004,Stockton-on-Tees,state-funded primary,60,19903,2,0.010048736,144,0.723509019,73,0.366778878 201920,Academic year,Local authority district,E92000001,England,E12000001,North East,E06000002,Middlesbrough,state-funded primary,41,15920,1,0.006281407,63,0.395728643,40,0.251256281 diff --git a/tests/testthat/otherData/passes_na_name.meta.csv b/tests/testthat/otherData/passes_na_name.meta.csv index 79eec00..5507b90 100644 --- a/tests/testthat/otherData/passes_na_name.meta.csv +++ b/tests/testthat/otherData/passes_na_name.meta.csv @@ -1,7 +1,7 @@ col_name,col_type,label,indicator_grouping,indicator_unit,indicator_dp,filter_hint,filter_grouping_column -school_type,Filter,School Type,,,,"State-funded primary, secondary and special", -num_schools,Indicator,Number of schools,,,0,, -headcount,Indicator,Headcount,,,0,, +establishment_type,Filter,Establishment Type,,,,"State-funded primary, secondary and special", +school_count,Indicator,Number of schools,,,0,, +pupil_count,Indicator,Headcount,,,0,, perm_excl,Indicator,Permanent exclusions,,,0,, perm_excl_rate,Indicator,Permanent exclusions (rate),,,2,, suspension,Indicator,Suspensions,,,0,, diff --git a/tests/testthat/sch_prov/sch_mixed_levels.csv b/tests/testthat/sch_prov/sch_mixed_levels.csv index 316aefd..8f92c0f 100644 --- a/tests/testthat/sch_prov/sch_mixed_levels.csv +++ b/tests/testthat/sch_prov/sch_mixed_levels.csv @@ -1,4 +1,4 @@ -time_period,time_identifier,geographic_level,country_code,country_name,region_code,region_name,old_la_code,new_la_code,la_name,lad_code,lad_name,school_urn,school_laestab,school_name,local_enterprise_partnership_code,local_enterprise_partnership_name,school_phase,school_type,num_schools,enrolments,sess_overall_percent,sess_authorised_percent,sess_unauthorised_percent,enrolments_pa_10_exact,enrolments_pa_10_exact_percent +time_period,time_identifier,geographic_level,country_code,country_name,region_code,region_name,old_la_code,new_la_code,la_name,lad_code,lad_name,school_urn,school_laestab,school_name,local_enterprise_partnership_code,local_enterprise_partnership_name,education_phase,establishment_type,school_count,enrolment_count,sess_overall_percent,sess_authorised_percent,sess_unauthorised_percent,enrolments_pa_10_exact,enrolments_pa_10_exact_percent 201718,Academic year,National,E92000001,England,,,,,,,,,,,,,Total,Total,20121,6835059,4.20821,3.01996,1.18824,731047,10.69555 201718,Academic year,National,E92000001,England,,,,,,,,,,,,,Individual,State-funded primary,16739,3885774,3.68934,2.69421,0.99512,357742,9.20645 201718,Academic year,National,E92000001,England,,,,,,,,,,,,,Individual,State-funded secondary,3382,2949285,4.89899,3.45364,1.44535,373305,12.65747 diff --git a/tests/testthat/sch_prov/sch_mixed_levels.meta.csv b/tests/testthat/sch_prov/sch_mixed_levels.meta.csv index bb18bcf..0020654 100644 --- a/tests/testthat/sch_prov/sch_mixed_levels.meta.csv +++ b/tests/testthat/sch_prov/sch_mixed_levels.meta.csv @@ -1,9 +1,9 @@ col_name,col_type,label,indicator_grouping,indicator_unit,indicator_dp,filter_hint,filter_grouping_column -num_schools,Indicator,Number of schools,Absence fields,,0,, -enrolments,Indicator,Number of pupil enrolments,Absence fields,,0,, +school_count,Indicator,Number of schools,Absence fields,,0,, +enrolment_count,Indicator,Number of pupil enrolments,Absence fields,,0,, sess_overall_percent,Indicator,Overall absence rate,Absence fields,%,0,, sess_authorised_percent,Indicator,Authorised absence rate,Absence fields,%,1,, sess_unauthorised_percent,Indicator,Unauthorised absence rate,Absence fields,£m,2,, enrolments_pa_10_exact,Indicator,Number of persistent absentees,Absence fields,,0,, enrolments_pa_10_exact_percent,Indicator,Percentage of persistent absentees,Absence fields,%,3,, -school_type,Filter,School type,,,,Filter by school type,school_phase +establishment_type,Filter,School type,,,,Filter by school type,education_phase diff --git a/tests/testthat/test-UI-03_additional_qa.R b/tests/testthat/test-UI-03_additional_qa.R index 7526e48..fa29bfc 100644 --- a/tests/testthat/test-UI-03_additional_qa.R +++ b/tests/testthat/test-UI-03_additional_qa.R @@ -27,7 +27,7 @@ test_that("Additional QA tabs", { app$expect_values(output = "table_list") # 4. Explore indicators doesn't break with just indicators - app$set_inputs(ind_parameter = "num_schools") + app$set_inputs(ind_parameter = "school_count") app$set_inputs(submit = "click") app$expect_values(output = "table_list") @@ -40,7 +40,7 @@ test_that("Additional QA tabs", { app$expect_values(output = "table_list") # 6. Explore indicators works as expected - app$set_inputs(ind_parameter = c("num_schools", "enrolments")) + app$set_inputs(ind_parameter = c("school_count", "enrolment_count")) app$set_inputs(submit = "click") app$expect_values(output = c("t_1", "t_2", "t_3", "t_4", "t_5", "t_6", "t_7", "t_8")) @@ -53,7 +53,7 @@ test_that("Additional QA tabs", { app$expect_values(output = "table_outlier_list") # 8. Outlier check doesn't break with just indicator - app$set_inputs(outlier_indicator_parameter = "num_schools") + app$set_inputs(outlier_indicator_parameter = "school_count") app$set_inputs(submit_outlier = "click") app$wait_for_idle(50) # this test seems weirdly flaky for unknown reasons @@ -68,7 +68,7 @@ test_that("Additional QA tabs", { app$expect_values(output = "table_outlier_list") # 10. Outlier check runs as expected - app$set_inputs(outlier_indicator_parameter = c("num_schools", "enrolments")) + app$set_inputs(outlier_indicator_parameter = c("school_count", "enrolment_count")) app$set_inputs(threshold_setting = 5) app$set_inputs(submit_outlier = "click") @@ -78,7 +78,7 @@ test_that("Additional QA tabs", { # 11. Geography check runs as expected app$set_inputs(trendy_tabs = "geogTab") - app$set_inputs(geog_indicator_parameter = "num_schools") + app$set_inputs(geog_indicator_parameter = "school_count") app$set_inputs(submit_geographies = "click") app$wait_for_idle(50) # this test seems weirdly flaky for unknown reasons diff --git a/tests/testthat/test-data/data_mandatory_cols.csv b/tests/testthat/test-data/data_mandatory_cols.csv index 405e1bf..9414d28 100644 --- a/tests/testthat/test-data/data_mandatory_cols.csv +++ b/tests/testthat/test-data/data_mandatory_cols.csv @@ -1,4 +1,4 @@ -year,time_identifier,level,country_code,country_name,region_code,region_name,old_la_code,new_la_code,la_name,school_phase,school_type,num_schools,enrolments,sess_overall_percent,sess_authorised_percent,sess_unauthorised_percent,enrolments_pa_10_exact,enrolments_pa_10_exact_percent +year,time_identifier,level,country_code,country_name,region_code,region_name,old_la_code,new_la_code,la_name,education_phase,establishment_type,school_count,enrolment_count,sess_overall_percent,sess_authorised_percent,sess_unauthorised_percent,enrolments_pa_10_exact,enrolments_pa_10_exact_percent 201718,Academic year,National,E92000001,England,,,,,,Total,Total,20121,6835059,4.20821,3.01996,1.18824,731047,10.69555 201718,Academic year,National,E92000001,England,,,,,,Individual,State-funded primary,16739,3885774,3.68934,2.69421,0.99512,357742,9.20645 201718,Academic year,National,E92000001,England,,,,,,Individual,State-funded secondary,3382,2949285,4.89899,3.45364,1.44535,373305,12.65747 diff --git a/tests/testthat/test-data/data_mandatory_cols.meta.csv b/tests/testthat/test-data/data_mandatory_cols.meta.csv index 5d420c0..a442326 100644 --- a/tests/testthat/test-data/data_mandatory_cols.meta.csv +++ b/tests/testthat/test-data/data_mandatory_cols.meta.csv @@ -1,9 +1,9 @@ col_name,col_type,label,indicator_grouping,indicator_unit,indicator_dp,filter_hint,filter_grouping_column -num_schools,Indicator,Number of schools,Absence fields,,0,, -enrolments,Indicator,Number of pupil enrolments,Absence fields,,0,, +school_count,Indicator,Number of schools,Absence fields,,0,, +enrolment_count,Indicator,Number of pupil enrolments,Absence fields,,0,, sess_overall_percent,Indicator,Overall absence rate,Absence fields,%,0,, sess_authorised_percent,Indicator,Authorised absence rate,Absence fields,%,1,, sess_unauthorised_percent,Indicator,Unauthorised absence rate,Absence fields,%,2,, enrolments_pa_10_exact,Indicator,Number of persistent absentees,Absence fields,,0,, enrolments_pa_10_exact_percent,Indicator,Percentage of persistent absentees,Absence fields,%,3,, -school_type,Filter,School type,,,,Filter by school type,school_phase +establishment_type,Filter,School type,,,,Filter by school type,education_phase diff --git a/tests/testthat/test-data/date_format.csv b/tests/testthat/test-data/date_format.csv index d1feb79..dd28709 100644 --- a/tests/testthat/test-data/date_format.csv +++ b/tests/testthat/test-data/date_format.csv @@ -1,4 +1,4 @@ -time_period,time_identifier,geographic_level,country_code,country_name,date,phase,number_of_teachers_and_school_leaders_on_roll +time_period,time_identifier,geographic_level,country_code,country_name,date,education_phase,number_of_teachers_and_school_leaders_on_roll 2020,Week 42,National,E92000001,England,2020-10-12,All state-funded schools,480654 2020,Week 42,National,E92000001,England,2020-10-12,State-funded alternative provision,5054 2020,Week 42,National,E92000001,England,2020-10-12,State-funded primary,240218 diff --git a/tests/testthat/test-data/date_format.meta.csv b/tests/testthat/test-data/date_format.meta.csv index 0de93ed..3c139c5 100644 --- a/tests/testthat/test-data/date_format.meta.csv +++ b/tests/testthat/test-data/date_format.meta.csv @@ -1,4 +1,4 @@ col_name,col_type,label,indicator_grouping,indicator_unit,indicator_dp,filter_hint,filter_grouping_column date,Filter,Date,,,,, -phase,Filter,Phase of education,,,,, +education_phase,Filter,Phase of education,,,,, number_of_teachers_and_school_leaders_on_roll,Indicator,Number of teachers and school leaders on roll,Absence for teachers and school leaders,,,, diff --git a/tests/testthat/test-data/filter_groups_mix.csv b/tests/testthat/test-data/filter_groups_mix.csv index 8ff9ac5..c914748 100644 --- a/tests/testthat/test-data/filter_groups_mix.csv +++ b/tests/testthat/test-data/filter_groups_mix.csv @@ -1,4 +1,4 @@ -time_period,time_identifier,geographic_level,country_code,country_name,institution_group,institution_type,cohort_level_group,cohort_level,characteristic_group,characteristic,data_type,version,cohort +time_period,time_identifier,geographic_level,country_code,country_name,institution_group,institution_type,cohort_level_group,cohort_level,breakdown_topic,breakdown,data_type,version,cohort 201819,Academic year,National,E92000001,England,State-funded mainstream schools & colleges,Total,Level 2,Level 2 approved,Disadvantage Y11 Status and Ethnicity Major,Disadvantaged White,Number of pupils,Revised,21367 201819,Academic year,National,E92000001,England,State-funded mainstream schools & colleges,Total,Level 3,Level 3 other,Prior Attainment,Prior Attainment KS2 above L4,Number of pupils,Revised,14258 201819,Academic year,National,E92000001,England,State-funded mainstream schools & colleges,Total,All other qualifications,Level 1 and entry level,Ethnicity Minor,White Irish,Number of pupils,Revised,84 diff --git a/tests/testthat/test-data/filter_groups_mix.meta.csv b/tests/testthat/test-data/filter_groups_mix.meta.csv index 32d478f..2a51a34 100644 --- a/tests/testthat/test-data/filter_groups_mix.meta.csv +++ b/tests/testthat/test-data/filter_groups_mix.meta.csv @@ -1,6 +1,6 @@ -col_name,col_type,label,indicator_grouping,indicator_unit,indicator_dp,filter_hint,filter_grouping_column +col_name,col_type,label,indicator_grouping,indicator_unit,indicator_dp,filter_hint,filter_grouping_column institution_type,Filter,Institution group,,,,,institution_group cohort_level,Filter,Qualification levels,,,,,cohort_level_group -characteristic,Filter,Student characteristics,,,,,characteristic_group +breakdown,Filter,Student characteristics,,,,,breakdown_topic data_type,Filter,Data type,,,,, cohort,Indicator,Number of pupils completing 16-18 study ,,,,, diff --git a/tests/testthat/test-data/hyphen.csv b/tests/testthat/test-data/hyphen.csv index eb5332e..509b7f3 100644 --- a/tests/testthat/test-data/hyphen.csv +++ b/tests/testthat/test-data/hyphen.csv @@ -1,4 +1,4 @@ -time_period,time_identifier,geographic_level,country_code,country_name,region_name,region_code,old_la_code,la_name,new_la_code,Phase-type_grouping,gender,age,full_time,part_time,headcount,fte +time_period,time_identifier,geographic_level,country_code,country_name,region_name,region_code,old_la_code,la_name,new_la_code,establishment_type_group,sex,age,full_time,part_time,pupil_count,pupil_fte 202021,Academic year,Local authority,E92000001,England,London,E12000007,201,City of London,E09000001,Independent school,Boys,19,36,2,38,37 202021,Academic year,Local authority,E92000001,England,London,E12000007,201,City of London,E09000001,Independent school,Girls,10,53,0,53,53 202021,Academic year,Local authority,E92000001,England,London,E12000007,201,City of London,E09000001,Independent school,Total,19,66,3,69,67.5 diff --git a/tests/testthat/test-data/hyphen.meta.csv b/tests/testthat/test-data/hyphen.meta.csv index a483d5e..6c3f28b 100644 --- a/tests/testthat/test-data/hyphen.meta.csv +++ b/tests/testthat/test-data/hyphen.meta.csv @@ -1,8 +1,8 @@ -col_name,col_type,label,indicator_grouping,indicator_unit,indicator_dp,filter_hint,filter_grouping_column -Phase-type_grouping,Filter,School type,,,,Filter by school type, -gender,Filter,Pupil gender,,,,Pupil gender (Boys/girls), +col_name,col_type,label,indicator_grouping,indicator_unit,indicator_dp,filter_hint,filter_grouping_column +establishment_type_group,Filter,School type,,,,Filter by school type, +sex,Filter,Pupil sex,,,,Pupil sex (male/female), age,Filter,Pupil age,,,,Age at start of academic year (31st Aug), full_time,Indicator,Full time pupils,Pupil counts,,0,, part_time,Indicator,Part time pupils,Pupil counts,,0,, -headcount,Indicator,Headcount,Pupil counts,,0,, -fte,Indicator,Full time equivalent,Pupil counts,,0,, +pupil_count,Indicator,Headcount,Pupil counts,,0,, +pupil_fte,Indicator,Full time equivalent,Pupil counts,,0,, diff --git a/tests/testthat/test-data/passes_everything.csv b/tests/testthat/test-data/passes_everything.csv index f2655cf..9b7075f 100644 --- a/tests/testthat/test-data/passes_everything.csv +++ b/tests/testthat/test-data/passes_everything.csv @@ -1,4 +1,4 @@ -time_period,time_identifier,geographic_level,country_code,country_name,region_code,region_name,old_la_code,new_la_code,la_name,lad_code,lad_name,school_urn,school_laestab,school_name,lsip_code,lsip_name,local_enterprise_partnership_code,local_enterprise_partnership_name,pcon_code,pcon_name,ward_code,ward_name,english_devolved_area_code,english_devolved_area_name,trust_id,trust_name,school_phase,school_type,num_schools,enrolments,sess_overall_percent,sess_authorised_percent,sess_unauthorised_percent,enrolments_pa_10_exact,enrolments_pa_10_exact_percent +time_period,time_identifier,geographic_level,country_code,country_name,region_code,region_name,old_la_code,new_la_code,la_name,lad_code,lad_name,school_urn,school_laestab,school_name,lsip_code,lsip_name,local_enterprise_partnership_code,local_enterprise_partnership_name,pcon_code,pcon_name,ward_code,ward_name,english_devolved_area_code,english_devolved_area_name,trust_id,trust_name,education_phase,establishment_type,school_count,enrolment_count,sess_overall_percent,sess_authorised_percent,sess_unauthorised_percent,enrolments_pa_10_exact,enrolments_pa_10_exact_percent 201718,Academic year,National,E92000001,England,,,,,,,,,,,,,,,,,,,,,,,Total,Total,20121,6835059,4.20821,3.01996,1.18824,731047,10.69555 201718,Academic year,National,E92000001,England,,,,,,,,,,,,,,,,,,,,,,,Individual,State-funded primary,16739,3885774,3.68934,2.69421,0.99512,357742,9.20645 201718,Academic year,National,E92000001,England,,,,,,,,,,,,,,,,,,,,,,,Individual,State-funded secondary,3382,2949285,4.89899,3.45364,1.44535,373305,12.65747 diff --git a/tests/testthat/test-data/passes_everything.meta.csv b/tests/testthat/test-data/passes_everything.meta.csv index bb18bcf..8c453f0 100644 --- a/tests/testthat/test-data/passes_everything.meta.csv +++ b/tests/testthat/test-data/passes_everything.meta.csv @@ -1,9 +1,9 @@ col_name,col_type,label,indicator_grouping,indicator_unit,indicator_dp,filter_hint,filter_grouping_column -num_schools,Indicator,Number of schools,Absence fields,,0,, -enrolments,Indicator,Number of pupil enrolments,Absence fields,,0,, +school_count,Indicator,Number of schools,Absence fields,,0,, +enrolment_count,Indicator,Number of pupil enrolments,Absence fields,,0,, sess_overall_percent,Indicator,Overall absence rate,Absence fields,%,0,, sess_authorised_percent,Indicator,Authorised absence rate,Absence fields,%,1,, sess_unauthorised_percent,Indicator,Unauthorised absence rate,Absence fields,£m,2,, enrolments_pa_10_exact,Indicator,Number of persistent absentees,Absence fields,,0,, enrolments_pa_10_exact_percent,Indicator,Percentage of persistent absentees,Absence fields,%,3,, -school_type,Filter,School type,,,,Filter by school type,school_phase +establishment_type,Filter,Establishment type,,,,Filter by school type,education_phase diff --git a/tests/testthat/test-data/passes_everything_advisory.csv b/tests/testthat/test-data/passes_everything_advisory.csv index 238adf2..1307727 100644 --- a/tests/testthat/test-data/passes_everything_advisory.csv +++ b/tests/testthat/test-data/passes_everything_advisory.csv @@ -1,4 +1,4 @@ -time_period,time_identifier,geographic_level,country_code,country_name,region_code,region_name,old_la_code,new_la_code,la_name,school_type,num_schools,enrolments,sess_overall_percent,sess_authorised_percent,sess_unauthorised_percent,enrolments_pa_10_exact,enrolments_pa_10_exact_percent +time_period,time_identifier,geographic_level,country_code,country_name,region_code,region_name,old_la_code,new_la_code,la_name,establishment_type,school_count,enrolment_count,sess_overall_percent,sess_authorised_percent,sess_unauthorised_percent,enrolments_pa_10_exact,enrolments_pa_10_exact_percent 201718,Academic year,National,E92000001,England,,,,,,State-funded primary and secondary,20121,6835059,4.20821,3.01996,1.18824,731047,10.69555 201718,Academic year,National,E92000001,England,,,,,,State-funded primary,16739,3885774,3.68934,2.69421,0.99512,357742,9.20645 201718,Academic year,National,E92000001,England,,,,,,State-funded secondary,3382,2949285,4.89899,3.45364,1.44535,373305,12.65747 diff --git a/tests/testthat/test-data/passes_everything_advisory.meta.csv b/tests/testthat/test-data/passes_everything_advisory.meta.csv index b113353..de3ea2b 100644 --- a/tests/testthat/test-data/passes_everything_advisory.meta.csv +++ b/tests/testthat/test-data/passes_everything_advisory.meta.csv @@ -1,9 +1,9 @@ col_name,col_type,label,indicator_grouping,indicator_unit,indicator_dp,filter_hint,filter_grouping_column -num_schools,Indicator,Number of schools,Absence fields,,,, -enrolments,Indicator,Number of pupil enrolments,Absence fields,,,, +school_count,Indicator,Number of schools,Absence fields,,,, +enrolment_count,Indicator,Number of pupil enrolments,Absence fields,,,, sess_overall_percent,Indicator,Overall absence rate,Absence fields,%,0,, sess_authorised_percent,Indicator,Authorised absence rate,Absence fields,%,1,, sess_unauthorised_percent,Indicator,Unauthorised absence rate,Absence fields,%,2,, enrolments_pa_10_exact,Indicator,Number of persistent absentees,Absence fields,,0,, enrolments_pa_10_exact_percent,Indicator,Percentage of persistent absentees,Absence fields,%,3,, -school_type,Filter,School type,,,,Filter by school type, +establishment_type,Filter,School type,,,,Filter by school type, diff --git a/tests/testthat/test-data/passes_everything_ancillary.csv b/tests/testthat/test-data/passes_everything_ancillary.csv index 0253c12..4241d5d 100644 --- a/tests/testthat/test-data/passes_everything_ancillary.csv +++ b/tests/testthat/test-data/passes_everything_ancillary.csv @@ -1,4 +1,4 @@ -time_period,time_identifier,geographic_level,country_code,country_name,region_code,region_name,old_la_code,new_la_code,la_name,institution_name,institution_id,school_type,grade,gender,age_group,full_time_equivalent,headcount +time_period,time_identifier,geographic_level,country_code,country_name,region_code,region_name,old_la_code,new_la_code,la_name,institution_name,institution_id,establishment_type,grade,sex,age_group,full_time_equivalent,pupil_count 201920,Academic year,Institution,E92000001,England,E13000001,Inner London,201,E09000001,City of London,St Pauls,2013614,LA maintained primary,Total,Total,Total,17.7,25 201718,Academic year,Institution,E92000001,England,E13000001,Inner London,201,E09000001,City of London,St Pauls,2013614,LA maintained primary,Head teacher,Total,Total,1,1 201819,Academic year,Institution,E92000001,England,E13000001,Inner London,201,E09000001,City of London,St Pauls,2013614,LA maintained primary,Deputy head teacher,Total,Total,1,1 diff --git a/tests/testthat/test-data/passes_everything_ancillary.meta.csv b/tests/testthat/test-data/passes_everything_ancillary.meta.csv index 859bb22..9e28b41 100644 --- a/tests/testthat/test-data/passes_everything_ancillary.meta.csv +++ b/tests/testthat/test-data/passes_everything_ancillary.meta.csv @@ -1,7 +1,7 @@ -col_name,col_type,label,indicator_grouping,indicator_unit,indicator_dp,filter_hint,filter_grouping_column +col_name,col_type,label,indicator_grouping,indicator_unit,indicator_dp,filter_hint,filter_grouping_column grade,Filter,Grade,,,,Filter by grade, -gender,Filter,Gender,,,,Filter by gender, -school_type,Filter,School type,,,,, +sex,Filter,Sex,,,,Filter by sex, +establishment_type,Filter,School type,,,,, age_group,Filter,Age,,,,Filter by age_group, full_time_equivalent,Indicator,FTE,Pupils,%,0,, -headcount,Indicator,Headcount,Pupils,,0,, +pupil_count,Indicator,Headcount,Pupils,,0,, diff --git a/tests/testthat/test-function-mainTests.R b/tests/testthat/test-function-mainTests.R index c78e128..332841b 100644 --- a/tests/testthat/test-function-mainTests.R +++ b/tests/testthat/test-function-mainTests.R @@ -362,12 +362,12 @@ test_that("indicator_dp_nonInteger", { expect_equal(testIndividualTestSeparate(paste0(pathStart, "indicator_dp_nonInteger.csv"), paste0(pathStart, "indicator_dp_nonInteger.meta.csv"), "indicator_dp_validation"), "FAIL") }) -test_that("ethnicity_headers", { +test_that("non_standard_headers", { expect_equal( testIndividualTestSeparate( - paste0(pathStart, "ethnicity_wrong_headers.csv"), - paste0(pathStart, "ethnicity_wrong_headers.meta.csv"), - "ethnicity_headers" + paste0(pathStart, "non_standard_headers.csv"), + paste0(pathStart, "non_standard_headers.meta.csv"), + "standard_filter_headers" ), "FAIL" ) @@ -389,7 +389,7 @@ test_that("ethnicity_headers", { testIndividualTestSeparate( paste0(pathStart, "ethnicity_meets_standards.csv"), paste0(pathStart, "ethnicity_meets_standards.meta.csv"), - "ethnicity_headers" + "standard_filter_headers" ), "PASS" )