imports_get_files_csv {civis} | R Documentation |
Get a CSV Import
Description
Get a CSV Import
Usage
imports_get_files_csv(id)
Arguments
id |
integer required. |
Value
A list containing the following elements:
id |
integer, The ID for the import. |
name |
string, The name of the import. |
source |
list, A list containing the following elements:
|
destination |
list, A list containing the following elements:
|
firstRowIsHeader |
boolean, A boolean value indicating whether or not the first row of the source file is a header row. |
columnDelimiter |
string, The column delimiter for the file. Valid arguments are "comma", "tab", and "pipe". Defaults to "comma". |
escaped |
boolean, A boolean value indicating whether or not the source file has quotes escaped with a backslash.Defaults to false. |
compression |
string, The type of compression of the source file. Valid arguments are "gzip" and "none". Defaults to "none". |
existingTableRows |
string, The behavior if a destination table with the requested name already exists. One of "fail", "truncate", "append", "drop", or "upsert".Defaults to "fail". |
maxErrors |
integer, The maximum number of rows with errors to ignore before failing. This option is not supported for Postgres databases. |
tableColumns |
array, An array containing the following fields:
|
loosenTypes |
boolean, If true, SQL types with precisions/lengths will have these values increased to accommodate data growth in future loads. Type loosening only occurs on table creation. Defaults to false. |
execution |
string, In upsert mode, controls the movement of data in upsert mode. If set to "delayed", the data will be moved after a brief delay. If set to "immediate", the data will be moved immediately. In non-upsert modes, controls the speed at which detailed column stats appear in the data catalogue. Defaults to "delayed", to accommodate concurrent upserts to the same table and speedier non-upsert imports. |
redshiftDestinationOptions |
list, A list containing the following elements:
|
hidden |
boolean, The hidden status of the item. |
myPermissionLevel |
string, Your permission level on the object. One of "read", "write", or "manage". |