Collapse a vector of values into a single string when necessary
Source:R/utilities.R
collapse_vector.Rd
REDCap's API frequently specifies a series of values separated by commas. In the R world, it's easier to keep these values as separate elements in a vector. This functions squashes them together in a single character element (presumably right before the return value is passed to the API)