TPDeramus commented on issue #38473:
URL: https://github.com/apache/arrow/issues/38473#issuecomment-1781433271

   I think this would work:
   
   `Terms <- DOI |> filter(treatment_flag == 0, comparator_flag == 0)|> 
group_by(Participant) |> select(starts_with("term_")) |> 
select(!contains("term_names")) |> summarise(across(everything(), ~ sum))`
   
   ```
   But it keeps throwing an error related to the grouping variable:
   Error in `map_chr()`:
   ℹ In index: 19751.
   ℹ With name: Participant.
   Caused by error:
   ! Result must be length 1, not 0.
   Run `rlang::last_trace()` to see where the error occurred.
   ```
   
   Any suggestions on how this could be adjusted?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to