species_list {ausplotsR}R Documentation

Species lists for AusPlots


Nice species lists based on the vegetation voucher module of Ausplots generated using the get_ausplots function.


species_list(veg.vouch, grouping=c("by_site", "by_visit", "collapse"), 
species_name=c("SN","HD","GS"), strip_bryophytes=FALSE, 
append_family=FALSE, writefile=FALSE, outfile="my_species_lists.txt")



The input raw plant voucher data generated by get_ausplots


One of c("by_site", "by_visit", "collapse"). Determines whether species names are pooled over all visits to each plot (site_location_name, the default), or gathered by individual site visits (site_unique). The final option 'collapse' returns a complete list of species over the plots provided.


Defaults to "SN" (standardised_name); set to "HD" to use "herbarium_determination", and "GS" to use standardised "genus_species" format. See details for an explanation of each setting.


Logical. Switch to TRUE to exclude bryophyte records and only return vascular plants in Angiosperm (flowering plants), Gymnosperm (conifers) and Pteridophyte (ferns and allies) groups. Although there are a number of bryophyte records in Ausplots, they are not surveyed systematically.


Logical. If set to TRUE, names in the the returned species lists are appended with (and sorted by) family standardised name.


Logical. Whether or not to write the result to a text file.


Character denoting path/file/extension to attempt to write to if writefile=TRUE.


The aim of the function is to provide simple, cleaned lists of species that have been recorded at various Ausplots sites, simplifying from the more detailed voucher and identification information in the $veg.vouch vegetation voucher module. The output is not designed for downstream analysis (which is perhaps better performed by manipulating the raw data tables) but as a rapid means of viewing recorded species.

species_name provides multiple options for how names are presented. If species_name="HD", the function will use the "herbarium_determination" provided by state herbaria to identify unique species. Herbarium determinations are made to the lowest possible taxonomic rank, which may be the family, genus, species, subspecies or variety. It includes incomplete identifications, dead or generic vegetation identifications (e.g. "Dead Tree/Shrub", "Annual Grass"), and "No ID" labels. If species_name="SN", the default, the function will use the the "standardised_name" to identify unique species. Values are based on the veg.PI$herbarium_determination but have been edited to match the most commonly used or widely accepted scientific name according to "World Flora Online" (http://www.worldfloraonline.org/). "standardised_name" determinations are made to the lowest possible taxonomic rank, which may be the genus, species, subspecies or variety, but not family. It excludes generic vegetation identifications (e.g. "Dead Tree/Shrub", "Annual Grass") and "No ID" labels. If species_name="GS", only the standardised genus species rank ("genus_species" in the veg.vouch input table) is used to identify species. species_name="GS" maximises consistency in species comparisons between plots, but reduces the taxonomic detail and excludes records where only the genus was identified.


Returns a list containing a character vector of species names for each plot/visit grouping. If grouping="collapse", a single character vector is returned. If writefile=TRUE, a text file is written to path outfile in the working directory.


Greg Guerin, Samantha Munroe

See Also




  ## Not run: 
  #get veg.vouch data for selected plots:
  my.data <- get_ausplots(site_info=FALSE, veg.PI=FALSE, 
  my.Plot_IDs=c("SAAFLB0005", "SAAFLB0006"))
  #generate 'genus_species' lists by site:
  species_list(my.data$veg.vouch, grouping="by_site", 
  species_name="GS", writefile=FALSE)
  #generate a complete species list ordered by family:
  species_list(my.data$veg.vouch, grouping="collapse", 
  species_name="SN", append_family=TRUE, writefile=FALSE)
## End(Not run)

[Package ausplotsR version 1.2.4 Index]