From 2e1cc9c3a6d423af270dcea240768c3a44ed2f1c Mon Sep 17 00:00:00 2001 From: Jennit07 <67372904+Jennit07@users.noreply.github.com> Date: Mon, 2 Oct 2023 10:23:42 +0100 Subject: [PATCH] Remove outdated comment (#841) * Remove outdated comment * Style code --------- Co-authored-by: Jennit07 --- R/get_source_extract_path.R | 1 - .../All_years/04-Social_Care/03-Alarms_Telecare_data.R | 2 -- 2 files changed, 3 deletions(-) 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),