View source: R/ts_write_names.R
ts_write_names | R Documentation |
Write out parsed names to a text file
ts_write_names(df, path)
df |
Dataframe with parsed names |
path |
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) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.