tribble_format {datapasta}R Documentation

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.


[Package datapasta version 3.1.0 Index]