Description Usage Arguments Details Value See Also Examples
Get the date of a EE ImageCollection
1 | ee_get_date_ic(x, time_end = FALSE)
|
x |
ee$ImageCollection object |
time_end |
Logical. If TRUE, the |
system:time_start
set the start period of data acquisition while
system:time_end
does the same for the end period. See the
Earth Engine glossary
for getting more information.
A data.frame with the columns: id
(ID of the image),
time_start
, and time_end
(If the argument time_end
is
set as TRUE). The number of rows depends of the number of images
(ee$ImageCollection$size
).
Other date functions:
ee_get_date_img()
,
eedate_to_rdate()
,
rdate_to_eedate()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
library(rgee)
library(sf)
ee_Initialize()
nc <- st_read(system.file("shape/nc.shp", package = "sf")) %>%
st_transform(4326) %>%
sf_as_ee()
ee_s2 <- ee$ImageCollection("COPERNICUS/S2")$
filterDate("2016-01-01", "2016-01-31")$
filterBounds(nc)
ee_get_date_ic(ee_s2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.