Learn R Programming

LendingClub (version 2.0.0)

lc_CreatePortfolio: Create a new portfolio

Description

Create a new portfolio to assign loans to. Notes can be assigned to a portfolio using the API when they are purhcased from the primary market.

Usage

lc_CreatePortfolio(port_name, port_desc, LC_CRED = NULL, quiet = T)

Arguments

port_name

String. Name of the new portfolio

port_desc

String. Portfolio description

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".

quiet

Should the response be printed to the console