Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .NGRP; the number of groups #4215

Merged
merged 4 commits into from
Feb 16, 2020
Merged

Add .NGRP; the number of groups #4215

merged 4 commits into from
Feb 16, 2020

Conversation

MichaelChirico
Copy link
Member

@MichaelChirico MichaelChirico commented Jan 30, 2020

Part of #1206 and helps with ad hoc versions of #3060

Open to suggestions for the name, .GRPN is what I used at first, but .NGRP feels more natural to me.

The issue suggested .BY.N but that doesn't feel very natural to me.

If we have a few options I could run a Twitter poll.

@codecov
Copy link

codecov bot commented Jan 30, 2020

Codecov Report

Merging #4215 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4215      +/-   ##
==========================================
+ Coverage   99.61%   99.61%   +<.01%     
==========================================
  Files          72       72              
  Lines       13875    13896      +21     
==========================================
+ Hits        13821    13842      +21     
  Misses         54       54
Impacted Files Coverage Δ
R/merge.R 100% <ø> (ø) ⬆️
src/subset.c 100% <ø> (ø) ⬆️
R/as.data.table.R 100% <ø> (ø) ⬆️
src/assign.c 100% <ø> (ø) ⬆️
R/xts.R 100% <100%> (ø) ⬆️
src/fifelse.c 100% <100%> (ø) ⬆️
src/chmatch.c 100% <100%> (ø) ⬆️
src/dogroups.c 100% <100%> (ø) ⬆️
R/duplicated.R 100% <100%> (ø) ⬆️
R/setkey.R 100% <100%> (ø) ⬆️
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ec9f3b6...18ed808. Read the comment docs.

Copy link
Member

@jangorecki jangorecki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. We could eventually provide a list of those symbols so it can be accessed programmatically. Users could eventually handle specially such variables in their tools - like removing leading dot in expected column name on output. An example of such tools can be dtplyr

NEWS.md Outdated Show resolved Hide resolved
@mattdowle mattdowle added this to the 1.12.9 milestone Feb 16, 2020
@mattdowle mattdowle changed the title Add .NGRP for tracking total count of groups Add .NGRP; the number of groups Feb 16, 2020
@mattdowle mattdowle merged commit 6384147 into master Feb 16, 2020
@mattdowle mattdowle deleted the grpn branch February 16, 2020 18:16
@jangorecki jangorecki modified the milestones: 1.12.11, 1.12.9 May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants