ee_extract2: ee_extract2

View source: R/ee_extract2.R

ee_extract2R Documentation

ee_extract2

Description

ee_extract2

Usage

ee_extract2(
  imgcol,
  y,
  fun = ee$Reducer$mean(),
  scale = NULL,
  prefix = "",
  outfile = NULL,
  lazy = FALSE,
  ...
)

Arguments

y

ee$Geometry$*, ee$Feature, ee$FeatureCollection, sfc or sf objects.

fun

ee$Reducer object. Function to summarize the values. The function must take a single numeric value as an argument and return a single value. See details.

scale

A nominal scale given in meters of the Image projection to work in. By default 1000.

lazy

Logical. If TRUE, a future::sequential object is created to evaluate the task in the future. Ignore if via is set as "getInfo". See details.

...

ee$Image$reduceRegions additional parameters. See ee_help(ee$Image$reduceRegions) for more details.


rpkgs/rgee2 documentation built on May 31, 2024, 6:58 p.m.