Skip to contents

Once all the configuration elements have been defined and the dimension table has been generated, using this function we can obtain it in csv format.

Usage

get_table_csv(td, dir, type)

# S3 method for when
get_table_csv(td, dir = NULL, type = 1)

Arguments

td

A when object.

dir

A string, name of a dir.

type

An integer, 1: uses "." for the decimal point and a comma for the separator; 2: uses a comma for the decimal point and a semicolon for the separator.

Value

A string, name of a file.

Details

If no dir name is given, stores the table in a temporary one.

See also

Other getting results: get_table_rdb(), get_table_xlsx(), get_table()

Examples


file <- when() |>
  generate_table() |>
  get_table_csv()