calculate_prob          Calculate coalition probability from majority
                        table
calculate_probs         Calculate coalition probabilities for multiple
                        coalitions
collapse_parties        Transform surveys in long format
dHondt                  Seat Distribution by D'Hondt
draw_from_posterior     Draw random numbers from posterior distribution
get_probabilities       Wrapper for calculation of coalition
                        probabilities from survey
get_seats               Calculate seat distribution from draws from
                        posterior
get_surveys             Scrape surveys from all pollsters
gg_survey               Plot voter shares observed in one survey
hare_niemeyer           Seat Distribution by Hare/Niemeyer
have_majority           Do coalitions have a majority
party_colors_de         Colors for German parties
party_labels_de         Labels for German parties
pool_surveys            Obtain pooled survey during specified period
redistribute            Calculate percentage of votes/seats after
                        excluding parties with 'votes < hurdle'
scrape_austria          Import Austrian survey results
scrape_wahlrecht        Scrape surveys for German general election
sls                     Seat Distribution by Sainte-Lague/Schepers
surveys_sample          Sample of selected surveys
try_readHTML            Try call of read_html that throws an error if
                        the url cannot be resolved
