tribble_construct: tribble_construct

View source: R/tribble_paste.R

tribble_constructR Documentation

tribble_construct

Description

Parse the current clipboard as a table, or use the table argument supplied, and return as a character string.

Usage

tribble_construct(input_table, oc = console_context())

Arguments

input_table

an optional input 'data.frame'. If 'input_table' is supplied, then nothing is read from the clipboard.

oc

an optional output context that defines the target and indentation. Default is console. Table is output as 'tribble()' call. Useful for creating reproducible examples.

Value

The parsed table text.


MilesMcBain/datapasta documentation built on May 5, 2022, 8:56 a.m.