ExportDataTables: A function used to export .rda files distributed with ShedsHT...

Description Usage Arguments Value

View source: R/ExportDataTables.R

Description

This is a utility function used to export consumer product data sets into CSV format.

Usage

1
2
ExportDataTables(data_set_name, output_pth, output_fname,
  quote_opt = TRUE, na_opt = "", row_names_opt = FALSE)

Arguments

data_set_name

A string type parameter, represents name of an ".rda" data set.

output_pth

A string type parameter, represents location to store exported CSV file.

output_fname

A string type parameter, represents name of the exported CSV file.

quote_opt

A string type parameter, represents a logical argument for if any character or factor columns should be surrounded by double quotes or not.

na_opt

A string type parameter, the string to use for missing values in the data.

row_names_opt

A string type parameter, either a logical value indicating whether the row names of x are to be written along with x, or a character vector of row names to be written.

Value

No variable will be returned. Instead, the function will save the data object into the file of choice.


HumanExposure/SHEDSDevel documentation built on Oct. 30, 2019, 6:49 p.m.