batch_drive_export | R Documentation |
Exports multiple geometry chunks to Google Drive in a single batch task. The function processes spatial data using Google Earth Engine (GEE) and exports results in CSV format.
batch_drive_export(
sf_list,
imgs,
stat_fun,
band,
stat,
scale,
folder = ".geelite_tmp_drive",
user = NULL,
description = "geelite_export",
verbose = FALSE
)
sf_list |
[mandatory] (list) A list of sf data.frames representing geometry chunks to be processed. |
imgs |
[mandatory] (ee$ImageCollection) The Earth Engine image collection to extract statistics from. |
stat_fun |
[mandatory] (ee$Reducer) The reducer function to apply to extract statistics. |
band |
[mandatory] (character) The band name from the image collection (e.g., "NDVI"). |
stat |
[mandatory] (character) The statistical function name (e.g., "mean"). |
scale |
[mandatory] (numeric) The spatial resolution in meters for 'reduceRegions'. |
folder |
[optional] (character) Name of the Google Drive folder
where the export will be stored. Default is |
user |
[optional] (character) If multiple rgee user profiles exist, specify the user profile directory. |
description |
[optional] (character) A custom description for the
export task. Default is |
verbose |
[optional] (logical) If |
(data.frame) A data frame containing extracted statistics with
columns id
, band
, zonal_stat
, and date-based values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.