ts_write_names.Rd
Write out parsed names to a text file
ts_write_names(df, path)
Dataframe with parsed names
Path to write dataframe
Writes out parsed names in a format that can be used by taxon-tools (each part of the scientific name is separated by the pipe symbol (|), with one name per line).
Path to parsed names
if (ts_tt_installed()) {
parsed_names <- ts_parse_names(
"Foogenus x barspecies var. foosubsp (L.) F. Bar")
temp_file <- tempfile()
ts_write_names(parsed_names, temp_file)
readLines(temp_file)
file.remove(temp_file)
}
#> [1] TRUE