adm_dataframe_to_db: Write dataframe to SQL Server database

Description Usage Arguments Value Examples

View source: R/adm_dataframe_to_db.R

Description

adm_dataframe_to_db writes a dataframe to a SQL Server database.

Usage

1
2
3
4
5
6
7
8
adm_dataframe_to_db(
  database,
  server,
  database_table_name,
  dataframe,
  overwrite = FALSE,
  append = FALSE
)

Arguments

database

string. The name of the database to write the sheet to.

server

string. The name of the server containing the database.

database_table_name

string. The name of the table to uplaod to in the database.

dataframe

string. The dataframe to upload.

overwrite

string. Default: false. Whether to overwrite existing table with worksheet with the same name.

append

string. Default: false. Whether to append worksheet to existing table with the same name.

Value

null

Examples

1
2
3
4
## Not run: 
adm_dataframe_to_db(database = "DatabaseName", server = "ServerName", database_table_name = "example_database_table", dataframe = example_dataframe)

## End(Not run)

thomascrines/admStructuredData documentation built on March 5, 2020, 3:20 a.m.