Skip to content

Commit

Permalink
couple of note updates
Browse files Browse the repository at this point in the history
  • Loading branch information
marjom02 committed Jun 20, 2024
1 parent 35918e4 commit 7c7f2d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/process_extract_care_home.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ process_extract_care_home <- function(
is_date_in_fyyear(year, .data$record_keydate1, .data$record_keydate2)
) %>%
# remove any episodes where the latest submission was before the current year

Check warning on line 41 in R/process_extract_care_home.R

View workflow job for this annotation

GitHub Actions / lint-changed-files

file=R/process_extract_care_home.R,line=41,col=81,[line_length_linter] Lines should not be more than 80 characters. This line is 81 characters.
# this is what stops cases being in future files
dplyr::filter(
substr(.data$sc_latest_submission, 1L, 4L) >= convert_fyyear_to_year(year)
)


# Data Cleaning ---------------------------------------
source_ch_clean <- ch_data %>%
# create variables
Expand Down
2 changes: 1 addition & 1 deletion R/process_sc_all_care_home.R
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ process_sc_all_care_home <- function(
dplyr::select(-latest_flag, -latest_sc_id)

Check notice on line 56 in R/process_sc_all_care_home.R

View workflow job for this annotation

GitHub Actions / Check Spelling

`Line` matches candidate pattern `(?:^|[\t ,"'`=(])-[DPWXYLlf](?=[A-Z]{2,}|[A-Z][a-z]|[a-z]{2,})` (candidate-pattern)


# cleaning and matching care home names - Zihao looking into care home names
# cleaning and matching care home names
name_postcode_clean <- fill_ch_names(
ch_data = ch_clean,
ch_name_lookup_path = ch_name_lookup_path,
Expand Down

0 comments on commit 7c7f2d7

Please sign in to comment.