diff --git a/R/get_source_extract_path.R b/R/get_source_extract_path.R index 9b94f0c94..6be47d61a 100644 --- a/R/get_source_extract_path.R +++ b/R/get_source_extract_path.R @@ -31,7 +31,6 @@ get_source_extract_path <- function(year, "sds" ), ...) { - if (year %in% type) { cli::cli_abort("{.val {year}} was supplied to the {.arg year} argument.") } diff --git a/_SPSS_archived/All_years/04-Social_Care/03-Alarms_Telecare_data.R b/_SPSS_archived/All_years/04-Social_Care/03-Alarms_Telecare_data.R index f41c5b670..663989afd 100644 --- a/_SPSS_archived/All_years/04-Social_Care/03-Alarms_Telecare_data.R +++ b/_SPSS_archived/All_years/04-Social_Care/03-Alarms_Telecare_data.R @@ -46,8 +46,6 @@ at_full_data <- tbl( service_end_date ) %>% # fix bad period (2017, 2020 & 2021) - # TODO - ask SC team as last meeting they said to look at extract date - these dont relate. - # e.g. extract date later than period mutate( period = if_else(period == "2017", "2017Q4", period), period = if_else(period == "2020", "2020Q4", period),