data_copy | R Documentation |
data_copy() is designed to copy data from one database to another. By default, it copies the OPS data from data-mgmt3 to data-mgmt. Can also save the table as .csv file
data_copy( my.dir = getwd(), conf.loc = NULL, conf.from = "datamgmt3", conf.to = "sandpit", query = NULL, saveDB = TRUE, output.table = "PERF_OPSData", overwrite = TRUE, append = FALSE, save.csv = FALSE, csv.file = "/data/inputs/OPS_data.csv" )
my.dir |
working directory |
query |
SQL query that gets the source data |
saveDB |
should the data be saved to a new database |
output.table |
name of the output table in a database |
overwrite |
should the existing table be overwritten |
append |
should the existing table be appended to |
save.csv |
should a csv file be saved |
csv.file |
name of the csv file |
server.from |
server name for the source data |
server.to |
server name to where data is copied to |
db.to |
database name to where data is copied to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.