Image:NZ opinion polls 2005-2008.png

From Wikipedia, the free encyclopedia

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is a freely licensed media file repository. You can help.

[edit] Summary

Description

Graph showing support for political parties in New Zealand since the 2005 election, according to various political polls. See w:Opinion_polling_for_the_New_Zealand_general_election,_2008 for details of the polling data.

Source

self-made

Date

24 March 2008, updated 4 May 2008.

Author

Avenue (Avenue)

Permission
(Reusing this image)

see below


This graph was created using R's ggplot2 package. Here is the source code, available under GPL version 2 and later as well as the licenses below.

library(reshape)
library(ggplot2)
polls <- read.csv("NZ opinion polls 2006-2008.csv")
polls$Date <- as.Date(polls$Date)
lpolls <- melt(polls[,-3], id.var=c("Poll", "Date"), variable_name="Party")
names(lpolls)[4] <- "Support"
levels(lpolls$Party)[3:4] <- c("NZ First", "Maori Party")
levels(lpolls$Party)[7] <- "United Future"
lpolls$Party <- with(lpolls, reorder(Party, Support, na.rm=TRUE))
p <- ggplot(lpolls[(lpolls$Date >= as.Date("2005-09-17")) & 
    (lpolls$Party %in% c("Labour", "National", "NZ First", "Greens")),], 
    aes(x=Date, y=Support, colour=factor(Party)))
p + geom_point() + stat_smooth() + 
    scale_colour_manual(name = "Party", values = c("black", "forestgreen", "red", "blue")) + 
    scale_x_date(major="4 months", format="%b-%Y") +
    scale_y_continuous(breaks=seq(from=0, to=55, by=5), name="Party support (%)")

[edit] Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation license, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation license".

Aragonés | العربية | Asturianu | Български | বাংলা | ইমার ঠার/বিষ্ণুপ্রিয়া মণিপুরী | Brezhoneg | Bosanski | Català | Cebuano | Česky | Dansk | Deutsch | Ελληνικά | English | Esperanto | Español | Eesti | Euskara | فارسی | Suomi | Français | Gaeilge | Galego | עברית | Hrvatski | Magyar | Bahasa Indonesia | Ido | Íslenska | Italiano | 日本語 | ქართული | ភាសាខ្មែរ | 한국어 | Kurdî / كوردی | Latina | Lëtzebuergesch | Lietuvių | Bahasa Melayu | Nnapulitano | Nederlands | ‪Norsk (nynorsk)‬ | ‪Norsk (bokmål)‬ | Occitan | Polski | Português | Română | Русский | Slovenčina | Slovenščina | Shqip | Српски / Srpski | Svenska | తెలుగు | ไทย | Türkçe | Українська | اردو | Tiếng Việt | Volapük | Yorùbá | ‪中文(中国大陆)‬ | ‪中文(台灣)‬ | +/-

Some rights reserved
Creative Commons Attribution iconCreative Commons Share Alike icon
This file is licensed under the Creative Commons Attribution ShareAlike license versions 3.0, 2.5, 2.0, and 1.0

Български | Català | Česky | Dansk | Deutsch | Ελληνικά | English | Español | Euskara | Estremeñu | Français | עברית | Italiano | 日本語 | 한국어 | Lietuvių | Nederlands | ‪Norsk (bokmål)‬  | Occitan | Polski | Piemontèis | Português | Русский | 中文 | +/-

You may select the license of your choice.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current10:21, 4 May 20081,600×1,198 (176 KB)Avenue
04:08, 23 April 20081,600×1,198 (169 KB)Avenue
11:10, 24 March 20081,600×1,198 (167 KB)Avenue (== Summary == {{Information |Description=Graph showing support for political parties in New Zealand since the 2005 election, according to various political polls. See w:Opinion_polling_for_the_New_Zealand_general_election,_2008 for details of the po)
02:07, 24 March 20081,528×1,166 (207 KB)Avenue ({{Information |Description=Graph showing support for political parties in New Zealand since the 2005 election, according to various political polls. See w:Opinion_polling_for_the_New_Zealand_general_election,_2008 for details of the polling data. |S)
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):