db_delete: Deletes data from a 'storethat' SQLite database.

Description Usage Arguments See Also Examples

View source: R/functions.r

Description

Deletes all or some of the data content of a storethat SQLite database.

Usage

1
db_delete(file = NULL, instrument = "all", book = "all", name = "all")

Arguments

file

a scalar character vector. Specifies the path to the appropriate 'storethat.sqlite' file.

instrument

a scalar character vector. Specifies the financial instruments to get a snapshot for. Must be one of 'all', equity', 'index', 'fund' or 'futures'.

book

a scalar character vector. Instrument dependent; for a given instrument, specifies the book for the snapshot; 'all' deletes all data for a given instrument.

name

a scalar character vector. Instrument dependent; for a given instrument, specifies the name for the snapshot; 'all' deletes all data for a given instrument and book.

See Also

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

Examples

1
## Not run: db_delete()

bautheac/storethat documentation built on June 7, 2021, 11:23 p.m.