csv_to_sqlite_list_: Converts directory of .csv files to an SQLite database

Description Usage Arguments

Description

Called by 'csv_to_sql', can also be used directly. If given a list of .csv files, will generate an SQLite database containing either all the files in a single table, or a table for each file.

Usage

1
2
csv_to_sqlite_list_(files, dir = NULL, db_name = "db",
  single_table = FALSE, table_name = "exp")

Arguments

files

list of files

dir

Directory to save database in, otherwise will save in the current working directory.

db_name

Name given to the database.

single_table

Whether to place all .csv files in a single table, otherwise will produce a table per file.

table_name

Only relevant if 'single_table = TRUE': what to call the table.


Swarchal/CProcessR documentation built on May 9, 2019, 3:23 p.m.