dssSuggestPivot: Suggest a formula for widening a dataframe

Description Usage Arguments

View source: R/dssPivot.R

Description

Makes a crude attempt at guessing an appropriate widening formula to feed into dssPivot. The method is pretty basic, it should serve more as a starting point for further investigation

Usage

1
2
3
4
5
6
7
8
dssSuggestPivot(
  what,
  cols = NULL,
  by.col = NULL,
  async = TRUE,
  wait = TRUE,
  datasources = NULL
)

Arguments

what

a character name of the dataframe

cols

a vector of columns used in the formula. They must exist in 'what'. If null, all the columns from 'what' will be used.

by.col

typically the patient id, the column that will end up as key of the resulting 'wide' data.frame.

async

a logical, see datashield.aggregate

wait

a logical, see datashield.aggregate

datasources

a list of opal objects obtained after logging into the opal servers (see datashield.login)


IulianD/dsSwissKnifeClient documentation built on June 23, 2020, 4:38 p.m.