BYOC_ID: 40072 refactor-acute#1283
Conversation
|
Dependency missing: Acute CUP file |
| # Apply new costs for C3 specialty, these are taken from the 2017/18 file | ||
| fix_c3_costs(year) %>% | ||
| # initialise monthly cost/beddays variables in a separate data frame for matching | ||
| convert_monthly_rows_to_vars(.data$costmonthnum, .data$cost_total_net, .data$yearstay) %>% |
There was a problem hiding this comment.
I'm getting the following error on this line:
Error in `dplyr::mutate()`:
ℹ In argument: `month_name = month_order[.data$costmonthnum]`.
Caused by error:
! `month_name` must be size 100 or 1, not 0.
Run `rlang::last_trace()` to see where the error occurred.
Called from: signal_abort(cnd, .file)
We think this is due to costmonthnum being an integer64 variable but UAT tests show this should be numeric. This has been flagged and should be updated in the next round of UAT feedback
There was a problem hiding this comment.
I think it happened in refactoring some dataset before. I will have a look at get back to suggest changes to make it consistent.
|
I have reviewed this PR and it looks good! there is an error i am getting which i have commented above. This should be corrected in the next round of UAT feedback. Waiting on:
This will be ready for BYOC testing once the two issues are addressed. |
Co-authored-by: Jennifer Thom <67372904+Jennit07@users.noreply.github.com>
|
acute cup file has now been made available but some UAT to-dos before this PR is ready for testing: IN THE ACUTE FILE:
IN THE ACUTE CUP FILE:
|
No description provided.