polls_plus.Rd
Find a state/district average of polls and supplement averages with election data in case no recent polls are available for a state or district.
polls_plus(polls, election)
polls | data frame of polls as returned by `polls_filter` |
---|---|
election | tibble of election results (with number of electoral votes) |
tibble of average polls supplemented by last k polls polls_plus(presidential_polls electoral_votes_2016)