write_csv_if_not_exist: Writes csv to the OUTPUT directory with the option of having...

Description Usage Arguments

View source: R/write_csv_if_not_exists.R

Description

Writes csv to the OUTPUT directory with the option of having the activity logged and guardrails in case the chosen filename already exists

Usage

1
2
3
4
5
6
7
8
write_csv_if_not_exist(
  data,
  file,
  date_filename = FALSE,
  version = NULL,
  log = TRUE,
  log_comment = ""
)

Arguments

data

dataframe or list object

date_filename

if TRUE, appends filename with date and version number

log

if TRUE, logs output in the log

file_basename

basename of output file


patelm9/mirCat documentation built on April 24, 2020, 6:24 p.m.