dh.columnCast: Casts column classes of a table

View source: R/cast-cols.R

dh.columnCastR Documentation

Casts column classes of a table

Description

[Deprecated]

This function allowed you to change the class of variables within a data frame. It was depricated because you can now use dsTidyverseClient::ds.mutate() which is much quicker and has greater flexibility.

Usage

dh.columnCast(
  df = NULL,
  target_vars = NULL,
  target_class = NULL,
  conns = NULL,
  checks = TRUE
)

Arguments

df

Character specifying a server-side data frame.

target_vars

Character vector specifying which columns are to be casted to new classes.

target_class

Character vector specifying the objective classes of the selected columns.

conns

DataSHIELD connections object.

checks

Logical; if TRUE checks are performed prior to running the function. Default is TRUE.

Value

Tibble with a summary of the successful and failed casts


lifecycle-project/ds-cs-functions documentation built on Nov. 18, 2024, 3:36 p.m.