Skip to content

Commit

Permalink
Updated all packages and dealt with code issues as a result of the up…
Browse files Browse the repository at this point in the history
…dates
  • Loading branch information
Chris-bennettWk committed Jan 8, 2024
1 parent d93cc06 commit dc55767
Show file tree
Hide file tree
Showing 4 changed files with 297 additions and 242 deletions.
2 changes: 1 addition & 1 deletion R/dashboard_panels.R
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ dashboard_panel <- function() {
selectizeInput(
inputId = "subj_select",
label = "3. Select a subject",
choices = list(Subjects = sort(unique(qual_lookup$Subject))),
choices = unique(qual_lookup$Subject),
selected = "Mathematics"
)
),
Expand Down
4 changes: 2 additions & 2 deletions global.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ number_select_function <- function(ReportYr_sel, qual, subj, size, grade_structu

table <- stud_numbers %>%
filter(ReportYr == ReportYr_sel & QUAL_ID == filter_selection) %>%
select(PRIOR_BAND, grade_list)
select(PRIOR_BAND, all_of(grade_list))

return(table)
}
Expand All @@ -86,7 +86,7 @@ percentage_select_function <- function(ReportYr_sel, qual, subj, size, grade_str

table <- stud_percentages %>%
filter(ReportYr == ReportYr_sel & QUAL_ID == filter_selection) %>%
select(PRIOR_BAND, grade_list)
select(PRIOR_BAND, all_of(grade_list))

return(table)
}
Expand Down
Loading

0 comments on commit dc55767

Please sign in to comment.