filter {tidyrgee}R Documentation

filter ee$ImageCollections or tidyee objects that contain imageCollections

Description

filter ee$ImageCollections or tidyee objects that contain imageCollections

Arguments

.data

ImageCollection or tidyee class object

...

other arguments

Value

filtered image or imageCollection form filtered imageCollection

See Also

filter for information about filter 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]