taxotools (version 0.0.4)

BuildCSList: Build a comma separated List

Description

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

Usage

BuildCSList(data, pri, sec)

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)

Value

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

Examples

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

# }

Run the code above in your browser using DataCamp Workspace