Takes a table created by extract and adds bed movement data. Please be aware, this may duplicate rows, if for example a patient moves several beds in the same hour.

attach_locations(connection, ltb)

Arguments

connection

a EMAP database connection

ltb

a time series table produced from extract

Value

a time series table with location data appended