## basic data frame version of a basic raster
as_tibble(raster::raster(volcano))
## data frame with time column since raster has that set
r <- raster::raster(volcano)
br <- raster::brick(r, r)
as_tibble(raster::setZ(br, Sys.Date() + 1:2), cell = TRUE)
Run the code above in your browser using DataLab