Skip to content

Commit

Permalink
Update NSU code for new 22/23 cohort (#784)
Browse files Browse the repository at this point in the history
Update `check_year_valid` for NSUs
  • Loading branch information
Jennit07 authored Aug 14, 2023
1 parent 80799a2 commit 19779e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/check_year_valid.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ check_year_valid <- function(
return(FALSE)
} else if (year >= "2122" && type %in% c("CMH", "DN")) {
return(FALSE)
} else if (year >= "2223" && type %in% "NSU") {
} else if (year >= "2324" && type %in% "NSU") {
return(FALSE)
} else if (year >= "2324" && type %in% c("SPARRA", "HHG")) {
return(FALSE)
Expand Down

0 comments on commit 19779e3

Please sign in to comment.