zeitpunkt2event: translate between different labels of the time points

View source: R/zeitpunkt2event.R

zeitpunkt2eventR Documentation

translate between different labels of the time points

Description

map between the column zp_fabianref and the columns EVENTref or zeitpunktref in event2zeitpunkt_table. These columns are different labels of the time points

Usage

zeitpunkt2event(
  zp_fabian,
  returnformat = c("EVENTref", "zeitpunktref"),
  event2zeitpunkt_df = progressdatenbankderivate::event2zeitpunkt_table
)

Arguments

zp_fabian

vector of characters. They must be present in event2zeitpunkt_table$zp_fabianref.

returnformat

a character string indicating whether EVENTref or zeitpunktref should be returned.

event2zeitpunkt_df

data.table event2zeitpunkt_table (available with the package).

Value

character vector of EVENTref or zeitpunktref

Examples

zeitpunkt2event(zp_fabian = c("auf", "d1", "d5.1"))

maciejrosolowski/progressdatenbankderivate documentation built on Nov. 29, 2024, 3:39 a.m.