splitstackshape: Stack and Reshape Datasets After Splitting Concatenated Values

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.

Author
Ananda Mahto
Date of publication
2014-10-23 17:31:07
Maintainer
Ananda Mahto <ananda@mahto.info>
License
GPL-3
Version
1.4.2
URLs

View on CRAN

Man pages

charMat
Create a Binary Matrix from a List of Character Values
concat.split
Split Concatenated Cells in a Dataset
concat.split.compact
Split Concatenated Cells into a Condensed Format
concat.split.expanded
Split Concatenated Values into their Corresponding Column...
concat.split.list
Split Concatenated Cells into a List Format
concat.split.multiple
Split Concatenated Cells and Optionally Reshape the Output
concat.test
Example Dataset with Concatenated Cells
cSplit
Split Concatenated Values into Separate Values
cSplit_f
Split Concatenated Cells in a data.frame or a data.table
expandRows
Expand the Rows of a Dataset
FacsToChars
Convert All Factor Columns to Character Columns
getanID
Add an "id" Variable to a Dataset
listCol_l
Unlist a Column Stored as a List
listCol_w
Flatten a Column Stored as a List
merged.stack
Take a List of Stacked data.tables and Merge Them
Names
Dataset Names as a Character Vector, Always
NoSep
Split Basic Alphanumeric Strings Which Have No Separators
numMat
Create a Numeric Matrix from a List of Values
othernames
Extract All Names From a Dataset Other Than the Ones Listed
read.concat
Read Concatenated Character Vectors Into a data.frame
Reshape
Reshape Wide Data Into a Semi-long Form
splitstackshape-package
splitstackshape
Stacked
Stack Columns from a Wide Form to a Long Form
stratified
Take a Stratified Sample From a Dataset

Files in this package

splitstackshape
splitstackshape/NAMESPACE
splitstackshape/NEWS
splitstackshape/data
splitstackshape/data/concatenated.RData
splitstackshape/R
splitstackshape/R/Stacked.R
splitstackshape/R/cSplit_f.R
splitstackshape/R/splitstackshape_helper_functions.R
splitstackshape/R/Reshape.R
splitstackshape/R/listCol_l.R
splitstackshape/R/stratified.R
splitstackshape/R/listCol_w.R
splitstackshape/R/splitstackshape-package.R
splitstackshape/R/cSplit.R
splitstackshape/R/getanID.R
splitstackshape/R/concat.split.R
splitstackshape/R/expandRows.R
splitstackshape/README.md
splitstackshape/MD5
splitstackshape/DESCRIPTION
splitstackshape/man
splitstackshape/man/merged.stack.Rd
splitstackshape/man/concat.split.expanded.Rd
splitstackshape/man/Names.Rd
splitstackshape/man/getanID.Rd
splitstackshape/man/stratified.Rd
splitstackshape/man/listCol_w.Rd
splitstackshape/man/othernames.Rd
splitstackshape/man/FacsToChars.Rd
splitstackshape/man/charMat.Rd
splitstackshape/man/NoSep.Rd
splitstackshape/man/expandRows.Rd
splitstackshape/man/numMat.Rd
splitstackshape/man/concat.split.Rd
splitstackshape/man/concat.split.compact.Rd
splitstackshape/man/concat.split.multiple.Rd
splitstackshape/man/cSplit_f.Rd
splitstackshape/man/listCol_l.Rd
splitstackshape/man/concat.test.Rd
splitstackshape/man/Reshape.Rd
splitstackshape/man/cSplit.Rd
splitstackshape/man/splitstackshape-package.Rd
splitstackshape/man/Stacked.Rd
splitstackshape/man/read.concat.Rd
splitstackshape/man/concat.split.list.Rd