Keeps only candidates in each ballot, each at its first rank. With appendUnranked (default true), a ballot that ranks anyone also ranks the rest, tied last.
candidates
appendUnranked
Keeps only
candidatesin each ballot, each at its first rank. WithappendUnranked(default true), a ballot that ranks anyone also ranks the rest, tied last.