You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to load an itm, it may be necessary to upgrade the ids, e.g., when loading prescriptions (hadm) in miiv with id_type='icustay'. This leads to an error if the target is a win_tbl
Problem
When trying to load an
itm
, it may be necessary to upgrade the ids, e.g., when loadingprescriptions
(hadm) inmiiv
withid_type='icustay'
. This leads to an error if the target is awin_tbl
This error originates in the following lines because
stoptime
is part ofmeta_vars(x)
ricu/R/data-utils.R
Lines 681 to 684 in 09902bd
but
stoptime
was removed previously inricu/R/data-load.R
Lines 440 to 442 in 09902bd
Expected behaviour
No error with the following result
Solution
Add a dedicated function
upgrade_id.win_tbl
.The text was updated successfully, but these errors were encountered: