exportData: Export feature data into a selection of formats

Description Usage Arguments

View source: R/util-export.R

Description

Runs the export function for a given data format on feature data

Usage

1
2
exportData(df, name, label = NA, format = "hdf5", checkId = TRUE,
  checkGeo = TRUE, ...)

Arguments

df

Data frame of feature data to export

name

Primary name of export, meaning file name or database table name

label

Optional data label for export formats. For example if not NA, this would be the name of the data table within an hdf5 file or a suffix to the csv file name, as in paste(name, label, sep='_')

format

One of the supported formats for data export, currently 'hdf5', 'csv', or 'database'

checkId

boolean control over whether to error out with a stop() if an id column is not present

checkGeo

boolean control over whether to warn if a geographic field, zip5 in this case, is not present.

...

Pass through parameters for specific export methods. For example, database export requires a conn object.


ConvergenceDA/visdom documentation built on May 6, 2019, 12:51 p.m.