Deletes all or some of the data content of a storethat SQLite database.
db_delete(file = NULL, instrument = "all", book = "all", name = "all")
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. |
The finRes suite, in particular the pullit & BBGsymbols packages.
if (FALSE) db_delete()