Create herbarium labels (4 labels per DIN-A4 page)
create_herbarium_label(
data = data,
path = NULL,
filename = NULL,
title = NULL,
subtitle = NULL,
qr = NULL,
family.column = NULL,
taxon.column = NULL,
author.column = NULL,
det.column = NULL,
date.det.column = NULL,
location.column = NULL,
area.description.column = NULL,
latitude.column = NULL,
longitude.column = NULL,
elevation.column = NULL,
field1.column = NULL,
field2.column = NULL,
field3.column = NULL,
collector.column = NULL,
collection.column = NULL,
assistants.column = NULL,
date.column = NULL,
keep.files = FALSE,
template = NULL
)
a data frame. Each row contains the information by species that will appear in the label.
Character. Path to folder where the PDF file will be saved.
Character. Filename of the pdf. If NULL, default is "Herbarium".
Main title at the top of the labels. Can be blank if set to NULL.
Subtitle at the bottom of the labels. Can be blank if set to NULL.
String. Free text or column of data
that specifies the link for the QR code.
If the specified value of qr
is not a column name of data
,
all the QRs will be equal, pointing to the same link.
Character (optional). Name of the column in data
storing the family of the taxon.
Character (optional). Name of the column in data
storing the taxon name.
Character (optional). Name of the column in data
storing the taxon author.
Character (optional). Name of the column in data
storing the determiner of the voucher.
Character (optional). Name of the column in data
storing the date when the voucher
was determined.
Character (optional). Name of the column in data
storing where the voucher
was collected.
Character (optional). Name of the column in data
storing the description
of the area.
Character (optional). Name of the column in data
storing the latitude
where the specimen was collected.
Character (optional). Name of the column in data
storing the longitude
where the specimen was collected.
Character (optional). Name of the column in data
storing the elevation
where the specimen was collected.
Character (optional). Name of the column in data
storing the first free text to
appear at the top of the label.
Character (optional). Name of the column in data
storing the second free text to
appear below field1.
Character (optional). Name of the column in data
storing the second free text to
appear below field2.
Character (optional). Name of the column in data
storing the name of the collector.
Character (optional). Name of the column in data
storing the voucher's collection
number.
Character (optional). Name of the column in data
storing the names of the
collector's assistants.
Character (optional). Name of the column in data
storing the date when the specimen
was collected.
Logical. Keep the RMarkdown template and associated files in the output folder? Default is FALSE.
Character (optional) RMarkdown template to use. If not provided,
using the default template included in labeleR
.
A pdf file with four herbarium labels per page within an 'output' folder.
if (FALSE) { # interactive()
create_herbarium_label (
data = herbarium.table,
path = "labeleR_output",
title = "Magical flora of the British Isles",
subtitle = "Project: Eliminating plant blindness in Hogwarts students",
qr = "QR_code",
family.column ="Family",
taxon.column = "Taxon",
author.column = "Author",
det.column = "det",
date.det.column = "Det_date",
location.column = "Location",
latitude.column = "Latitude",
longitude.column = "Longitude",
elevation.column = "Elevation",
field1.column = "life_form",
field3.column = "Height",
collector.column = "Collector",
collection.column = "Collection_number",
assistants.column = "Assistants",
date.column = "Date"
)
}