79369177

Date: 2025-01-19 15:09:42
Score: 1
Natty:
Report link

Create a list container and loop through the IDs

activity_in_use <- list()

for (i in 1:length(active_people))
{
activity_in_use[[i]] <- filter(d_activity, Id %in% i)
}

Put the list together

dfout <- Reduce(rbind, activity_in_use)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anthony Basooma