plyr

A R package for splitting, applying and combining large problems into simpler problems

https://github.com/hadley/plyr

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    3 of 20 committers (15.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.6%) to scientific vocabulary

Keywords from Contributors

visualisation package-creation date-time devtools unit-testing tidy-data setup rmarkdown documentation-tool travis-ci
Last synced: 10 months ago · JSON representation

Repository

A R package for splitting, applying and combining large problems into simpler problems

Basic Info
  • Host: GitHub
  • Owner: hadley
  • License: other
  • Language: R
  • Default Branch: main
  • Homepage: plyr.had.co.nz
  • Size: 14.2 MB
Statistics
  • Stars: 502
  • Watchers: 46
  • Forks: 113
  • Open Issues: 28
  • Releases: 9
Created over 17 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog License

README.md

plyr

Lifecycle: retired CRAN status R-CMD-check Codecov test coverage <!-- badges: end -->

plyr is a set of tools for a common set of problems: you need to split up a big data structure into homogeneous pieces, apply a function to each piece and then combine all the results back together. For example, you might want to:

  • fit the same model each patient subsets of a data frame
  • quickly calculate summary statistics for each group
  • perform group-wise transformations like scaling or standardising

It's already possible to do this with base R functions (like split and the apply family of functions), but plyr makes it all a bit easier with:

  • totally consistent names, arguments and outputs
  • convenient parallelisation through the foreach package
  • input from and output to data.frames, matrices and lists
  • progress bars to keep track of long running operations
  • built-in error recovery, and informative error messages
  • labels that are maintained across all transformations

Considerable effort has been put into making plyr fast and memory efficient, and in many cases plyr is as fast as, or faster than, the built-in equivalents.

A detailed introduction to plyr has been published in JSS: "The Split-Apply-Combine Strategy for Data Analysis", http://www.jstatsoft.org/v40/i01/. You can find out more at https://had.co.nz/plyr/, or track development at https://github.com/hadley/plyr. You can ask questions about plyr (and data manipulation in general) on the plyr mailing list. Sign up at https://groups.google.com/group/manipulatr.

Status Lifecycle: retired

plyr is retired: this means only changes necessary to keep it on CRAN will be made. We recommend using dplyr (for data frames) or purrr (for lists) instead.

Owner

  • Name: Hadley Wickham
  • Login: hadley
  • Kind: user
  • Location: Houston, TX
  • Company: @posit-pbc

Chief Scientist at @posit-pbc

GitHub Events

Total
  • Watch event: 8
  • Push event: 2
  • Pull request event: 1
Last Year
  • Watch event: 8
  • Push event: 2
  • Pull request event: 1

Committers

Last synced: 12 months ago

All Time
  • Total Commits: 862
  • Total Committers: 20
  • Avg Commits per committer: 43.1
  • Development Distribution Score (DDS): 0.252
Past Year
  • Commits: 2
  • Committers: 2
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.5
Top Committers
Name Email Commits
hadley h****m@g****m 645
Kirill Müller k****r@i****h 92
Peter Meilstrup p****p@g****m 38
Winston Chang w****n@s****g 20
dougmitarotonda d****a@g****m 16
tim bates t****s@g****m 14
hadley h****y@6****c 11
homer h****g@g****m 6
Richard Cotton r****s@g****m 3
Henrik Bengtsson hb@a****g 2
baptiste b****e@g****m 2
Will Beasley w****y@h****m 2
Susanne Oberhauser S****r@g****e 2
Jim Hester j****r@g****m 2
Jean-Olivier Irisson i****n@n****g 2
Martin Mächler m****r@s****h 1
Michael Chirico m****4@g****m 1
bettinagruen 3****n 1
scottko s****k@g****m 1
tj mahr m****r@w****u 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 2
  • Total pull requests: 101
  • Average time to close issues: 8 days
  • Average time to close pull requests: 7 months
  • Total issue authors: 2
  • Total pull request authors: 35
  • Average comments per issue: 0.0
  • Average comments per pull request: 2.91
  • Merged pull requests: 53
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jarbet (1)
  • hadley (1)
Pull Request Authors
  • krlmlr (32)
  • crowding (8)
  • wch (8)
  • dougmitarotonda (6)
  • tbates (5)
  • wibeasley (5)
  • jiho (3)
  • MichaelChirico (3)
  • ghost (2)
  • HenrikBengtsson (2)
  • froh (2)
  • jimhester (2)
  • mike-lawrence (2)
  • mculbert (1)
  • lhsego (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • cran 299,301 last-month
  • Total docker downloads: 79,552,719
  • Total dependent packages: 1,110
    (may contain duplicates)
  • Total dependent repositories: 5,627
    (may contain duplicates)
  • Total versions: 44
  • Total maintainers: 1
cran.r-project.org: plyr

Tools for Splitting, Applying and Combining Data

  • Versions: 35
  • Dependent Packages: 1,110
  • Dependent Repositories: 5,627
  • Downloads: 299,301 Last month
  • Docker Downloads: 79,552,719
Rankings
Dependent repos count: 0.1%
Dependent packages count: 0.1%
Downloads: 0.5%
Forks count: 0.5%
Stargazers count: 0.8%
Average: 3.2%
Docker downloads count: 17.3%
Maintainers (1)
Last synced: 11 months ago
proxy.golang.org: github.com/hadley/plyr
  • Versions: 9
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.5%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.1.0 depends
  • Rcpp >= 0.11.0 imports
  • abind * suggests
  • covr * suggests
  • doParallel * suggests
  • foreach * suggests
  • iterators * suggests
  • itertools * suggests
  • tcltk * suggests
  • testthat * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v3 composite
  • actions/upload-artifact v3 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite