taxlist 0.4.0
New Features
- New function
reindex()to reassign identifiers to taxon concepts, taxon names and taxon views. - New function
sort_taxa()for sorting taxonomic lists before producing prints.
Improvements
- Summary provided by
summary()(andprint()) produces an indented list for the hierarchical levels (taxonomic ranks). This list is now inverted (top to bottom). The hierarchical display of concepts also lists number of concepts per rank. - Arrangement of parental chains now is done by an internal fucntion, namely
taxlist:::arrange_taxa(). - Function
indented_list()will follow the order of taxonomic concepts in slot taxonRelations whenalphabetical = FALSE. This function was formely sorting according to taxonConceptID in the same situation.
taxlist 0.3.0
CRAN release: 2024-07-03
New Features
- New function
prune_levels()pruning levels that are not used intaxlistobjects. - New function
merge_to_parent()merging multiple taxa to their respective parents. - New function
sort_backups()retrieving a sorted list of backups written bybackup_object(). - New function
taxlist2df()for convertingtaxlistobjects into data frames. - New function
parents()retrieving parent taxa at a determined rank for selected taxon concepts.
Improvements
- Function
merge_taxa()can now be used to query a list of taxonomic ranks. This is enabled through the argument level. - A new argument delelte_nomatch in function
merge_taxa()to delete top ranks and rankless taxa. - Function
backup_object()retrieves an invisible vector with information about the written backup. - Function
load_last()retrieves an invisible data frame with information about the imported backup. It also include a new argumentchoiceto select a different backup from the list produced bysort_backups(). - Function
insert_rows()was redefined as a generic function. - New arguments in function
print_name():- italics: a logical value that allows to unset italic format of names. This can be usefull for taxonomic ranks that are not written in italics (e.g. Family names in plant and animals).
- collapse: a character value (or vector of lengh 2), used to collapse strings of names, for instance to mention more than one taxa in the text.
taxlist 0.2.4
CRAN release: 2023-03-12
New Features
- New S3 class
matched_namesinheriting data frame properties. This class will be used for an interactive selection of multiple choices, when a name matches more than one candidate. - Character identifiers (primary keys) are enabled.
- New functions
id_generator()to create vectors of identifiers, either as numeric values (integers) or as character values by using random strings. - New function
id_solver()to compare vectors of identifiers between a recipient database and a data set to be inserted into the mentioned database. This function will propose a modified vector for the new data to avoid conflicts by duplicated IDs. - Coercion of
taxlistobjects todata.frameobjects.
Improvements
- The validation for
taxlistobjects is also looking if Parent IDs are missing in the object. - Function
match_names()displays multiple matchings per name and also works comparing a string with itself. - Simplified coercion in form of
to_class <- as(obj, from_class). - Function
tnrs()deprecated. - Simplified coercion in form of
to_class <- as(obj, from_class) - Function
add_concept()with a method fordata.frameobjects.
taxlist 0.2.3
CRAN release: 2022-09-12
New Features
- New arguments
isolateandtrimto prevent parts of scientific names to be formatted in italics.
Improvements
- Function
match_names()allows to sort output data frame in the'character,taxlist-method'. - Slot taxonViews allowing class
lib_dffrom packagebiblio. - In function
summary(), when using text as query, a new parameterexactallow for querying the exact name, which is usefull when querying genera. - New style of scripts using the package
styler. - Name of taxon attribute lf_behn_2018 changed to life_form.
- Function
print_name()is now working with more than one name (vectorized) and reset to an S3 method, including an option for character vectors. - Function
df2taxlist()redefined to allow import from a single data frame.
taxlist 0.2.2
CRAN release: 2021-07-15
Bug Fixes
- Functions
taxlist2taxmap()andtaxmap2taxlist()temporarily deprecated due to conflicts with release of taxa v. 0.4.0
taxlist 0.2.1
CRAN release: 2021-03-29
New Features
- New function
indented_list()to print taxonomic ranks in indented lists.
Improvements
- New argument
repastein functiondissect_name()for re-pasting dissected names. - Function
replace_idx()setting by defaultidx1 = x. - Functions
replace_idx()andreplace_na()setting by defaultidx2 = idx1. - Special characters corrected in data set Cyperus.
- Validation allowing taxa without rank but parents.
taxlist 0.2.0
CRAN release: 2020-10-07
Improvements
- Several improvements to meet ROpenSci requirements documented here.
taxlist 0.1.8
CRAN release: 2020-04-29
New Features
- Function
taxlist2taxmap()for the interaction between packagestaxlistandtaxmap. - Function
taxmap2taxlist()for the conversion ofTaxmapobjects intotaxlistones.
Improvements
- Roxygenized version.
- Method
formulafor functioncount_taxa(). - New argument
fextin functionbackup_object()setting the extension of the backup file.
taxlist 0.1.7
CRAN release: 2020-01-10
New Features
- Method for character values in function
match_names(). - Set of functions for data manipulation, namely
replace_x(),replace_idx(),replace_na(), andinsert_rows(). - Function
clean()with new argument times for repeat cleaning oftaxlistobjects.
Improvements
- Warning in function
tax2traits()for objects without taxonomic ranks. - Second argument in function
[applies only to slot taxonTraits. - Replacement method for functions
[and$deprecated. - Method for function
$matches all taxon concepts when retrieving information from slot taxonTraits. - Missing argument idx2 will be set as idx1 in functions
replace_idx()andreplace_na(). - Function
replace_view()deprecated. - Example data set cleaned (specifically author names)
Bug Fixes
- Function
match_names()was not properly working for the optionaccepted_only=TRUE. - Function
merge_taxa()caused orphaned children of replaced taxon concepts. - Function
clean()not working for deleted names.
taxlist 0.1.6
CRAN release: 2019-01-21
New Features
- New function
count_taxa()
Improvements
- A new option
style="knitr"for functionprint_name()(See this issue at Stack Overflow). - In function
backup_object(), the message will be done after successful saving and not before. - New argument
accepted_onlyin functionmatch_names(), for comparing strings only with accepted names. - Error message for NA’s in argument
xat functionmatch_names()
Bugs Fixes
- Function
add_synonym()was not properly working for incomplete entries (missing variables in the replacement values.) - Function
load_last()was not properly working for values offilewithout mention of subfolder. - Function
accepted_name()with optionshow_traits=TRUEwas not displaying taxa with no entries for taxon traits. - Prototype for object
taxlistwrongly included a slot hierarchy.
taxlist 0.1.5
CRAN release: 2018-06-29
New Features
- A CITATION file is included in the installation.
- New method
replace_view. - New method
print_namefor formatting taxon names to italic style. - New method
update_name, for updating information in slottaxonNames. - New method
synonymsretrieving synonyms for indicated concepts. - New method
delete_namefor deleting synonyms intaxlistobjects. - New method
basionymfor handling basionyms.
Improvements
- Function
accepted_nameretrieves also information onLevel(taxonomic rank) and traits (optional in argumentshow_traits). - Function
summaryfor single taxon is displaying the name of the parent taxon (accepted name) and optional a string for the taxon view. - Function
backup_objectprints a message in the console. - Related functions will join documentation files.
- Data set
Easplistadapted to new state of database SWEA-Dataveg. - Function
match_namescounts multiple best matchings and includes a new argumentshow_conceptsfor displaying the respective accepted names and taxon concept ID.
taxlist 0.1.4
CRAN release: 2018-05-03
taxlist 0.1.3
CRAN release: 2018-01-05
taxlist 0.1.0
CRAN release: 2017-06-14
New Features
- Released to CRAN (https://cran.r-project.org/package=taxlist).
