local_td: Construct a table description of a local data.frame.

Description Usage Arguments Value See Also Examples

View source: R/table_source.R

Description

Construct a table description of a local data.frame.

Usage

1
2
3
4
5
6
7
local_td(
  d,
  ...,
  name = NULL,
  name_source = wrapr::mk_tmp_name_source("rqltd"),
  env = parent.frame()
)

Arguments

d

data.frame or name of data.frame to use as a data source.

...

not used, force later arguments to be optional.

name

if not null name to user for table.

name_source

temporary name source.

env

environment to work in.

Value

a relop representation of the data

See Also

db_td, mk_td

Examples

1
2
3
4
5
6
d <- data.frame(x = 1)
local_td(d)
local_td("d")
local_td(as.name("d"))
local_td(data.frame(x = 1))
d %.>% local_td # needs wrapr 1.5.0 or newer to capture name

rquery documentation built on Feb. 18, 2020, 5:12 p.m.