transform_tables: Apply functions to a list of data.frames

Description Usage Arguments Value

View source: R/transform.R

Description

This function provides an interface for applying functions to a named list of data.frames.

Usage

1
transform_tables(tables, trans)

Arguments

tables

A named list of data.frames

trans

Can be either a single function that will be applied to each element of tables or a named list of functions. If the latter:

  • Names should correspond to the names of tables to indicate the tables the functions should be applied to

  • If you supply an unnamed function, this will be applied to each table that doesn't have a corresponding named function. You can think of this as a 'default' transformation.

Value

A list of data.frames


wurli/quickReport documentation built on Dec. 23, 2021, 6:13 p.m.