R/data_curation.R
dot-generateDBname.RdThis function creates an identifier by combining abbreviated species names or taxon IDs. For species names, it uses the first letter of the genus and the first two letters of the species. For single-word names, it appends "sp". For numeric taxon IDs, it prefixes them with "tid_".
.generateDBname(user_bacs)A single character string representing the combined shortened name.