Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/buildMonograph.R
This function will generate a MS-Word or html file with a monograph skeleton (draft)
1 2 3 |
headings |
data.frame |
tableToDescription.data |
data.frame |
examinedSpecimens.data |
data.frame (optional) |
collectorList.data |
data.frame (optional) |
output |
"Word" or "html" |
title |
character |
open |
logical |
This function wraps around the functions tableToDescription,
examinedSpecimens and collectorList generating a monograph draft in
MS-Word or html format. The resulting monograph skeleton will include the
taxonomic heading, the description, comments and examined specimens list
for all species found in the input tables, and it will append the collector
list in the end of the file. It requires four tables as input. Three of them
are the same tables used for tableToDescription
, collectorList
, and
examinedSpecimens
functions. The additional input table should have three
columns: species, taxonomic heading and comments. The examinedSpecimens.data and
collectorList.data tables are optional. It uses functions of the rmarkdown
package to export the output file.
Exports a file (MS-Word or html).
Marcelo Reginato
1 2 3 4 5 6 7 8 9 10 11 12 | data(monographaR_examples)
monographaR_examples$taxonomic_headings -> taxonomic.headings
monographaR_examples$collectorList -> col.d
monographaR_examples$examinedSpecimens -> exam.d
monographaR_examples$tableToDescription -> desc.d
desc.d[,-1] -> desc.d
### buildMonograph(headings=taxonomic.headings,
### collectorList.data = col.d,
### examinedSpecimens.data = exam.d,
### tableToDescription.data = desc.d,
### output = "Word", title="Monograph skeleton")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.