event2zeitpunkt: translate between different labels of the time points

View source: R/event2zeitpunkt.R

event2zeitpunktR Documentation

translate between different labels of the time points

Description

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

Usage

event2zeitpunkt(
  EVENT,
  returnformat = c("zeitpunktref", "zp_fabianref"),
  event2zeitpunkt_df = progressdatenbankderivate::event2zeitpunkt_table
)

Arguments

EVENT

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

returnformat

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

event2zeitpunkt_df

data.table event2zeitpunkt_table (available with the package).

Value

a vector of labels of the type zeitpunktref or zp_fabianref

Examples

event2zeitpunkt(EVENT = c(1, 2, 31, 8))

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