DRDataRaft/ docs
GitHub ↗

dr_execute_transform()

Ordinary functions receive and return a data frame, tibble or lazy table. With multiple sources, the first transform receives a named list of tables. Extension methods may delegate to existing tools. They must return a data frame or tibble. No transformation class is required for R functions.

Usage

dr_execute_transform(transform, data, ...)

Arguments

transform
Function or adapter object.


data
Input data frame.


...
Adapter-specific options.

Value

A data frame or tibble.

Examples

dr_execute_transform(function(data) transform(data, doubled = amount * 2),
  data.frame(amount = 10))
Documentation source snapshot · View source at d9cb454 ↗
Code examples are documented source examples; they are not executed in this website build.

Search documentation

Search functions, packages and guides.