write_table: Write table to file

View source: R/tables.R

write_tableR Documentation

Write table to file

Description

Writes a table to a standard format.

Usage

write_table(x, file = "")

Arguments

x

Table.

file

Output file name. "" indicates output to the console.

See Also

Other Table functions: as_table, create_table, is_table, parse_table_type, parse_table, rbind_tables, remove_empty_dimensions

Examples

df <- data.frame(
  date = Sys.Date(),
  date_time = Sys.time(),
  string = "abc",
  integer = as.integer(123),
  number = 123.456,
  boolean = TRUE
)
write_table(df, "")

columbia-glacier/cgr documentation built on Jan. 17, 2024, 2:42 p.m.