install_sqlite: Install datasets via the Data Retriever.

Description Usage Arguments Examples

Description

Data is stored in SQLite database

Usage

1
2
3
install_sqlite(dataset, file = "sqlite.db",
  table_name = "{db}_{table}", data_dir = getwd(), debug = FALSE,
  use_cache = TRUE)

Arguments

dataset

the name of the dataset that you wish to install

file

Sqlite database file name or path

table_name

table name for installing of dataset

data_dir

the dir path to store the db, defaults to working dir

debug

Setting TRUE helps in debugging in case of errors

use_cache

Setting FALSE reinstalls scripts even if they are already installed

Examples

1
rdataretriever::install_sqlite(dataset='iris', file='sqlite.db', debug=FALSE, use_cache=TRUE)

zhangcandrew/rdataretriever documentation built on May 28, 2019, 5:57 p.m.