taxotools (version 0.0.23)

BuildCSList: Build a comma separated List

Description

This function is depreciated. Please use cast_cs_field

Usage

BuildCSList(data, pri, sec, duplicate = FALSE, sepchar = ",")

Arguments

data

data frame containing primary and secondary data columns

pri

Primary field name (repeating values)

sec

Secondary field (values would be added to same record, comma separated)

duplicate

If true, duplicate entries are allowed in secondary field

sepchar

Character separator between the data items. Default is comma

Value

a data frame with two fields Primary and secondary (comma separated list)

Details

Builds a comma separated list given a data frame with two fiends, primary repeating values and secondary values to be summarized with comma separated in the same field

See Also

Other Discontinued functions: CheckScientificName, ExpandSyn, GetWikiSyn, GuessTaxoLevel, MakeCanonical, MatchLists

Examples

Run this code
# NOT RUN {
scnames <- c("Abrothrix longipilis", "Abrothrix jelskii")
SynList <- GetITISSyn(scnames)
BuildCSList(SynList,"Name","Syn")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab