Venezuela’s 2015 Parliamentary Elections

December 3, 2015

(This article was first published on Daniel, and kindly contributed to R-bloggers)

Next Sunday Venezuelans are heading to the polls once again with international concerns about the clearness of the balloting. To get an idea about the political climate over there, I've collected some polls available on the internet. The surprising thing from those surveys is a tremendous variability from pollster to pollster about the single topic of voting intention. You may find national polls fielded in the same period with estimates varying as much as 20%, isn't it dramatic? If you always wanted to see house bias operating in practice, the Venezuelan elections may provide you a good case then.


### The data

source = ""

data <- getdata(source)

data$begin <- as.Date(data$begin, format = "%d-%m-%Y")
# just interested in some period
data <- data %>% 
  filter(begin>as.Date("01-07-2014", format = "%d-%m-%Y"))
### The plot
ggplot(data) +
  geom_point(aes(x = begin, y = MUD,size=3),color="gray25") +
  geom_point(aes(x = begin, y = PSUV,size=3), color="tomato") +
  geom_hline(yintercept=0,size=1.2,colour="#535353") +
  plotTitleSubtitle(title="Vote Intentions for the Gop (MUD) and Gov't (PSUV)", subtitle="Black = MUD, Red = PSUV") +
# credits

To leave a comment for the author, please follow the link and comment on their blog: Daniel. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)