Learn R Programming

rgee (version 0.2.0)

ee_print: Print and return metadata about Spatial Earth Engine Objects

Description

Print and return metadata about Spatial Earth Engine Objects. By default ee_print will create a table printing all the available metadata.

Usage

ee_print(eeobject, clean = FALSE, max_display = 0)

# S3 method for ee.geometry.Geometry ee_print(eeobject, clean = FALSE, max_display = 0)

# S3 method for ee.feature.Feature ee_print(eeobject, clean = FALSE, max_display = 0)

# S3 method for ee.featurecollection.FeatureCollection ee_print(eeobject, clean = FALSE, max_display = 0)

# S3 method for ee.image.Image ee_print(eeobject, clean = FALSE, max_display = 0)

# S3 method for ee.imagecollection.ImageCollection ee_print(eeobject, clean = FALSE, max_display = 0)

Arguments

eeobject

Earth Engine Object. Available for: Geometry, Feature, FeatureCollection, Image or ImageCollection.

clean

Logical. If it is TRUE the cache will be cleaned.

max_display

Set the max number of properties to display.

Examples

Run this code
# NOT RUN {
library(rgee)

ee_reattach() # reattach ee as a reserved word
ee_Initialize()

eeobject <- ee$ImageCollection("LANDSAT/LC08/C01/T1_TOA")$
  filter(ee$Filter()$eq("WRS_PATH", 44))$
  filter(ee$Filter()$eq("WRS_ROW", 34))$
  filterDate("2014-03-01", "2014-08-01")
ee_print(eeobject, max_display = 0)
# }

Run the code above in your browser using DataLab