extract_and_load: Extract from a given DB and load into another DB

Description Usage Arguments

Description

Extract from a given DB and load into another DB

Usage

1
2
extract_and_load(conn1, conn2, from, to = Sys.Date() - 1, progress = TRUE,
  append = TRUE, forbid_duplicate = TRUE)

Arguments

conn1

a connection to the first database.

conn2

a connection to the second database.

from

the date from which to extract data

to

the date to which to extract data

progress

whether a progress bar should be shown.

append

if TRUE, new data is appended to previous data. If FALSE, new data overwrites previous data.

forbid_duplicate

if TRUE (default), data won't be written when the target database already has data for a given date.


joelgombin/detectR documentation built on May 21, 2019, 7:55 a.m.