https://github.com/markvanderloo/accumulate
split-apply-combine with optional collapsing groups
https://github.com/markvanderloo/accumulate
Last synced: 8 months ago
JSON representation
split-apply-combine with optional collapsing groups
- Host: GitHub
- URL: https://github.com/markvanderloo/accumulate
- Owner: markvanderloo
- Created: 2022-10-29T07:46:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-06-20T08:27:54.000Z (about 1 year ago)
- Last Synced: 2025-10-22T03:58:34.718Z (8 months ago)
- Language: BibTeX Style
- Size: 438 KB
- Stars: 12
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](http://cran.r-project.org/package=accumulate/)
[](http://cran.r-project.org/package=accumulate/)
[](https://CRAN.R-project.org/package=accumulate)
# accumulate
Split-apply-combine aggregation with dynamic grouping.
The packages implements grouped aggregation, but rather than having static
groups like in `stats::aggregate()` or `dplyr::group_by()` it is possible to
change the grouping according to a user-defined scheme. For example, one may
demand that groups contain at least _n_ records, and collapse certain groups
together if this is not the case.
## Installing
The latest CRAN release can be installed as usual
```r
install.packages("accumulate")
```
The git version can be installed by cloning the repo and using `make`.
```bash
git clone https://github.com/markvanderloo/accumulate
cd accumulate
make install
```
No guarantees that it will actually build, install, or give correct results.
(This is after all the place where development takes place).
## Example
See [the introductory vignette](pkg/vignettes/introduction.md).
## Licence
This software is released under [EUPL](https://commission.europa.eu/content/european-union-public-licence_en).