dssAddDaysInterval: Add and interval column to a dataframe

View source: R/dssAddDaysInterval.R

dssAddDaysIntervalR Documentation

Add and interval column to a dataframe

Description

Add a column containing the difference between 2 date columns. The date columns must be in the same dataframe

Usage

dssAddDaysInterval(
  newobj,
  df,
  description.list,
  async = TRUE,
  datasources = NULL
)

Arguments

newobj

a character, name of the new dataframe

df

a character, name of the original dataframe

description.list

a named list containing the name of the new colunn pointing to a list containing the start date and end date. The format is list(<new column name> = list(start_date = '<existing date column>', end_date = '<existing date column>')) - see example.

async

same as in datashield.assign

datasources

same as in datashield.assign


sib-swiss/dsSwissKnifeClient documentation built on July 16, 2025, 6:25 p.m.