Learn R Programming

LendingClub (version 2.0.0)

lc_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 account

Usage

lc_AccountSummary(LC_CRED = NULL)

Arguments

LC_CRED

Credential object having class LendingClub_credential. This object can be created using the lc_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 data arranged as a 1 row data.frame with an attribute in each column. The second component is the $response including a timestamp of when the data was retrieved.

Examples

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

Run the code above in your browser using DataLab