-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge Sept update 23 into master #838
Commits on Jul 28, 2023
-
The new version is needed to read the SLFs now. We use this in `get_existing_data_for_tests()`
Configuration menu - View commit details
-
Copy full SHA for d9ac7ca - Browse repository at this point
Copy the full SHA d9ac7caView commit details -
Remove unnecessary code from
get_anon_chi
(#759)* remove unnecessary code from `get_anon_chi` `get_anon_chi` was updated in slfhelper v0.10 * [check-spelling] Update metadata Update for https://github.com/Public-Health-Scotland/source-linkage-files/actions/runs/5669528966/attempts/1 Accepted in #759 (comment) Signed-off-by: check-spelling-bot <[email protected]> --------- Signed-off-by: check-spelling-bot <[email protected]> Co-authored-by: marjom02 <[email protected]> Co-authored-by: Megan McNicol <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d731bf7 - Browse repository at this point
Copy the full SHA d731bf7View commit details
Commits on Jul 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1269b3b - Browse repository at this point
Copy the full SHA 1269b3bView commit details -
Comment out dataset writing targets
These take a very long time to run, so were skipped at the last update. They need to be revisited.
Configuration menu - View commit details
-
Copy full SHA for 1ea0a1a - Browse repository at this point
Copy the full SHA 1ea0a1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 965f05c - Browse repository at this point
Copy the full SHA 965f05cView commit details
Commits on Aug 1, 2023
-
Correct some documentation (#769)
* Correct some documentation This resolves a build warning. * Style code --------- Co-authored-by: Moohan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d75922a - Browse repository at this point
Copy the full SHA d75922aView commit details -
Make some changes suggested by lintr
Lots of layout changes, as well as lots of implicit to explicit integer / double changes.
Configuration menu - View commit details
-
Copy full SHA for 5fd538f - Browse repository at this point
Copy the full SHA 5fd538fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c9c175 - Browse repository at this point
Copy the full SHA 4c9c175View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e55e84 - Browse repository at this point
Copy the full SHA 6e55e84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9644e0e - Browse repository at this point
Copy the full SHA 9644e0eView commit details
Commits on Aug 2, 2023
-
Investigate missing datazone from episode file (#773)
* Format postcode into `pc7` format * Style code * Style code * Update documentation * Update comment in R/process_extract_ae.R * Implement catch-all for PC7 format --------- Co-authored-by: Jennit07 <[email protected]> Co-authored-by: James McMahon <[email protected]> Co-authored-by: Moohan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 42e461f - Browse repository at this point
Copy the full SHA 42e461fView commit details -
Remove some obsolete code (#770)
* Remove some obsolete code Renaming and removing some functions. * Style code --------- Co-authored-by: Moohan <[email protected]> Co-authored-by: Zihao Li <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 720b20d - Browse repository at this point
Copy the full SHA 720b20dView commit details -
Simplify
create_hscp_test_flags
(#772)* Simplify `create_hscp_test_flags` * Update documentation * Style code * simplify `create_hb_test_flags` * implement hscp test flags into tests * Simplify `create_demog_test_flags` --------- Co-authored-by: James McMahon <[email protected]> Co-authored-by: Moohan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4a03434 - Browse repository at this point
Copy the full SHA 4a03434View commit details
Commits on Aug 3, 2023
-
Rewrite case when statements (#780)
* updated code from case_when to case_match as it's a bit easier to read * Style code * changed some more `case_when` to `case_match` * Style code * [check-spelling] Update metadata Update for https://github.com/Public-Health-Scotland/source-linkage-files/actions/runs/5752014211/attempts/1 Accepted in #780 (comment) Signed-off-by: check-spelling-bot <[email protected]> * Add tests for `convert_sending_location_to_lca` --------- Signed-off-by: check-spelling-bot <[email protected]> Co-authored-by: marjom02 <[email protected]> Co-authored-by: SwiftySalmon <[email protected]> Co-authored-by: James McMahon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f6be11c - Browse repository at this point
Copy the full SHA f6be11cView commit details
Commits on Aug 4, 2023
-
Update R-CMD-check.yaml (#781)
Co-authored-by: Jennit07 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bb3dbd5 - Browse repository at this point
Copy the full SHA bb3dbd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8aba847 - Browse repository at this point
Copy the full SHA 8aba847View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99ab85f - Browse repository at this point
Copy the full SHA 99ab85fView commit details
Commits on Aug 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 598d6ad - Browse repository at this point
Copy the full SHA 598d6adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0339c4f - Browse repository at this point
Copy the full SHA 0339c4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8857e0a - Browse repository at this point
Copy the full SHA 8857e0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f207b25 - Browse repository at this point
Copy the full SHA f207b25View commit details -
Configuration menu - View commit details
-
Copy full SHA for f949576 - Browse repository at this point
Copy the full SHA f949576View commit details -
Use
""
inselect
instead of.data$,,,
Also, use `dplyr::last_col()` to more generically specify the range.
Configuration menu - View commit details
-
Copy full SHA for 4e7b1c5 - Browse repository at this point
Copy the full SHA 4e7b1c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7243db - Browse repository at this point
Copy the full SHA a7243dbView commit details
Commits on Aug 9, 2023
-
added solve for hscp names (#789)
In processed extract variable is called hscp, and in final SLF it's called hscp2018. Fixed with nested if statement Co-authored-by: marjom02 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 04399a4 - Browse repository at this point
Copy the full SHA 04399a4View commit details
Commits on Aug 14, 2023
-
Tiny error and a simple fix. Co-authored-by: Jennit07 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3820c19 - Browse repository at this point
Copy the full SHA 3820c19View commit details -
Configuration menu - View commit details
-
Copy full SHA for f15039c - Browse repository at this point
Copy the full SHA f15039cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ea15c0 - Browse repository at this point
Copy the full SHA 8ea15c0View commit details -
Fix CHI duplicates of chi in individual file (#791)
* fix duplicated matches in chi in sc data. * Update R/create_individual_file.R * update on join_sc_client * Create a test checking if individual files have duplicated chi * add duplicated chi number to the tests in process_tests_individual_file --------- Co-authored-by: lizihao-anu <[email protected]> Co-authored-by: James McMahon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 80799a2 - Browse repository at this point
Copy the full SHA 80799a2View commit details -
Update NSU code for new 22/23 cohort (#784)
Update `check_year_valid` for NSUs
Configuration menu - View commit details
-
Copy full SHA for 19779e3 - Browse repository at this point
Copy the full SHA 19779e3View commit details -
Amend
get_boxi_extract_path
function for archiving DN and CMH data (#……785) * Update `get_boxi_extract_path` for DN/CMH data * Remove extra function * [check-spelling] Update metadata Update for https://github.com/Public-Health-Scotland/source-linkage-files/actions/runs/5856792420/attempts/1 Accepted in #785 (comment) Signed-off-by: check-spelling-bot <[email protected]> --------- Signed-off-by: check-spelling-bot <[email protected]> Co-authored-by: Jennit07 <[email protected]> Co-authored-by: James McMahon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7e3215d - Browse repository at this point
Copy the full SHA 7e3215dView commit details -
Fix increase in total preventable beddays (#779)
* further obsolete code change * fix the preventable_beddays Co-authored-by: James McMahon <[email protected]> --------- Co-authored-by: James McMahon <[email protected]> Co-authored-by: Jennit07 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 612e069 - Browse repository at this point
Copy the full SHA 612e069View commit details -
Configuration menu - View commit details
-
Copy full SHA for 184ef65 - Browse repository at this point
Copy the full SHA 184ef65View commit details -
Use
get_source_extract_path
in homelessness (#796)This was already set up, just not used for some reason. Note that this will switch from using a `.rds` to `.parquet` (unless you do `get_source_extract_path(year, "Homelessness", ext = "rds")`). Co-authored-by: Jennit07 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 06c9944 - Browse repository at this point
Copy the full SHA 06c9944View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a0007a - Browse repository at this point
Copy the full SHA 9a0007aView commit details
Commits on Aug 15, 2023
-
* fix warning on `:=` * Update R/aggregate_by_chi.R Co-authored-by: James McMahon <[email protected]> * Style code --------- Co-authored-by: James McMahon <[email protected]> Co-authored-by: lizihao-anu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 51a0b05 - Browse repository at this point
Copy the full SHA 51a0b05View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc256e7 - Browse repository at this point
Copy the full SHA fc256e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f25195 - Browse repository at this point
Copy the full SHA 0f25195View commit details -
Use
get_source_extract_path
in homelessness (#796)This was already set up, just not used for some reason. Note that this will switch from using a `.rds` to `.parquet` (unless you do `get_source_extract_path(year, "Homelessness", ext = "rds")`). Co-authored-by: Jennit07 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c4a54f8 - Browse repository at this point
Copy the full SHA c4a54f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e36c97c - Browse repository at this point
Copy the full SHA e36c97cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a724206 - Browse repository at this point
Copy the full SHA a724206View commit details -
Update news for September 23 update (#811)
* Update News for March and June updates * Update release date * WIP - update news for Sep update * Update NEWS.md Fix some typos / grammar --------- Co-authored-by: James McMahon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9e2ce2d - Browse repository at this point
Copy the full SHA 9e2ce2dView commit details
Commits on Aug 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 399a1f0 - Browse repository at this point
Copy the full SHA 399a1f0View commit details -
Fix issue with
case_match
types (#810)* Fix issue with `case_match` types It seems that `case_match()` is stricter about types than `case_when()`. See the below code: ```r library(dplyr) # Breaks mutate(starwars, new_height = case_when( height == "172" ~ "170"), new_height2 = case_match( height, "172" ~ "170" ), .after = "height" ) # Works mutate(starwars, new_height = case_when( height == "172" ~ "170"), new_height2 = case_match( height, 172L ~ "170" ), .after = "height" ) ``` Since `sending_location` is an integer, the LHS of `case_match` must be numeric. It was slightly incorrect previously but `case_when` let us get away with it! I also updated and added to the tests. * Style code * Style code --------- Co-authored-by: Moohan <[email protected]> Co-authored-by: Jennit07 <[email protected]> Co-authored-by: Jennit07 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 311f1c2 - Browse repository at this point
Copy the full SHA 311f1c2View commit details -
Bug - Outpatients tests failing due to missing HSCP (#816)
* Update `produce_source_extract_tests` * Update outpatients tests with hscp_var = FALSE * Revert "Style code" This reverts commit 8e73d4a. * Style code * simplify code * Update documentation * Rename `hscp_var` to `add_hscp_count` * Update documentation --------- Co-authored-by: Jennit07 <[email protected]> Co-authored-by: James McMahon <[email protected]> Co-authored-by: Moohan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1d9e6e9 - Browse repository at this point
Copy the full SHA 1d9e6e9View commit details -
fix read_sc_all_alarms_telecare with incorrect format in period (#814)
* fix read_sc_all_alarms_telecare with the incorrect format in period --------- Co-authored-by: lizihao-anu <[email protected]> Co-authored-by: James McMahon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 516545c - Browse repository at this point
Copy the full SHA 516545cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c609ccf - Browse repository at this point
Copy the full SHA c609ccfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62a4174 - Browse repository at this point
Copy the full SHA 62a4174View commit details -
Configuration menu - View commit details
-
Copy full SHA for d310dfd - Browse repository at this point
Copy the full SHA d310dfdView commit details -
Update news for September 23 update (#811)
* Update News for March and June updates * Update release date * WIP - update news for Sep update * Update NEWS.md Fix some typos / grammar --------- Co-authored-by: James McMahon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 51c4a63 - Browse repository at this point
Copy the full SHA 51c4a63View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee3943f - Browse repository at this point
Copy the full SHA ee3943fView commit details -
Fix issue with
case_match
types (#810)* Fix issue with `case_match` types It seems that `case_match()` is stricter about types than `case_when()`. See the below code: ```r library(dplyr) # Breaks mutate(starwars, new_height = case_when( height == "172" ~ "170"), new_height2 = case_match( height, "172" ~ "170" ), .after = "height" ) # Works mutate(starwars, new_height = case_when( height == "172" ~ "170"), new_height2 = case_match( height, 172L ~ "170" ), .after = "height" ) ``` Since `sending_location` is an integer, the LHS of `case_match` must be numeric. It was slightly incorrect previously but `case_when` let us get away with it! I also updated and added to the tests. * Style code * Style code --------- Co-authored-by: Moohan <[email protected]> Co-authored-by: Jennit07 <[email protected]> Co-authored-by: Jennit07 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 61283cc - Browse repository at this point
Copy the full SHA 61283ccView commit details -
Bug - Outpatients tests failing due to missing HSCP (#816)
* Update `produce_source_extract_tests` * Update outpatients tests with hscp_var = FALSE * Revert "Style code" This reverts commit 8e73d4a. * Style code * simplify code * Update documentation * Rename `hscp_var` to `add_hscp_count` * Update documentation --------- Co-authored-by: Jennit07 <[email protected]> Co-authored-by: James McMahon <[email protected]> Co-authored-by: Moohan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c88562c - Browse repository at this point
Copy the full SHA c88562cView commit details -
fix read_sc_all_alarms_telecare with incorrect format in period (#814)
* fix read_sc_all_alarms_telecare with the incorrect format in period --------- Co-authored-by: lizihao-anu <[email protected]> Co-authored-by: James McMahon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e06921 - Browse repository at this point
Copy the full SHA 1e06921View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c6853c - Browse repository at this point
Copy the full SHA 2c6853cView commit details -
Co-authored-by: James McMahon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e879f7d - Browse repository at this point
Copy the full SHA e879f7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f1d259 - Browse repository at this point
Copy the full SHA 7f1d259View commit details -
* fix warning on `:=` * Update R/aggregate_by_chi.R Co-authored-by: James McMahon <[email protected]> * Style code --------- Co-authored-by: James McMahon <[email protected]> Co-authored-by: lizihao-anu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f6a1eac - Browse repository at this point
Copy the full SHA f6a1eacView commit details -
Add new function for counting records by sending location (#782)
* New function `create_sending_location_test_flags`
Configuration menu - View commit details
-
Copy full SHA for 32c10e5 - Browse repository at this point
Copy the full SHA 32c10e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f25ae9 - Browse repository at this point
Copy the full SHA 2f25ae9View commit details
Commits on Aug 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4fcf101 - Browse repository at this point
Copy the full SHA 4fcf101View commit details -
Configuration menu - View commit details
-
Copy full SHA for f103e7a - Browse repository at this point
Copy the full SHA f103e7aView commit details
Commits on Aug 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for acccac3 - Browse repository at this point
Copy the full SHA acccac3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 008b385 - Browse repository at this point
Copy the full SHA 008b385View commit details
Commits on Aug 22, 2023
-
add homelessness flags to the episode file. (#815)
* still sorting out conflicts * Update documentation * Style code * # Working code for homelessness flags - removes applications that have a missing end date in line with the homelessness work - `group_by` and `summarise(max)` to deal with people that have more than one application to prevent case duplication * Update documentation * Update R/process_lookup_homelessness.R Co-authored-by: James McMahon <[email protected]> * Update R/process_lookup_homelessness.R Co-authored-by: James McMahon <[email protected]> * Update R/process_lookup_homelessness.R Co-authored-by: James McMahon <[email protected]> * Update R/process_lookup_homelessness.R Co-authored-by: James McMahon <[email protected]> * Update documentation * Update R/process_lookup_homelessness.R Co-authored-by: James McMahon <[email protected]> * Update R/process_lookup_homelessness.R Co-authored-by: James McMahon <[email protected]> * Update documentation * Style code * Update R/process_lookup_homelessness.R Co-authored-by: James McMahon <[email protected]> * Update R/process_lookup_homelessness.R Co-authored-by: James McMahon <[email protected]> * Style code * Update documentation * Update R/process_lookup_homelessness.R Co-authored-by: James McMahon <[email protected]> * Update R/process_lookup_homelessness.R Co-authored-by: James McMahon <[email protected]> * Update R/process_lookup_homelessness.R Co-authored-by: James McMahon <[email protected]> * Update documentation * Style code * made James' suggested changes and generally tidied up with lintR. Replaced `anon_chi` with `chi` * Style code * Update documentation * # Added homelessness flags to episode and individual files, and targets. finishing off code to add flags to files * Style code * Update documentation * Update R/process_lookup_homelessness.R Co-authored-by: James McMahon <[email protected]> * Update R/process_lookup_homelessness.R Co-authored-by: James McMahon <[email protected]> * Update documentation * Style code * Update R/process_lookup_homelessness.R Co-authored-by: James McMahon <[email protected]> * Style code * Update documentation * # Updated documentation added homelessness params to the episode and individual file --------- Co-authored-by: marjom02 <[email protected]> Co-authored-by: SwiftySalmon <[email protected]> Co-authored-by: James McMahon <[email protected]> Co-authored-by: Jennit07 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b1a9a7b - Browse repository at this point
Copy the full SHA b1a9a7bView commit details
Commits on Aug 23, 2023
-
* New functions to determine Scottish residents and add HRI variables * Test to check that non-Scottish residents are flagged correctly * Style code * use `.default =` instead of `TRUE ~` * Make doubles specific * Update documentation * Pass the `slf_postcode_lookup` as data instead of the path * Update documentation * Use Logical `TRUE` * Remove parameter `chi_variable` * rename `keep_flag` to `scottish_resident` --------- Co-authored-by: shintoLamp <[email protected]> Co-authored-by: James McMahon <[email protected]> Co-authored-by: Moohan <[email protected]> Co-authored-by: Jennit07 <[email protected]> Co-authored-by: Jennit07 <[email protected]> Co-authored-by: Jennifer Thom <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e17c21e - Browse repository at this point
Copy the full SHA e17c21eView commit details
Commits on Aug 29, 2023
-
Remove future from the cohorts code (#821)
Co-authored-by: Jennit07 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 63ccf01 - Browse repository at this point
Copy the full SHA 63ccf01View commit details
Commits on Sep 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1bf2bb7 - Browse repository at this point
Copy the full SHA 1bf2bb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff4d35f - Browse repository at this point
Copy the full SHA ff4d35fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 400822e - Browse repository at this point
Copy the full SHA 400822eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea6eaf1 - Browse repository at this point
Copy the full SHA ea6eaf1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b73bae - Browse repository at this point
Copy the full SHA 6b73baeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5028d82 - Browse repository at this point
Copy the full SHA 5028d82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 550c94d - Browse repository at this point
Copy the full SHA 550c94dView commit details -
BUG - Fix for the episode file tests (#823)
The episode file tests were taking far too long to process the tests due to `slfhelper::get_chi()`. I have changed the tests to check for `anon_chi` instead of `chi`. This will show how many unique `anon_chi` we have and how many missing. The only difference from the `chi` checks before is that we cant test for `valid chi` using `phs_methods::`. I have tested this against 1718 and it is able to produce the tests. Once this has merged back in we will be able to run targets again as due to tests failing this was unable to create the individual file.
Configuration menu - View commit details
-
Copy full SHA for bf5f9b0 - Browse repository at this point
Copy the full SHA bf5f9b0View commit details
Commits on Sep 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 628da4d - Browse repository at this point
Copy the full SHA 628da4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d719b9b - Browse repository at this point
Copy the full SHA d719b9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c465b5 - Browse repository at this point
Copy the full SHA 2c465b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68f6f4d - Browse repository at this point
Copy the full SHA 68f6f4dView commit details -
Revert "BUG - Fix for the episode file tests (#823)"
This reverts commit bf5f9b0.
Configuration menu - View commit details
-
Copy full SHA for 9d1e902 - Browse repository at this point
Copy the full SHA 9d1e902View commit details -
Revert "Remove rename of hscp - causes mismatched tests"
This reverts commit 628da4d.
Configuration menu - View commit details
-
Copy full SHA for 74d2212 - Browse repository at this point
Copy the full SHA 74d2212View commit details
Commits on Sep 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9b18bd4 - Browse repository at this point
Copy the full SHA 9b18bd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb16605 - Browse repository at this point
Copy the full SHA cb16605View commit details -
Update create_individual_file.R (#824)
* Update create_individual_file.R * Update documentation * Style code --------- Co-authored-by: lizihao-anu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fbb00e1 - Browse repository at this point
Copy the full SHA fbb00e1View commit details
Commits on Sep 7, 2023
-
* Update create_individual_file.R * Update add_hri_variables.R * Update documentation * Style code * move chi variable after `data` * move `add_hri_variables` up list and add pipe * Update documentation --------- Co-authored-by: lizihao-anu <[email protected]> Co-authored-by: Jennifer Thom <[email protected]> Co-authored-by: Jennit07 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 883605d - Browse repository at this point
Copy the full SHA 883605dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cea985c - Browse repository at this point
Copy the full SHA cea985cView commit details
Commits on Sep 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d950ce5 - Browse repository at this point
Copy the full SHA d950ce5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17fe86e - Browse repository at this point
Copy the full SHA 17fe86eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec1e99a - Browse repository at this point
Copy the full SHA ec1e99aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71d403c - Browse repository at this point
Copy the full SHA 71d403cView commit details -
specify
chi_variable
in hri select listThis was causing an error
Configuration menu - View commit details
-
Copy full SHA for 6e817b6 - Browse repository at this point
Copy the full SHA 6e817b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8250d60 - Browse repository at this point
Copy the full SHA 8250d60View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9b30e5 - Browse repository at this point
Copy the full SHA e9b30e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab5bc37 - Browse repository at this point
Copy the full SHA ab5bc37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ba7149 - Browse repository at this point
Copy the full SHA 0ba7149View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53af730 - Browse repository at this point
Copy the full SHA 53af730View commit details -
Configuration menu - View commit details
-
Copy full SHA for 562869a - Browse repository at this point
Copy the full SHA 562869aView commit details -
Revert "Include hl1 variables in aggregate"
This reverts commit 562869a.
Configuration menu - View commit details
-
Copy full SHA for 6089cb6 - Browse repository at this point
Copy the full SHA 6089cb6View commit details
Commits on Sep 18, 2023
-
* test commit push * Revert "test commit push" This reverts commit ff51536. * combine aggregate_by_chi with sc and without sc * Style code * Update documentation --------- Co-authored-by: lizihao-anu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d304633 - Browse repository at this point
Copy the full SHA d304633View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4a3a44 - Browse repository at this point
Copy the full SHA b4a3a44View commit details
Commits on Sep 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a47cbb8 - Browse repository at this point
Copy the full SHA a47cbb8View commit details
Commits on Sep 20, 2023
-
BUG - Fix episode file tests (#830)
* add anon chi parameter in `get_existing_data..` * remove `slfhelper::get_chi()` * Use `anon_chi` parameter * declare `anon_chi` tests * Update documentation * update documentation * Style code * remove hscp count for now * Update documentation --------- Co-authored-by: Jennit07 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 15dde68 - Browse repository at this point
Copy the full SHA 15dde68View commit details
Commits on Sep 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 633d430 - Browse repository at this point
Copy the full SHA 633d430View commit details -
Add tests for
compute_mid_year_age
(#809)* Add tests for `compute_mid_year_age` * Remove redundant code * Update documentation --------- Co-authored-by: Jennit07 <[email protected]> Co-authored-by: Jennit07 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 53ede24 - Browse repository at this point
Copy the full SHA 53ede24View commit details -
Add a new function to set up keyring (#800)
* Add a new function to set up keyring I've tested this by deleting my `.Renviron` and deleting my keyring `keyring::keyring_delete("createslf")` and it seems to work. Would be great to have someone with an existing set-up (Jen) test it, and to have someone who doesn't have it set up to test it. The code looks complicated but I've just tried to catch every scenario, so the process should be smooth and clear (from the user's point of view). I've also expanded the code relating to the username, which will now hopefully work in more cases. * [check-spelling] Update metadata Update for https://github.com/Public-Health-Scotland/source-linkage-files/actions/runs/5824423711/attempts/1 Accepted in #800 (comment) Signed-off-by: check-spelling-bot <[email protected]> * Update documentation --------- Signed-off-by: check-spelling-bot <[email protected]> Co-authored-by: Jennit07 <[email protected]> Co-authored-by: Jennit07 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 04c2685 - Browse repository at this point
Copy the full SHA 04c2685View commit details -
Add additional tests for
get_file_path
(#808)* Add additional tests for `get_file_path` * Style code --------- Co-authored-by: Moohan <[email protected]> Co-authored-by: Jennit07 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9652c69 - Browse repository at this point
Copy the full SHA 9652c69View commit details -
Rename
run_episode_file()
->create_episode_file()
(#803)* Rename `run_episode_file()` -> `create_episode_file()` This improves consistency! When speaking to Megan we noted that having the two 'main' functions with different names was needlessly confusing! * Delete run_targets_tests.R * Update documentation --------- Co-authored-by: Jennit07 <[email protected]> Co-authored-by: Jennit07 <[email protected]> Co-authored-by: Megan McNicol <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bc2e4b3 - Browse repository at this point
Copy the full SHA bc2e4b3View commit details -
Remove incorrect references to rds (#798)
* Remove incorrect references to rds Since we (mostly) don't use rds anymore these references are incorrect and potentially confusing. I've updated lots of documentation to remove the reference to rds. I've also updated many comments that mentioned rds (these were probably the most confusing). * Update documentation --------- Co-authored-by: Jennit07 <[email protected]> Co-authored-by: Megan McNicol <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 854868e - Browse repository at this point
Copy the full SHA 854868eView commit details -
Make targets and tarchetypes required packages (#799)
Co-authored-by: Megan McNicol <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ad98c3c - Browse repository at this point
Copy the full SHA ad98c3cView commit details
Commits on Sep 26, 2023
-
Update episode file functions to pass data through (#754)
* Update `read_file` to return an empty tibble if passed the dummy path This is needed for some other bits, notably NSUs * Update SPARRA and HHG paths to return dummy if the year is invalid * Extract all data as a parameter * Style code * Update documentation * Style code * Update documentation * rename `run` to `create_episode_file` * Update documentation --------- Co-authored-by: Moohan <[email protected]> Co-authored-by: Jennifer Thom <[email protected]> Co-authored-by: Jennit07 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a5bc79e - Browse repository at this point
Copy the full SHA a5bc79eView commit details -
* Add additional tests for `check_it_reference()` * Make the check on the IT reference stricter * Update documentation --------- Co-authored-by: Jennit07 <[email protected]> Co-authored-by: Jennit07 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b7ce1b1 - Browse repository at this point
Copy the full SHA b7ce1b1View commit details -
Update workflow to run against the development branch (#795)
* Make test-coverage.yaml run against development * Make lint-changed-files.yaml run against development --------- Co-authored-by: Jennit07 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2f6f25c - Browse repository at this point
Copy the full SHA 2f6f25cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6148a0 - Browse repository at this point
Copy the full SHA e6148a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 381c74d - Browse repository at this point
Copy the full SHA 381c74dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85416a9 - Browse repository at this point
Copy the full SHA 85416a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6195c78 - Browse repository at this point
Copy the full SHA 6195c78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2982878 - Browse repository at this point
Copy the full SHA 2982878View commit details -
Configuration menu - View commit details
-
Copy full SHA for 978c3f9 - Browse repository at this point
Copy the full SHA 978c3f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3292329 - Browse repository at this point
Copy the full SHA 3292329View commit details -
Configuration menu - View commit details
-
Copy full SHA for 798a169 - Browse repository at this point
Copy the full SHA 798a169View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce8f84a - Browse repository at this point
Copy the full SHA ce8f84aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0e1888 - Browse repository at this point
Copy the full SHA e0e1888View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54f6958 - Browse repository at this point
Copy the full SHA 54f6958View commit details -
Configuration menu - View commit details
-
Copy full SHA for c547386 - Browse repository at this point
Copy the full SHA c547386View commit details -
Configuration menu - View commit details
-
Copy full SHA for 648a4da - Browse repository at this point
Copy the full SHA 648a4daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2604303 - Browse repository at this point
Copy the full SHA 2604303View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55a5c0e - Browse repository at this point
Copy the full SHA 55a5c0eView commit details
Commits on Sep 27, 2023
-
Add social care client tests (#783)
Addresses #672 I've updated the code for social care client lookup. This used to live in each year folder, however i have changed this so that the lookups live next to the demographic lookup in `/hscdiip/social_care` and supply the update month. This is so that we can have a comparison of the sc client lookup data at the current quarter vs the previous update.
Configuration menu - View commit details
-
Copy full SHA for 9635e0c - Browse repository at this point
Copy the full SHA 9635e0cView commit details
Commits on Sep 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b11c89e - Browse repository at this point
Copy the full SHA b11c89eView commit details