merge_data: Merge data

View source: R/merge_data.R

merge_dataR Documentation

Merge data

Description

Merges the different opportunities for improvement datasets into a single data.frame.

Usage

merge_data(datasets, test = FALSE)

Arguments

datasets

A list of data.frames. Has to include the datasets "swetrau", "fmp", "atgarder", "problem", and "kvalgranskning2014.2017". The dataset "swetrau" has to include the variables "DateTime_ArrivalAtHospital", "PersonIdentity", and "TempIdentity". The datasets "fmp" and "problem" have to include the variables "Ankomst_te", "Personnummer", and "Reservnummer".

test

Logical. If TRUE the function assumes that datasets are from the scrambled data. Defaults to FALSE.


martingerdin/rofi documentation built on Dec. 3, 2024, 12:10 a.m.