Skip to content

Commit

Permalink
Merge branch 'development' into add_new_file_path_functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennit07 authored Sep 25, 2023
2 parents 5a4ee3a + ff4d35f commit 19c2443
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/get_existing_data_for_tests.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ get_existing_data_for_tests <- function(new_data, file_version = "episode") {
slf_data <- suppressMessages(slfhelper::read_slf_episode(
year = year,
recids = recids,
columns = variable_names
col_select = variable_names
))
if ("hscp2018" %in% variable_names) {
slf_data <- dplyr::rename(slf_data, "hscp" = "hscp2018")
}
} else {
slf_data <- suppressMessages(slfhelper::read_slf_individual(
year = year,
columns = variable_names
col_select = variable_names
))
}

Expand Down

0 comments on commit 19c2443

Please sign in to comment.