Learn R Programming

LendingClub (version 2.0.0)

AccountSummary: Return the investor's Account Summary

Description

Access the user's account and return the summary data. The data points include available cash, total account balance, and the number of notes in the portfolio.

Usage

AccountSummary(LC_CRED = NULL)

Arguments

LC_CRED

Credential object having class LendingClub_credential. This object can be created using the MakeCredential() function. You can pass the object directly as an argument to the function or alternatively, it can be read from the global environment if it was stored as "LC_CRED".

Value

Object of class LendingClub_api. The object has two components. The first is $content with a data.frame of attributes of the invenstor's account such as available cash and value of the portfolios. The attributes are arranged by rows in the first column and the values are in the second column. The second component is the $response including a timestamp of when the data was retrieved.

See Also

LendingClub-deprecated

Examples

Run this code
# NOT RUN {
LC_CRED<- lc_MakeCredential(InvestorID, APIKey)
AccountSummary()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab