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', 'plm' (panel-series and data frames), and 'xts'/'zoo'.

Version: 2.0.10
Depends: R (≥ 3.3.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
Published: 2024-02-17
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://twitter.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 Documentation and Resources
collapse for tidyverse Users
collapse's Handling of R Objects

Downloads:

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

Reverse dependencies:

Reverse imports: africamonitor, aorsf, blocs, cheapr, deduped, DepecheR, dfms, DisImpact, fastverse, FuncDiv, fwildclusterboot, osmclass, penppml, plm, QTLExperiment, samadb, summclust, timeplyr, ugatsdb, versus
Reverse suggests: arcpbf, labelr, marginaleffects, ordbetareg, tinycodet

Linking:

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