ee-getdoi: Get the Digital Object Identifier (DOI) of an EE object

ee-getdoiR Documentation

Get the Digital Object Identifier (DOI) of an EE object

Description

If it exists, retrieve the DOI of an EE object.

Usage

`ee$Image$Extra_getDOI(x)`

`ee$ImageCollection$Extra_getDOI(x)`

Arguments

x

An EE object to get the DOI from.

Value

A character with DOI information.

Examples

## Not run: 
library(rgee)
library(rgeeExtra)

ee_Initialize()
extra_Initialize()

# Fetch DOI for first image in NASA IMERG V06 collection
doi <- ee$ImageCollection("NASA/GPM_L3/IMERG_V06")[[1]] %>%
  ee$Image$Extra_getDOI()

doi

# Retrieve and print the DOI for the NASA/GPM_L3/IMERG_V06 image collection.
doi_ <- ee$ImageCollection("NASA/GPM_L3/IMERG_V06") %>%
  ee$ImageCollection$Extra_getDOI()

doi_

## End(Not run)

r-earthengine/rgeeExtra documentation built on Dec. 7, 2023, 9:03 p.m.