Description Usage Arguments Examples
Calls NASA's Earth Imagery API and returns list with identification information and image.
1 2 |
key |
Key for API authentication. |
lon |
Longitud of coordinate position. |
lat |
Latitud of coordinate position. |
date |
In YYYY-MM-DD format. The API wil return the image that is closest to this date. |
cloud_score |
Gives a score of percentage of cloud cover, via algorithm (see official documentation). Defaults to TRUE. |
plot |
If TRUE will plot the image via generic plot function. |
meta_only |
if TRUE will only download the meta data for the image. |
1 2 3 4 5 | ## Not run:
key <- "123key"
img <- earth_image(key, -100.31008, 25.66779, "2016-01-01")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.