set_idx {tidyrgee}R Documentation

set_idx

Description

set_idx

Usage

set_idx(x, idx_name = "tidyee_index")

Arguments

x

tidyee or ee$ImageCollection class object

idx_name

name for index to create (default = "tidyee_index")

Value

tidyee or ee$ImageCollection class object with new index containing sequential 0-based indexing

Examples

## Not run: 
library(rgee)
library(tidyrgee)
ee_Initialize()
modis_link <- "MODIS/006/MOD13Q1"
modisIC <- ee$ImageCollection(modis_link)
modis_ndvi_tidy <- as_tidyee(modisIC) |>
  select("NDVI")
modis_ndvi_tidy |>


## End(Not run)

[Package tidyrgee version 0.1.0 Index]