compile_db: Collect and Process Grid Statistics

View source: R/run_geelite.R

compile_dbR Documentation

Collect and Process Grid Statistics

Description

This function retrieves and processes grid statistics from Google Earth Engine (GEE) based on the specified session task. The collected data is stored in SQLite format (data/geelite.db), along with supplementary files such as CLI files (cli/...), the state file (state/state.json), and the log file (log/log.txt).

Usage

compile_db(task, grid, mode, verbose)

Arguments

task

[mandatory] (list) Session task that specifies the parameters for data collection.

grid

[mandatory] (sf) Simple features object containing the geometries of the regions of interest.

mode

[optional] (character) Mode of data extraction. Currently supports "local" or "drive" (for larger exports via Google Drive). Defaults to "local".

verbose

[mandatory] (logical) Display messages and progress status.


geeLite documentation built on Aug. 9, 2025, 1:08 a.m.