Nothing
#' @export
mutate.tidyee <- function(.data,
...
){
vrt <- .data$vrt |>
dplyr::mutate(...)
create_tidyee(.data$ee_ob,vrt)
}
#' @export
mutate.ee.imagecollection.ImageCollection <- function(.data,...){
stopifnot(!is.null(.data), inherits(.data, "ee.imagecollection.ImageCollection"))
convert_to_tidyee_warning()
x_tidy <- as_tidyee(.data)
x_tidy |>
mutate(...)
}
#' mutate columns into tidyee vrt which can later be used to modify tidyee ImageCollection
#' @name mutate
#' @rdname mutate
#' @param .data tidyee class object (list of ee_ob, vrt)
#' @param ... mutate arguments
#' @return return tidyee class object with vrt data.frame mutated.
#' @examples \dontrun{
#'library(tidyrgee)
#' library(rgee)
#' ee_Initialize()
#' modis_ic <- ee$ImageCollection("MODIS/006/MOD13Q1")
#' modis_ic_tidy <- as_tidyee(modis_ic)
#'}
#' @seealso \code{\link[dplyr]{mutate}} for information about mutate on normal data tables.
#' @export
#' @importFrom dplyr mutate
NULL
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.