select {tidyrgee} | R Documentation |
Select bands from ee$Image or ee$ImageCollection
.data |
tidyee class object containing ee$ImageCollection or ee$Image |
... |
one or more quoted or unquoted expressions separated by commas. |
tidyee class object with specified (...) bands selected
select
for information about select on normal data tables.
## 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)