my.copy.fct {GetDFPData}R Documentation

Copies data to external file

Description

Copies data to external file

Usage

my.copy.fct(
  df.in,
  name.df,
  base.file.name,
  type.export = "xlsx",
  csv.dir = tempdir()
)

Arguments

df.in

Dataframe to be copied

name.df

Name of dataframe to be copied

base.file.name

The basename of excel file (make sure you dont include the file extension)

type.export

The extension of the desired format: 'xlsx' (default) or 'csv'

csv.dir

Location where to save csv files prior to zipping (default = tempdir())

Value

TRUE (invisible), if successfull

Examples


test.data <- data.frame(test.data = runif(100))
name.df <- 'TestData'
base.file.name <- 'TestData'
type.export <- 'csv'

my.copy.fct(df.in = test.data, name.df, base.file.name, type.export)

[Package GetDFPData version 1.6 Index]