Learn R Programming

datapasta (version 3.1.0)

tribble_format: tribble_format

Description

Parse the current clipboard as a table, or use the table argument supplied, and paste to the clipboard in tribble format.

Usage

tribble_format(input_table, output_context = console_context())

Arguments

input_table

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

output_context

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

Nothing.