GetCandSummaryData {ropensecretsapi} | R Documentation |
Provides summary fundraising information for a specified politician.
Description
Provides summary fundraising information for a specified politician.
Usage
GetCandSummaryData(params)
Arguments
params |
Any parameter accepted by this web service call – see here. |
Examples
## 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)
[Package ropensecretsapi version 1.0.1 Index]