R/data.R

#' Mock dataset containing credit statistics by customer at two time intervals.
#' Some customers only exist in one time interval (they either became a
#' customer after the first time interval, or discontinued being a customer
#' before the second time interval).
#'
#' @source Developed by Ketchbrook Analytics
#' @format A data frame with columns:
#' \describe{
#'  \item{customer_id}{Customer ID for 497 unique customers.}
#'  \item{date}{Date of the observation; there are two unique dates in the dataset.}
#'  \item{risk_rating}{Factor representing risk level on a 1-14 scale.}
#'  \item{principal_balance}{Principal balance outstanding on the loan.}
#' }
#' @examples
#' \dontrun{
#'  mock_credit
#' }
"mock_credit"

Try the migrate package in your browser

Any scripts or data that you put into this service are public.

migrate documentation built on Oct. 16, 2021, 1:06 a.m.