ConvertToHANADataFrame {hana.ml.r}R Documentation

ConvertToHANADataFrame

Description

ConvertToHANADataFrame

Usage

ConvertToHANADataFrame(conn.context,
                       data,
                       table,
                       schema = NULL,
                       force = FALSE,
                       native = FALSE,
                       ...)

Arguments

conn.context

ConnectionContext
Contains a handle to a database connection.

data

R data.frame
The R data.frame.

table

character
The HANA table to store the data from R data.frame.

schema

character, optional
The database schema.
Defualts to the schema of conn.context.

force

logical, optional
- TRUE, the existing table will be replaced.
- FALSE, if the table with same name exists, error message pops up.
Defaults to FALSE.

native

logical, optional
- TRUE, use JDBC/ODBC methods to write the table.
- FALSE, insert the table row by row.
Defaults to FALSE.

Value

DataFrame
Dataframe including data from the R data.frame.


[Package hana.ml.r version 1.0.8 Index]