insert_chunkwise_into: insert data in chunks into a database

View source: R/insert_chunk_into.R

insert_chunkwise_intoR Documentation

insert data in chunks into a database

Description

insert_chunkwise_into can be used to insert chunks of data into a database. Typically chunked can be used to for preprocessing data before adding it to a database.

Usage

insert_chunkwise_into(x, dest, table, temporary = FALSE, analyze = FALSE)

Arguments

x

tbl_chunk object

dest

database destination, e.g. src_dbi()

table

name of table

temporary

Should the table be removed when the database connection is closed?

analyze

Should the table be analyzed after import?

Value

a tbl object pointing to the table in database dest.


chunked documentation built on March 18, 2022, 6:04 p.m.