Hi, I have a dataset of point like this
UserID Long Lat Total_count
001 1 1 13
001 2 2 1
002 3 3 20
002 4 4 2
003 5 5 30
003 6 6 5
.....
How can I pick only the user with maximum total count and keep the long/lat attributes in the output?
Hi, I have a dataset of point like this
UserID Long Lat Total_count
001 1 1 13
001 2 2 1
002 3 3 20
002 4 4 2
003 5 5 30
003 6 6 5
.....
How can I pick only the user with maximum total count and keep the long/lat attributes in the output?
Best answer by redgeographics
If you sort on UserID and Total_count and then use a Sampler, grouped by UserID to sample the first feature you end up with
UserID Long Lat Total_count
001 1 1 13 002 3 3 20 003 5 5 30That's what you want, right?
