A Lending Club API Wrapper

Functions to access Lending Club's API and assist the investor manage their account. Lending Club is a peer-to-peer lending service where loans are broken up into $25 notes that investors buy with the expectation of earning a return on the interest. You can learn more about the API here: < http://www.lendingclub.com/developers/lc-api.action>.


Build Status Coverage status CRAN_Status_Badge DOI

Access the Lending Club API

The LendingClub package is a set of functions that enables you to work with your LendingClub account from R. The package contains tools for:

  1. Account management such as viewing the account balance
  2. Transfer funds in our out of the account
  3. Transact on your account by buying or selling notes

Installation

You can install the stable version on CRAN:

install.packages("LendingClub")
library(LendingClub)

Or use devtools to install the development version from Github:

devtools::install_github("kuhnrl30/LendingClub")
library(LendingClub)

Usage

Read the quick start guide

Credits

This packages is powered by:

License

This package is free and open source software, licensed under MIT.

Want to Contribute?

There are multiple ways you can contribute to this open source project. Add new functions, squash some bugs, work on the website, or improving the documentation are some of the ways you can help.

Pull requests are welcome!

News

LendingClub 2.0.0

  • Changed the overall API to include the lc_ prefix. This will improve the user experience with better code completion. Original functions are deprecated but have not been removed.
  • Added unit tests via the testthat package and codecov.io. Current coverage is 54%
  • Lending Club updated the folio secondary market API which affected several functions:
    • The loanId and orderId are no longer required to purchase notes on the secondary market. These arguments are deprecated from the FolioBuy and FolioSell functions. The change is non-breaking but the function will return a warning if these arguments are passed in the function call.
    • The FolioOrders function was added to see either buy or sell orders submitted in the current month.
    • The FolioListing function now able to filter the results by the time elapsed since the note was updated. The function executes much faster.
  • Bug fixes

LendingClub 1.0.4

  • New Function: Dashboard() which knits an html with summary statistics.
  • New Function: AccountSummary_() to replace AccountSummary().
  • Added additional S3 classes for ListedLoans and AccountSummary allowing for print and summary methods.
  • Deprecated AccountSummary()

LendingClub 1.0.3

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("LendingClub")

2.0.0 by Ryan Kuhn, 7 months ago


https://github.com/kuhnrl30/LendingClub


Report a bug at https://github.com/kuhnrl30/LendingClub/issues


Browse source code at https://github.com/cran/LendingClub


Authors: Ryan Kuhn [aut, cre]


Documentation:   PDF Manual  


Task views: Web Technologies and Services


MIT + file LICENSE license


Imports dplyr, plyr, httr, jsonlite, utils, readr

Suggests knitr, rmarkdown, testthat, covr


See at CRAN