slice {tidyrgee}R Documentation

slice ee$ImageCollections or tidyee objects that contain imageCollections

Description

slice ee$ImageCollections or tidyee objects that contain imageCollections

Arguments

.data

ImageCollection or tidyee class object

...

other arguments

Value

sliced/filtered image or imageCollection form filtered imageCollection

See Also

slice for information about slice on normal data tables.

Examples

## Not run: 

library(rgee)
library(tidyrgee)
ee_Initialize()
l8 = ee$ImageCollection('LANDSAT/LC08/C01/T1_SR')
l8 |>
    filter(date>"2016-01-01",date<"2016-03-04")


 # example with tidyee ckass
modis_ic <- ee$ImageCollection("MODIS/006/MOD13Q1")
modis_ic_tidy <- as_tidyee(modis_ic)

# filter by month
modis_march_april <- modis_ic_tidy |>
filter(month %in% c(3,4))

## End(Not run)

[Package tidyrgee version 0.1.0 Index]