as.ida.data.frame {ibmdbR} | R Documentation |
Convert an R object to an IDA data frame
Description
This function creates an IDA data frame ida.data.frame
from a local R data.frame
by creating a table in the database.
Usage
as.ida.data.frame(x, table=NULL, clear.existing=FALSE, case.sensitive=TRUE,
rownames=NULL, dbname=NULL, asAOT=FALSE)
Arguments
x |
The name of the input object that is to be converted to a IDA data frame. |
table |
The name of the database table that is to be created to hold the contents of the IDA data frame. The specified name is folded to uppercase. If this parameter is not specified, a name is generated automatically. |
clear.existing |
If the |
case.sensitive |
If the |
rownames |
The name of the column for the unique row id. If the value of this parameter is NULL, this column is not added to the output table. |
dbname |
DB2 for z/OS only parameter: the name of the database where the table should be created in. |
asAOT |
DB2 for z/OS only parameter: the table should be created as an "accelerator only table". |
Value
A IDA data frame that points to the newly created table.
See Also
Examples
## Not run:
#Add an ID column to iris
iris2 <- iris
iris2$ID <- 1:150
#Upload it and overwrite if already exists
idf <- as.ida.data.frame(iris2,"IRIS",clear.existing=T)
## End(Not run)