In [1]:
from pollster import Pollster
pollster = Pollster()

In [18]:
polls = pollster.polls(state="US",topic="2016-president-gop-primary",page="1")
print polls


http://elections.huffingtonpost.com/pollster/api/polls?topic=2016-president-gop-primary&state=US&page=1
[<Poll: Rasmussen (2016-02-21 - 2016-02-22)>, <Poll: NBC/SurveyMonkey (2016-02-15 - 2016-02-21)>, <Poll: FOX (2016-02-15 - 2016-02-17)>, <Poll: Ipsos/Reuters (2016-02-13 - 2016-02-17)>, <Poll: YouGov/Economist (2016-02-11 - 2016-02-15)>, <Poll: CBS (2016-02-12 - 2016-02-16)>, <Poll: NBC/WSJ (2016-02-14 - 2016-02-16)>, <Poll: Suffolk/USA Today (2016-02-11 - 2016-02-15)>, <Poll: Morning Consult (2016-02-15 - 2016-02-16)>, <Poll: Quinnipiac (2016-02-10 - 2016-02-15)>]

In [19]:
polls2 = pollster.polls(state="US",topic="2016-president-gop-primary",page="2")
print polls2


http://elections.huffingtonpost.com/pollster/api/polls?topic=2016-president-gop-primary&state=US&page=2
[<Poll: NBC/SurveyMonkey (2016-02-08 - 2016-02-14)>, <Poll: Morning Consult (2016-02-10 - 2016-02-11)>, <Poll: Ipsos/Reuters (2016-02-06 - 2016-02-10)>, <Poll: NBC/SurveyMonkey (2016-02-01 - 2016-02-07)>, <Poll: Morning Consult (2016-02-03 - 2016-02-07)>, <Poll: Rasmussen (2016-02-03 - 2016-02-04)>, <Poll: Quinnipiac (2016-02-02 - 2016-02-04)>, <Poll: Ipsos/Reuters (2016-01-30 - 2016-02-03)>, <Poll: PPP (D) (2016-02-02 - 2016-02-03)>, <Poll: Morning Consult (2016-02-02 - 2016-02-03)>]

In [20]:
print type(polls)


<type 'list'>

In [34]:
bigpolls = polls + polls2
print bigpolls


[<Poll: Rasmussen (2016-02-21 - 2016-02-22)>, <Poll: NBC/SurveyMonkey (2016-02-15 - 2016-02-21)>, <Poll: FOX (2016-02-15 - 2016-02-17)>, <Poll: Ipsos/Reuters (2016-02-13 - 2016-02-17)>, <Poll: YouGov/Economist (2016-02-11 - 2016-02-15)>, <Poll: CBS (2016-02-12 - 2016-02-16)>, <Poll: NBC/WSJ (2016-02-14 - 2016-02-16)>, <Poll: Suffolk/USA Today (2016-02-11 - 2016-02-15)>, <Poll: Morning Consult (2016-02-15 - 2016-02-16)>, <Poll: Quinnipiac (2016-02-10 - 2016-02-15)>, <Poll: NBC/SurveyMonkey (2016-02-08 - 2016-02-14)>, <Poll: Morning Consult (2016-02-10 - 2016-02-11)>, <Poll: Ipsos/Reuters (2016-02-06 - 2016-02-10)>, <Poll: NBC/SurveyMonkey (2016-02-01 - 2016-02-07)>, <Poll: Morning Consult (2016-02-03 - 2016-02-07)>, <Poll: Rasmussen (2016-02-03 - 2016-02-04)>, <Poll: Quinnipiac (2016-02-02 - 2016-02-04)>, <Poll: Ipsos/Reuters (2016-01-30 - 2016-02-03)>, <Poll: PPP (D) (2016-02-02 - 2016-02-03)>, <Poll: Morning Consult (2016-02-02 - 2016-02-03)>]

In [41]:



20
10
10

In [ ]: