Description Usage Arguments Value Author(s) See Also Examples
It uses a data.frame expecting a minimum set of columns; if those are not found they will be added and filled with 'unknown' or similar values as will be other columns with missing data but used for sorting the final indices.
1 2 3 4 |
data |
a table in exsic format |
file |
Path to the .csv file containing the database |
html |
Path to the resulting .html file |
sortfilter |
a table containing filters for country and species |
format |
a table containing format options for elements in the exsiccatae index |
headers |
A list of text lines for labeling the indices |
boolean TRUE if all steps executed successfully
Reinhard Simon
Other main: index.citations
;
index.collections
;
index.countries
;
index.species.short
;
index.species
; prepare.table
;
read.exsic
; section.exsic
;
write.exsic
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # Example
load(system.file("data/config.rda", package="exsic"))
###########################################################
# This runs the example file
# Read input file
df = system.file("samples/exsic.csv", package="exsic")
# read only first 10 records
data = read.exsic(df)[1:10,]
# Prepare output file
td = tempdir()
of = file.path(td,"out.html")
# Example 1: mostly default parameters
# Prepare exsiccatae indices
exsic(data, html = of)
# Example 2: using another format
of = file.path(td,"out_PK.html")
exsic(data, html = of, format = format.PK)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.