link_bundles: link_bundles

Description Usage Arguments Value

Description

link_bundles

Usage

1
2
3
4
5
6
link_bundles(bundles = clahrcnwlhf::bundle_data_clean,
  episodes = clahrcnwlhf::emergency_adms, show.working = TRUE,
  bundle_date_col = "Admission.Datetime", bundle_id_col = "PseudoID",
  episode_id_col = "PseudoID", episode_date_col = "CSPAdmissionTime",
  episode_date_disch_col = "CSPDischargeTime",
  episode_spell_col = "spell_number", episode_new_spell = "new_spell")

Arguments

bundles

the bundle data

episodes

the episode data

Value

dataframe with new column linked.spell containing spell_number of the spell associated with this bundle


HorridTom/clahrcnwlhf documentation built on May 7, 2019, 4:02 a.m.