GetMemPFDprofileData {ropensecretsapi} | R Documentation |
Returns PFD information for a member of Congress.
Description
Returns PFD information for a member of Congress.
Usage
GetMemPFDprofileData(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 (year="2010", cid="N00007360")
tryCatch(
memPFDprofileData <- GetMemPFDprofileData (params),
error =
function (e) {
print (
paste (
"An exception was thrown -- details follow: ",
e,
sep=""
)
)
}
)
## End(Not run)
[Package ropensecretsapi version 1.0.1 Index]