Online data collection tools like Google Forms often export multiple-response questions with data concatenated in cells. The concat.split (cSplit) family of functions splits such data into separate cells. The package also includes functions to stack groups of columns and to reshape wide data, even when the data are “unbalanced”—something which reshape (from base R) does not handle, and which melt and dcast from reshape2 do not easily handle.
With an activated Bioconda channel (see 2. Set up channels), install with:
conda install r-splitstackshape
and update with:
conda update r-splitstackshape
A Docker container is available at https://quay.io/repository/biocontainers/r-splitstackshape.