select {tidyrgee}R Documentation

Select bands from ee$Image or ee$ImageCollection

Description

Select bands from ee$Image or ee$ImageCollection

Arguments

.data

tidyee class object containing ee$ImageCollection or ee$Image

...

one or more quoted or unquoted expressions separated by commas.

Value

tidyee class object with specified (...) bands selected

See Also

select for information about select on normal data tables.

Examples

## Not run: 
library(tidyrgee)
ee_Initialize()
modis_ic <- ee$ImageCollection("MODIS/006/MOD13Q1")
modis_ic_tidy <- as_tidyee(modis_ic)

# select NDVI band
modis_ndvi <- modis_ic_tidy |>
   select("NDVI")

# select NDVI band, but change band to new name
modis_ndvi_renamed <- modis_ic_tidy |>
   select(ndvi_new= "NDVI")



## End(Not run)

[Package tidyrgee version 0.1.0 Index]