Title: | Digitization of Phytosociological Relevés |
---|---|
Description: | Simple and fast tool for transforming phytosociological vegetation data into digital form for the following analysis. Danihelka, Chrtek, and Kaplan (2012, ISSN:00327786). Hennekens, and Schaminée (2001) <doi:10.2307/3237010>. Tichý (2002) <doi:10.1111/j.1654-1103.2002.tb02069.x>. Wickham, François, Henry, Müller (2022) <https://CRAN.R-project.org/package=dplyr>. |
Authors: | Přemysl Král [aut, cre] , Jan Douda [aut] |
Maintainer: | Přemysl Král <[email protected]> |
License: | GPL (>= 3) |
Version: | 0.1.6 |
Built: | 2024-12-23 06:49:22 UTC |
Source: | CRAN |
Digitizing and editing your releves - Rveg database
addReleve( DATABASE = "NEW", SAVE = "default", checklist = "default", extrahead = NULL, start = TRUE )
addReleve( DATABASE = "NEW", SAVE = "default", checklist = "default", extrahead = NULL, start = TRUE )
DATABASE |
name of csv files for releve table and header - database |
SAVE |
name of exporting database |
checklist |
custom checklist |
extrahead |
extra rows in header |
start |
Boolean to start immediately digitizing first releve |
export two csv files, one for releve and one for header (Rveg database)
## NOT RUN if (interactive()) { addReleve() }
## NOT RUN if (interactive()) { addReleve() }
Create a custom checklist with species ShortNames
CreateChecklist(specieslist, export = "export")
CreateChecklist(specieslist, export = "export")
specieslist |
path to list of species |
export |
name of your exported checklist file |
txt file used as checklist in Rveg functions
## NOT RUN if (interactive()) { CreateChecklist(specieslist = paste0(path.package("Rveg"), "/extdata/SpeciesList")) }
## NOT RUN if (interactive()) { CreateChecklist(specieslist = paste0(path.package("Rveg"), "/extdata/SpeciesList")) }
Checking your DATABASE for duplicity and allowing to export table with full species name (not Rveg editable anymore).
RvegCheck( DATABASE, fullnames = FALSE, export = "export", checklist = "default" )
RvegCheck( DATABASE, fullnames = FALSE, export = "export", checklist = "default" )
DATABASE |
name of csv files for releve table and header - database |
fullnames |
logical value if you want to add fullnames to the database |
export |
name of exporting database |
checklist |
checklist used to match shortnames with species name |
Export csv file releve table
## NOT RUN if (interactive()) { RvegCheck(DATABASE = paste0( path.package("Rveg"), "/extdata/example_db" )) }
## NOT RUN if (interactive()) { RvegCheck(DATABASE = paste0( path.package("Rveg"), "/extdata/example_db" )) }
Merging species or layers in the database
RvegCombine(database, export = "export", checklist = "default")
RvegCombine(database, export = "export", checklist = "default")
database |
name of the loading database |
export |
name of the exported database |
checklist |
checklist to be used |
export two csv files, one for releve and one for header
## NOT RUN if (interactive()) { RvegCombine(database = paste0( path.package("Rveg"), "/extdata/example_db" )) }
## NOT RUN if (interactive()) { RvegCombine(database = paste0( path.package("Rveg"), "/extdata/example_db" )) }
Reading your Rveg database
RvegLoad(DATABASE = "default", CustomScale = FALSE, checklist = "default")
RvegLoad(DATABASE = "default", CustomScale = FALSE, checklist = "default")
DATABASE |
name of Rveg database |
CustomScale |
logical values if different than predefined scale was used during the database creation |
checklist |
used checklist |
read the database in one object
RvegLoad()
RvegLoad()
Merge two Rveg databases
RvegMerge(x, y, save = "export_merge", head = TRUE)
RvegMerge(x, y, save = "export_merge", head = TRUE)
x |
name of first database |
y |
name of second database |
save |
name of exported databes |
head |
logical value if want to merge header |
export two csv files, one for releve and one for header
## NOT RUN if (interactive()) { RvegMerge(x = paste0( path.package("Rveg"), "/extdata/example_db" ), y = paste0( path.package("Rveg"), "/extdata/example_db" )) read.csv("export_mergeREL.csv", row.names = 1) }
## NOT RUN if (interactive()) { RvegMerge(x = paste0( path.package("Rveg"), "/extdata/example_db" ), y = paste0( path.package("Rveg"), "/extdata/example_db" )) read.csv("export_mergeREL.csv", row.names = 1) }
Export Rveg database to Juice software compatible format
RvegToJuice(Data, checklist = "default", export = "export")
RvegToJuice(Data, checklist = "default", export = "export")
Data |
name of your Rveg database |
checklist |
path to your custom species checklist |
export |
name of your exported csv file |
csv file which is readible by Juice
## NOT RUN if (interactive()) { RvegToJuice(Data = paste0( path.package("Rveg"), "/extdata/example_db" )) }
## NOT RUN if (interactive()) { RvegToJuice(Data = paste0( path.package("Rveg"), "/extdata/example_db" )) }
Export Turboveg csv compatible file
RvegToTv(database, export = "export", ver = 3, checklist = "default")
RvegToTv(database, export = "export", ver = 3, checklist = "default")
database |
path to Rveg database |
export |
name of your exported Tv file |
ver |
version of TURBOVEG |
checklist |
checklist to match Fullnames |
csv file
## NOT RUN if (interactive()) { RvegToTv(database = paste0( path.package("Rveg"), "/extdata/example_db" )) }
## NOT RUN if (interactive()) { RvegToTv(database = paste0( path.package("Rveg"), "/extdata/example_db" )) }
Export Turboveg csv file to Rveg database compatible format
TvToRveg(tv, export = "export", checklist = "default")
TvToRveg(tv, export = "export", checklist = "default")
tv |
path to Turboveg csv export |
export |
name of your exported database |
checklist |
checklist used to match shortnames with species name |
csv file
## NOT RUN if (interactive()) { TvToRveg(tv = paste0( path.package("Rveg"), "/extdata/tvexport.csv" )) }
## NOT RUN if (interactive()) { TvToRveg(tv = paste0( path.package("Rveg"), "/extdata/tvexport.csv" )) }