Description Usage Arguments Value Examples
View source: R/plot-election.R
Plot an election map
1 2 3 | plot_election_map(years = 2006:2019, provinces = election_provinces())
plot_election(years = 2006:2019, provinces = election_provinces())
|
years |
A vector of |
provinces |
One or more |
A ggplot2::ggplot()
1 2 | plot_election(2019, "Ontario")
plot_election_map(2019, "Ontario")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.