read_tabde: Read a table defintion file

Description Usage Arguments Value

Description

tabde recommends that you store table designs as semicolon (;) separated csv files with header and without rownames. read_tabde() reads such files and assigns the correct table_design subclasses based on the columns that are present in file (f.e. table_design_sql, table_design_fwf).

Usage

1
2
3
4
5
6
7

Arguments

file

character scalar. File that contains a table design

x

a table_design Object

overwrite

scalar character. Overwrite file if it exists?

Value

read_tabde() and friends return a table_design data.frame

write_tabde() and use_tabde() return file (invisibly). This is useful for piping the saved file, for example into shed (Shiny CSV Editor).


s-fleck/tabde documentation built on May 4, 2019, 1:23 p.m.