Skip to contents

To prepare the LPR3 data for the inclusion process, this function also renames the cpr variable to pnr to match the other registers.

Usage

join_lpr3(kontakter, diagnoser)

Arguments

kontakter

The contacts register.

diagnoser

The diagnosis register.

Value

The same class as the input, defaults to a tibble::tibble().

Examples

if (FALSE) { # \dontrun{
kontakter <- simulate_registers("kontakter", 100)[[1]]
diagnoser <- simulate_registers("diagnoser", 100)[[1]]
join_lpr3(
  kontakter = kontakter,
  diagnoser = diagnoser
)
} # }