append_to_sql: Callback function that appends new sections to the SQLite...

Description Usage Arguments

View source: R/csv_to_sql.R

Description

Callback function that appends new sections to the SQLite table.

Usage

1
2
3
4
5
6
7
append_to_sql(
  con,
  table_name,
  date_cols,
  datetime_cols,
  convert_dates2text = TRUE
)

Arguments

con

A valid connection to SQLite database.

table_name

Name of the table to store the data table in the sqlite database.

date_cols

Name of columns containing Date objects

datetime_cols

Name of columns containint POSIXt objects.

convert_dates2text

= TRUE Converting date fields to text (For sqlite db)

x

Data.frame we are reading from.


rOpenStats/COVID19AR documentation built on Feb. 3, 2022, 10:23 p.m.