as_tidyee: as_tidy_ee

View source: R/as_tidyee.R

as_tidyeeR Documentation

as_tidy_ee

Description

The function returns a list containing the original object (Image/ImageCollection)as well as a "virtual data.frame (vrt)" which is a data.frame holding key properties of the ee$Image/ee$ImageCollection. The returned list has been assigned a new class "tidyee".

Usage

as_tidyee(x, time_end = FALSE)

Arguments

x

ee$Image or ee$ImageCollection

time_end

logical include time_end ("system:time_end") in vrt (default=F)

Value

tidyee class object which contains a list with two components ("x","vrt")

Examples

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



## End(Not run)

r-tidy-remote-sensing/tidyrgee documentation built on April 9, 2023, 4:53 p.m.