Writes grid statistics to the SQLite database.
write_grid_stats(database_new, dataset_new, dataset, db_table, grid_stats)
[mandatory] (logical) A logical value indicating whether the database is new.
[mandatory] (logical) A logical value indicating whether the dataset is new.
[mandatory] (character) Name of the dataset to initialize or update in the SQLite database.
[mandatory] (data.frame) The table to be updated or
retrieved from the SQLite database. Set to NULL
during the
(re)building procedure.
[mandatory] (list) List containing grid statistics separately for (re)building and updating procedures.