GetCandSummaryData: Provides summary fundraising information for a specified...

Description Usage Arguments Examples

Description

Provides summary fundraising information for a specified politician.

Usage

1

Arguments

params

Any parameter accepted by this web service call – see here.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## Not run: 
 SetAPIKey ("ENTER YOUR PRIVATE API KEY HERE.")
 params <- list (cid="N00007360", cycle="2012")
 tryCatch(
     candSummaryData <- GetCandSummaryData (params),
     error =
         function (e) {
             print (
                 paste (
                     "An exception was thrown -- details follow: ",
                     e,
                     sep=""
                 )
             )
         }
     )
 
## End(Not run)

ropensecretsapi documentation built on May 1, 2019, 10:05 p.m.