Earth Engine module

ee

Main Earth Engine module

rgee-package

rgee: An R package for interacting with Google Earth Engine

Install

ee_install()

Create an isolated Python virtual environment with all rgee dependencies.

ee_install_set_pyenv()

Configure which version of Python to use with rgee

ee_install_upgrade()

Upgrade the Earth Engine Python API

Checking

ee_check() ee_check_python() ee_check_python_packages() ee_check_credentials()

Interface to check Python and non-R dependencies

Clean

ee_clean_container()

Delete files from either a Folder (Google Drive) or a Bucket (GCS)

ee_clean_credentials()

Delete Credentials

ee_clean_pyenv()

Remove rgee system variables from .Renviron

Subsetting

ee_get()

Return the element at a specified position in an Earth Engine Image or ImageCollection

`[[`(<ee.imagecollection.ImageCollection>) `[[<-`(<ee.imagecollection.ImageCollection>) `[[`(<ee.image.Image>) `[[<-`(<ee.image.Image>)

Extract or replace parts of and ee$ImageCollection

Session management

ee_Initialize()

Authenticate and Initialize Earth Engine

ee_version()

Earth Engine API version

ee_user_info()

Display the credentials and general info of the initialized user

ee_users()

Display the credentials of all users as a table

ee_get_assethome()

Get the Asset home name

ee_get_earthengine_path()

Get the path where the credentials are stored

Date

eedate_to_rdate()

Pass an Earth Engine date object to R

rdate_to_eedate()

Pass an R date object to Earth Engine

ee_get_date_img()

Get the date of a EE Image

ee_get_date_ic()

Get the date of a EE ImageCollection

Visualization

Map

R6 object (Map) to display Earth Engine (EE) spatial objects

R6Map

R6 class to display Earth Engine (EE) spatial objects

`+`(<EarthEngineMap>) `|`(<EarthEngineMap>)

EarthEngineMap + EarthEngineMap; adds data from the second map to the first

Image download

ee_as_raster()

Convert an Earth Engine (EE) image in a raster object

ee_as_stars()

Convert an Earth Engine (EE) image in a stars object

ee_as_thumbnail()

Create an R spatial gridded object from an EE thumbnail image

ee_image_to_asset()

Creates a task to export an EE Image to their EE Assets.

ee_image_to_drive()

Creates a task to export an EE Image to Drive.

ee_image_to_gcs()

Creates a task to export an EE Image to Google Cloud Storage.

ee_image_info()

Approximate size of an EE Image object

ee_imagecollection_to_local()

Save an EE ImageCollection in their local system

Vector download

ee_as_sf()

Convert an Earth Engine table in an sf object

ee_table_to_asset()

Creates a task to export a FeatureCollection to an EE table asset.

ee_table_to_drive()

Creates a task to export a FeatureCollection to Google Drive.

ee_table_to_gcs()

Creates a task to export a FeatureCollection to Google Cloud Storage.

Generic download

ee_drive_to_local()

Move results from Google Drive to a local directory

ee_gcs_to_local()

Move results from Google Cloud Storage to a local directory

Assets management

ee_manage_create() ee_manage_delete() ee_manage_assetlist() ee_manage_quota() ee_manage_copy() ee_manage_move() ee_manage_set_properties() ee_manage_delete_properties() ee_manage_asset_access() ee_manage_task() ee_manage_cancel_all_running_task() ee_manage_asset_size()

Interface to manage the Earth Engine Asset

Upload raster

stars_as_ee()

Convert a stars or stars-proxy object into an EE Image object

raster_as_ee()

Convert a Raster* object into an EE Image object

gcs_to_ee_image()

Move a GeoTIFF image from GCS to their EE assets

Upload vector

gcs_to_ee_table()

Move a zipped shapefile from GCS to their EE Assets

sf_as_ee()

Convert an sf object to an EE object

Upload generic

local_to_gcs()

Upload local files to Google Cloud Storage

Extract values

ee_extract()

Extract values from EE Images or ImageCollections objects

Helper functions

ee_help()

Documentation for Earth Engine Objects

ee_print()

Print and return metadata about Spatial Earth Engine Objects

print(<ee.computedobject.ComputedObject>)

print Earth Engine object

ee_monitoring()

Monitoring Earth Engine task progress

rgee Operator

Math(<ee.image.Image>)

Mathematical functions

Ops(<ee.image.Image>)

Earth Engine arithmetic, logic and compare generic functions

Summary(<ee.image.Image>) mean(<ee.image.Image>)

Summary Methods

length(<ee.image.Image>) `length<-`(<ee.image.Image>)

Length of an Earth Engine Image Object

length(<ee.imagecollection.ImageCollection>)

Length of an Earth Engine ImageCollection Object

`names<-`(<ee.image.Image>) names(<ee.image.Image>)

Names of Earth Engine Images Layers

Utils

ee_utils_py_to_r()

Convert between Python and R objects

ee_utils_pyfunc()

Wrap an R function in a Python function with the same signature.

ee_utils_shp_to_zip()

Create a zip file from an sf object

ee_utils_create_json()

Convert an R list into a JSON file in the temp() file

ee_utils_create_manifest_image()

Create a manifest to upload an image

ee_utils_create_manifest_table()

Create a manifest to upload a table

ee_utils_get_crs()

Convert EPSG, ESRI or SR-ORG code into a OGC WKT

ee_utils_gif_annotate()

Add text to a GIF

ee_utils_gif_creator()

Create a GIF from an Earth Engine ImageCollection

ee_utils_gif_save()

Write a GIF

ee_utils_future_value()

The value of a future or the values of all elements in a container

ee_utils_dataset_display()

Search into the Earth Engine Data Catalog