View source: R/dataImporterClass.R
Import a single csv file to the netezza database. CSV columns must be as with following format "VALUE","DGGID","TID","KEY"
1 2 3 4 5 6 7 8 | nz_import_file_to_db(
DSN,
file_path,
table_name,
value_type = "varchar(100)",
createTable = T,
max_errors = 2
)
|
DSN |
object extracted from nz_init function |
file_path |
the csv file path with following format "VALUE","DGGID","TID","KEY" |
value_type |
The type of Value possible options float, varchar, integer, bigint |
createTable |
Either make a new table and drop table if exists or append data to the existing table |
max_errors |
The maximumn number of rows in the csv which can include error in their values |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.