Depending on whether the get_ function depends on candidate_id or committee_id, the results of search_candidates can be unintuitive.
Think we should return all natural list columns in search_candidates.
Example of candidate_id:
search_candidates(cycle=2018) %>% get_candidate_totals()
Example of committee_id:
search_candidates(cycle=2018) %>% explode_committee_listcols() %>% get_schedule_a()
Depending on whether the
get_
function depends on candidate_id or committee_id, the results ofsearch_candidates
can be unintuitive.Think we should return all natural list columns in
search_candidates
. Example of candidate_id:search_candidates(cycle=2018) %>% get_candidate_totals()
Example of committee_id:
search_candidates(cycle=2018) %>% explode_committee_listcols() %>% get_schedule_a()