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

Description Usage Arguments

Description

Called by 'csv_to_sql', can also be used directly. IFf given a filepath, 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_path_(path, dir = NULL, db_name = "db",
  single_table = FALSE, table_name = "exp")

Arguments

path

Filepath to directory containing .csv files

dir

Directory to save database in, otherwise will save in the filepath given in the 'path' argument.

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.