| as_survey | Creates basic survey table from votes in percent |
| 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 |
| effective_samplesize | Calculate the effective sample size |
| extract_num | Extract numerics from string or character |
| filter_superior | Remove rows from table for which superior coalitions are... |
| get_eligible | Extract surveys from institutes within a specified... |
| get_entryprobability | Get probabilities to enter the parliament. |
| get_meta | Extract "meta" information from survey data base |
| get_n | Total number of survey participants from surveys eligible for... |
| get_pooled | Extract effective sample size for pooled sample |
| get_probabilities | Wrapper for calculation of coalition probabilities from... |
| get_seats | Calculate seat distribution from draws from posterior |
| get_superior | Extract superior coalitions from coalition string or vector |
| get_surveys | Scrape surveys from all pollsters |
| gg_survey | Plot voter shares observed in one survey |
| hare_niemeyer | Seat Distribution by Hare/Niemeyer |
| has_majority | Does a coalition have a majority |
| have_majority | Do coalitions have a majority |
| party_colors_de | Colors for German parties |
| party_labels_de | Labels for German parties |
| paste_coalitions | Transform list of coalitions to vector by combining party... |
| pipe | Pipe operator |
| pool_austria | Pool surveys from different pollsters |
| pool_surveys | Obtain pooled survey during specified period |
| prettify | Replace/prettify matching words/terms in one vector by... |
| redistribute | Calculate percentage of votes/seats after excluding parties... |
| sanitize_colnames | Sanitize column names |
| sanitize_strings | Sanitize character vector |
| scrape | Scrape surveys for German general election |
| scrape_austria | Import Austrian survey results |
| 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... |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.