sits_db_connect: Creates a connection to an RSQLite database
Description
This functions creates a connection to an RSQLite database
to be able to store the data and metadata tables associated to time series
and data cubes associated to the "sits" suite of packages.
Usage
sits_db_connect(name = NULL)
Arguments
name
Name of the database (either a file or memory if empty)
# NOT RUN {# name of file to store the RSQLite databasedb_file <- paste0(Sys.getenv("HOME"), "/sits.sql")
# create RSQLite connectionconn <- sits_db_connect(db_file)
# clean upunlink(db_file)
# }