| create_herbarium_label {labeleR} | R Documentation | 
Create herbarium labels
Description
Create herbarium labels (4 labels per DIN-A4 page)
Usage
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
)
Arguments
data | 
 a data frame. Each row contains the information by species that will appear in the label.  | 
path | 
 Character. Path to folder where the PDF file will be saved.  | 
filename | 
 Character. Filename of the pdf. If NULL, default is "Herbarium".  | 
title | 
 Main title at the top of the labels. Can be blank if set to NULL.  | 
subtitle | 
 Subtitle at the bottom of the labels. Can be blank if set to NULL.  | 
qr | 
 String. Free text or column of   | 
family.column | 
 Character (optional). Name of the column in   | 
taxon.column | 
 Character (optional). Name of the column in   | 
author.column | 
 Character (optional). Name of the column in   | 
det.column | 
 Character (optional). Name of the column in   | 
date.det.column | 
 Character (optional). Name of the column in   | 
location.column | 
 Character (optional). Name of the column in   | 
area.description.column | 
 Character (optional). Name of the column in   | 
latitude.column | 
 Character (optional). Name of the column in   | 
longitude.column | 
 Character (optional). Name of the column in   | 
elevation.column | 
 Character (optional). Name of the column in   | 
field1.column | 
 Character (optional). Name of the column in   | 
field2.column | 
 Character (optional). Name of the column in   | 
field3.column | 
 Character (optional). Name of the column in   | 
collector.column | 
 Character (optional). Name of the column in   | 
collection.column | 
 Character (optional). Name of the column in   | 
assistants.column | 
 Character (optional). Name of the column in   | 
date.column | 
 Character (optional). Name of the column in   | 
keep.files | 
 Logical. Keep the RMarkdown template and associated files in the output folder? Default is FALSE.  | 
template | 
 Character (optional) RMarkdown template to use. If not provided,
using the default template included in   | 
Value
A pdf file with four herbarium labels per page within an 'output' folder.
Author(s)
Ignacio Ramos-Gutierrez, Julia G. de Aledo, Francisco Rodriguez-Sanchez
Examples
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"
)