Start off with get_candidate_totals. Even though the /candidate/{candidate_id}/totals/ end point only takes one candidate at a time, this function should allow for passing multiple candidate IDs and returning a tidy data frame (or at least relatively tidy, each row will be a candidate even though there may be a lot of 'gather' used with the totals by type).
Start off with get_candidate_totals. Even though the /candidate/{candidate_id}/totals/ end point only takes one candidate at a time, this function should allow for passing multiple candidate IDs and returning a tidy data frame (or at least relatively tidy, each row will be a candidate even though there may be a lot of 'gather' used with the totals by type).