Skip to content

Commit

Permalink
Merge pull request #98 from dfe-analytical-services/97-update-data-fo…
Browse files Browse the repository at this point in the history
…r-q4-202324

97 update data for q4 202324
  • Loading branch information
johalastrahol authored Jan 31, 2025
2 parents 61c98b3 + 8894879 commit 39a3af4
Show file tree
Hide file tree
Showing 18 changed files with 485 additions and 1,163 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ README.html
*unpublished*
data/national_provider_summary.csv
data/apprenticeships_demographics.csv
data/apprenticeships_data.csv
data/apprenticeships_data.csv
4 changes: 2 additions & 2 deletions .rscignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
data/national_provider_summary.csv
.Rproj.user
.Rhistory
.RData
.RDataTmp
.Ruserdata
README.html
data/national_provider_summary.csv
data/apprenticeships_demographics.csv
data/apprenticeships_data.csv
data/apprenticeships_demographics.csv
7 changes: 5 additions & 2 deletions R/dashboard_modules/02-local_authority_district.R
Original file line number Diff line number Diff line change
Expand Up @@ -297,14 +297,17 @@ lad_server <- function(id) {
# Reactive data sets used in maps -----------------------------------------
boundary_data <- reactive({
# Set the map boundary file based on the year
# this would be better not hard coded - values change for the latest year according to qr
boundary_list <- list(
"2023/24 (Q3 Aug to Apr)" = lad_boundaries_2024,
"2023/24" = lad_boundaries_2024,
"2022/23" = lad_boundaries_2023,
"2021/22" = lad_boundaries_2022
)

# Choose the boundary based on the year selection from the user
return(boundary_list[[input$year]])
# think this will sort the hard -coding for the boundary list
# will match to the first bit of the string - just the academic year & not qr
return(boundary_list[[substring(input$year, 1, 7)]])
})

delivery_map_data <- reactive({
Expand Down
2 changes: 1 addition & 1 deletion R/dashboard_modules/03-subjects_and_standards.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ subjects_standards_ui <- function(id) {
label = h2("Choose download file format"),
hint_label = "This will download all data related to the providers and options selected.
The XLSX format is designed for use in Microsoft Excel",
choices = c("CSV (Up to 13.18 MB)", "XLSX (Up to 2.12 MB)"),
choices = c("CSV (Up to 13.18 MB)", "XLSX (Up to 2.13 MB)"),
selected = "CSV (Up to 13.18 MB)"
),
# Bit of a hack to force the button not to be full width
Expand Down
1 change: 1 addition & 0 deletions apprenticeships-provider-dashboard.Rproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Version: 1.0
ProjectId: 2915d5c1-b7b0-4c28-99dd-1c56c16b4d64

RestoreWorkspace: Default
SaveWorkspace: Default
Expand Down
Binary file modified data/apprenticeships_demographics_0.parquet
Binary file not shown.
Binary file modified data/lad_map_data_0.parquet
Binary file not shown.
Binary file modified data/national_provider_summary_0.parquet
Binary file not shown.
Binary file modified data/provider_breakdowns_0.parquet
Binary file not shown.
Binary file modified data/subjects_and_standards_0.parquet
Binary file not shown.
3 changes: 2 additions & 1 deletion datafiles_log.csv
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ data/apprenticeships_demographics_0.parquet,published
data/national_provider_summary_0.parquet,published
data/lad_map_data_0.parquet,published
data/provider_breakdowns_0.parquet,published
data/subjects_and_standards_0.parquet,published
data/subjects_and_standards_0.parquet,published

Loading

0 comments on commit 39a3af4

Please sign in to comment.