get_table_csv {when}R Documentation

Store the table in a csv files

Description

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 class '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.

Details

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

Value

A string, name of a file.

See Also

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

Examples


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


[Package when version 1.0.0 Index]