Write species-plot observations and site information to Turboveg database.
tv.write(x, site, db, name, db.abs.path, dict, cover = c("code", "perc"),
overwrite = FALSE, iconv="CP437", newTvAdmin = FALSE, drop = FALSE, ...)
Either observations data.frame with RELEVE_NR, TaxonUsageID and COVER_CODE columns or vegetation matrix of class "veg".
Header data for plots.
name of original Turboveg database folder
Name of the new database.
absolute path to sourve database folder can be given instead of db. Then also dictionary name has to be given
Turboveg dictionary name
Use of covercodes or (mean) cover percentages, see Details.
Logical. Should an existing database be overwritten.
specify locale if necessary
Build new TvAdmin.dbf? If FALSE the file from original database will be used.
Drop all columns which are empty or have only NA values. Otherwise all fields from dbasedict.dbf will be complemented.
Additional arguments.
A dataframe of species occurences is written in dbase format into the Data directory of the specified Turboveg installation. Accordingly the header data information (tvhabita.dbf) is written to this directory and an empty file remarks.dbf is copied from the sample dataset.
By default Covercode is written to Turboveg. This is only meaningful, if correct CoverScales are given in the site dataframe. The db database name is important to care for TvAdmin.dbf and remarks.dbf and the binary configuration file tvwin.set.