Description Usage Arguments Value Examples
This function extracts the data from a pollyvote container. If the time interval is specified, then the only the data that belongs to the input time interval is returned. Otherwise, whole forecast data is returned.
1 |
pv |
[ |
time_int[ |
the time interval in which forecast data should be returned. e.g time_int = c("2016-10-31", "2017-11-09") |
data frame containing data stored in pv
possibly filtered by election_year
parameter.
1 2 3 4 | pv = create_pollyvote(perm_countries = "D")
data("polls_individual")
pv = add_data(pv, newdata = polls_individual, country = "D", region = "national",
source_type = "poll", election = "BTW")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.