read_tabde: Read a table definition file

Description Usage Arguments Value

View source: R/read_tabde.R

Description

tabde recommends that you store table designs as semicolon (;) separated csv files 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 April 4, 2021, 10:11 p.m.