View source: R/SQL_Functions.R
PostGRE_CreateTable | R Documentation |
PostGRE_CreateTable get data from a database table
PostGRE_CreateTable(
data = NULL,
DBName = NULL,
Schema = NULL,
TableName = NULL,
Connection = NULL,
CloseConnection = FALSE,
Temporary = FALSE,
Host = NULL,
User = NULL,
Port = NULL,
Password = NULL
)
data |
Source data.table. If you supply a Schema, data will be ignored. |
DBName |
If Connection is NULL then this must be supplied. database name |
Schema |
Optional. Advised to use if type inference is fuzzy |
TableName |
Name of table you want created |
Connection |
NULL. If supplied, use this: Connection <- DBI::dbConnect(RPostgres::Postgres(), host = Host, dbname = DBName, user = User, port = Port, password = Password) |
CloseConnection |
= FALSE |
Temporary |
If Connection is NULL then this must be supplied. FALSE |
Host |
If Connection is NULL then this must be supplied. host name |
User |
If Connection is NULL then this must be supplied. user name |
Port |
If Connection is NULL then this must be supplied. port name |
Password |
user password |
Adrian Antico
Other Database:
AutoDataDictionaries()
,
PostGRE_AppendData()
,
PostGRE_GetTableNames()
,
PostGRE_ListTables()
,
PostGRE_Query()
,
PostGRE_RemoveCreateAppend()
,
PostGRE_RemoveTable()
,
PosteGRE_CreateDatabase()
,
PosteGRE_DropDB()
,
PosteGRE_ListDatabases()
,
SQL_ClearTable()
,
SQL_DropTable()
,
SQL_Query_Push()
,
SQL_Query()
,
SQL_SaveTable()
,
SQL_Server_DBConnection()
## Not run:
AutoQuant::PostGRE_CreateTable(
data,
DBName = 'Testing',
Schema = NULL,
TableName = NULL,
Temporary = FALSE,
Connection = NULL,
CloseConnection = FALSE,
Host = 'localhost',
User = 'postgres',
Port = 5432,
Password = 'Aa...')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.