photobook | R Documentation |
Create photobook index
photobook(photo, index = photobook_index(), groups = NULL, n_groups = 3, captions = NULL, dir_out = tempdir())
photo |
An sf object created by |
index |
A character string produced by |
groups |
Character vector the same length as |
n_groups |
The number of groups if |
captions |
A character vector of captions |
dir_out |
Directory where files should be saved, |
f = geotagged_photo_paths() photo = photos_sf(f) photobook(photo) # file.edit(file.path(tempdir(), "index.Rmd")) setwd(tempdir()) list.files() bookdown::render_book("index.Rmd") browseURL("_book/index.html")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.