Learn R Programming

FIESTAutils (version 1.3.1)

write2_desc: Data Writing Functions

Description

These functions allow for data to be written to different formats. Currently, supported formats are "csv" and "sqlite".

Usage

write2csv(
  layer,
  lowernames = FALSE,
  outfile = NULL,
  outfolder = NULL,
  outfilenm = NULL,
  outfn.pre = NULL,
  outfn.date = FALSE,
  overwrite = FALSE,
  tabtitle = NULL,
  appendfile = FALSE,
  closefn = TRUE,
  outtxt = NULL,
  gui = FALSE
)

write2postgresql( layer, dbconn, out_name = NULL, lowernames = TRUE, schema = NULL, append_layer = FALSE, overwrite = FALSE, index.unique = NULL, index = NULL, index_type = "btree" )

write2sqlite( layer, SQLitefn = NULL, out_name = NULL, lowernames = FALSE, gpkg = FALSE, outfolder = NULL, overwrite = FALSE, append_layer = FALSE, createnew = FALSE, dbconn = NULL, dbconnopen = FALSE, index.unique = NULL, index = NULL )

Arguments

Value

No return value, writes data to either a "csv" or "sqlite" file.

Author

Tracey S. Frescino

Details

These functions allow for data to be written to different formats.