Description Usage Arguments Details Value See Also Examples
View source: R/ee_Initialize.R
Authorize rgee to manage Earth Engine resources, Google
Drive, and Google Cloud Storage. The ee_initialize()
via
web-browser will ask to sign in to your Google account and
allows you to grant permission to manage resources. This function is
a wrapper around rgee::ee$Initialize()
.
1 2 3 4 5 6 7 |
email |
Character (optional, e.g. |
drive |
Logical (optional). If TRUE, the drive credential
is cached in the path |
gcs |
Logical (optional). If TRUE, the Google Cloud Storage
credential is cached in the path |
display |
Logical. If TRUE display the earthengine authentication URL. |
quiet |
Logical. Suppress info messages. |
ee_Initialize(...)
can manage Google drive and Google
Cloud Storage resources using the R packages googledrive and
googlecloudStorageR, respectively. By default, rgee does not require
them, these are only necessary to enable rgee I/O functionality.
All user credentials are saved in the directory
~/.config/earthengine/
, if a user does not specify the email
argument all user credentials are saved in a subdirectory
called ~/.config/earthengine/ndef
.
No return value, called for initializing the earthengine-api.
Other session management functions:
ee_user_info()
,
ee_users()
,
ee_version()
1 2 3 4 5 6 7 8 | ## Not run:
library(rgee)
# Simple init - Load just the Earth Engine credential
ee_Initialize()
ee_user_info()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.