db_create: Creates a bespoke SQLite database for the 'finRes' universe

Description Usage Arguments Details See Also Examples

View source: R/functions.r

Description

Creates a SQLite database bespoke to the finRes universe. In particular, the database is designed to store Bloomberg data retireved using the pullit package.

Usage

1
db_create(path = NULL, n = 10L, verbose = TRUE)

Arguments

path

a scalar chatacter vector. Specifies target directory for the database file. Defaults to home directory.

n

a scalar integer integer vector. Specifies the number of database tables for create for historical data storage. This is a storage versus time trade-off paramater. More tables occupy more space on disk but offer better read/write performance. Defaults to 10.

verbose

a logical scalar vector. Should progression messages be printed? Defaults to TRUE.

Details

Creates a SQLite database bespoke for use within the finRes suite context. The database is created in the destination directory specified in path. Populate with db_store.

See Also

The finRes suite, in particular the pullit, BBGsymbols, fewISOs, GICS & factorem packages.

Examples

1
## Not run: db_create()

bautheac/storethat documentation built on Dec. 17, 2018, 12:12 p.m.