Learn R Programming

globaltrends (version 0.0.14)

disconnect_db: Disconnect from database

Description

The function closes the connection to the database file db/globaltrends_db.sqlite in the working directory.

Usage

disconnect_db()

Arguments

Value

Message that disconnection was successful.

Warning

SQLite databases only allow one writer at any instant in time. To run parallel downloads use one database for each download client and merge them once all downloads are complete.

See Also

  • initialize_db()

  • start_db()

Examples

Run this code
if (FALSE) {
disconnect_db()
}

Run the code above in your browser using DataLab