photobook: Create photobook index

Description Usage Arguments Examples

Description

Create photobook index

Usage

1
2
photobook(photo, index = photobook_index(), groups = NULL,
  n_groups = 3, captions = NULL, dir_out = tempdir())

Arguments

photo

An sf object created by photos_sf

index

A character string produced by photobook_index

groups

Character vector the same length as nrow(photo)

n_groups

The number of groups if date_time_cut is not provided

captions

A character vector of captions

dir_out

Directory where files should be saved, tempdir() by default

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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")

Robinlovelace/photomapr documentation built on June 7, 2019, 5:10 a.m.