collapse: Advanced and Fast Data Transformation

A C/C++ based package for advanced data transformation and statistical computing in R that is extremely fast, class-agnostic, robust and programmer friendly. Core functionality includes a rich set of S3 generic grouped and weighted statistical functions for vectors, matrices and data frames, which provide efficient low-level vectorizations, OpenMP multithreading, and skip missing values by default. These are integrated with fast grouping and ordering algorithms (also callable from C), and efficient data manipulation functions. The package also provides a flexible and rigorous approach to time series and panel data in R. It further includes fast functions for common statistical procedures, detailed (grouped, weighted) summary statistics, powerful tools to work with nested data, fast data object conversions, functions for memory efficient R programming, and helpers to effectively deal with variable labels, attributes, and missing data. It is well integrated with base R classes, 'dplyr'/'tibble', 'data.table', 'sf', 'units', 'plm' (panel-series and data frames), and 'xts'/'zoo'.

Version: 2.0.17
Depends: R (≥ 3.4.0)
Imports: Rcpp (≥ 1.0.1)
LinkingTo: Rcpp
Suggests: fastverse, data.table, magrittr, kit, xts, zoo, plm, fixest, vars, RcppArmadillo, RcppEigen, tibble, dplyr, ggplot2, scales, microbenchmark, testthat, covr, knitr, rmarkdown, withr
Published: 2024-11-03
DOI: 10.32614/CRAN.package.collapse
Author: Sebastian Krantz ORCID iD [aut, cre], Matt Dowle [ctb], Arun Srinivasan [ctb], Morgan Jacob [ctb], Dirk Eddelbuettel [ctb], Laurent Berge [ctb], Kevin Tappe [ctb], R Core Team and contributors worldwide [ctb], Martyn Plummer [cph], 1999-2016 The R Core Team [cph]
Maintainer: Sebastian Krantz <sebastian.krantz at graduateinstitute.ch>
BugReports: https://github.com/SebKrantz/collapse/issues
License: GPL-2 | GPL-3 | file LICENSE [expanded from: GPL (≥ 2) | file LICENSE]
URL: https://sebkrantz.github.io/collapse/, https://github.com/SebKrantz/collapse, https://x.com/collapse_R
NeedsCompilation: yes
Citation: collapse citation info
Materials: NEWS
In views: Econometrics, OfficialStatistics, TimeSeries
CRAN checks: collapse results

Documentation:

Reference manual: collapse.pdf
Vignettes: collapse and sf (source)
collapse Documentation and Resources (source)
collapse for tidyverse Users (source, R code)
collapse's Handling of R Objects (source, R code)

Downloads:

Package source: collapse_2.0.17.tar.gz
Windows binaries: r-devel: collapse_2.0.17.zip, r-release: collapse_2.0.17.zip, r-oldrel: collapse_2.0.17.zip
macOS binaries: r-release (arm64): collapse_2.0.17.tgz, r-oldrel (arm64): collapse_2.0.17.tgz, r-release (x86_64): collapse_2.0.17.tgz, r-oldrel (x86_64): collapse_2.0.17.tgz
Old sources: collapse archive

Reverse dependencies:

Reverse depends: multistateQTL
Reverse imports: africamonitor, amadeus, aorsf, blocs, cheapr, deduped, DepecheR, dfms, dggridR, DisImpact, effectplots, fastdid, fastplyr, fastverse, FuncDiv, joyn, osmclass, PakNAcc, penppml, plm, QTLExperiment, samadb, SGP, summclust, timeplyr, ugatsdb, versus, zoomerjoin
Reverse suggests: arcgisutils, bayestestR, bsitar, ctsem, labelr, marginaleffects, mvgam, ordbetareg, tinycodet

Linking:

Please use the canonical form https://CRAN.R-project.org/package=collapse to link to this page.