Grouping Max Date #175
Unanswered
flachboard
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Is it possible to return the max date per group when grouping?
I'm attempting this, and it returns "NaN" values.
group <- c("Group1", "Group1", "Group2", "Group2")
date <- c("2020-01-03", "2020-01-07", "2020-01-11", "2020-01-21")
temp_df <- data.frame(group, date) %>% group_by(group) %>% reactable( groupBy = "group", columns = list( date = colDef(aggregate = "max") ) )
Beta Was this translation helpful? Give feedback.
All reactions