The aim of this R code is to be transparant and document the data management to create SwedeHFdatabase 5 (SHFDB5).
English.
The data consists of Swedish individual patient data and is not public, and therefore no data is stored in this repository.
Since the data is not available the code can not be run as is.