bundle_in_spell: bundle_in_spell

Description Usage Arguments Value

Description

bundle_in_spell

Usage

1
2
3
4
5
bundle_in_spell(bundles, episodes = clahrcnwlhf::emergency_adms,
  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

dataframe of care bundle audit sheets

episodes

dataframe of hospital admissions from data warehouse

Value

copy of bundles with additional columns added giving information on adjacent admissions


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