Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (1.0.1) of this package.
Take me there.
ropensecretsapi (version 1.0.0)
R Package for the OpenSecrets.org API
Description
An R package for the OpenSecrets.org web services API.
Copy Link
Link to current version
Version
Version
1.0.1
1.0.0
Install
install.packages('ropensecretsapi')
Monthly Downloads
162
Version
1.0.0
License
LGPL-3
Homepage
http://www.r-project.org
Maintainer
Thomas Fuller
Last Published
October 5th, 2014
Functions in ropensecretsapi (1.0.0)
Search all functions
GetCandContribData
Provides the top organizations contributing to specified politician.
GetCongCmteIndusData
Provides summary fundraising information for a specific committee, industry and congress number.
AddAPIKey
Function is used to add the API key to the params that will be sent on every call to OpenSecrets.org; an exception will be thrown if this value is null.
GetMemPFDprofileData
Returns PFD information for a member of Congress.
GetCandIndustryData
Provides the top industries contributing to a specified politician.
GetCandSummaryData
Provides summary fundraising information for a specified politician.
DoGet
Function performs the request for data from the OpenSecrets.org website and returns the result as a data frame.
AddMethod
Function is used to set the OpenSecrets.org API method being called.
GetCandIndByIndData
Provides total contributed to specified candidate from specified industry for specified cycle.
AddKeyValuePair
Function is used to add the key and value to the params that will be sent on every call to OpenSecrets.org; an exception will be thrown if either of these parameters is null.
SetAPIKey
Allows the user to set the OpenSecrets.org API key once thereby removing the need to pass it in for each function call in this package.
GetOrgSummaryData
Provides organization summary data.
GetLegislatorsData
Provides a list of legislators and associated attributes.
AddOutputAsJSON
Function is used to set the output parameter to JSON.
GetOrgsData
Provides organization data.
GetCandSectorData
Provides the top industries contributing to a specified politician.