Skip to content

Commit

Permalink
add parameter for year
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennit07 committed Sep 2, 2024
1 parent bd01b28 commit fc6404f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/create_individual_file.R
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ create_individual_file <- function(

if (!check_year_valid(year, type = c("ch", "hc", "at", "sds"))) {
individual_file <- individual_file %>%
aggregate_by_chi(exclude_sc_var = TRUE)
aggregate_by_chi(year = year, exclude_sc_var = TRUE)
} else {
individual_file <- individual_file %>%
aggregate_ch_episodes() %>%
Expand Down

0 comments on commit fc6404f

Please sign in to comment.