Skip to content

Commit c9187a7

Browse files
committed
added an example classification data set
1 parent 68d22a2 commit c9187a7

File tree

8 files changed

+233
-0
lines changed

8 files changed

+233
-0
lines changed

DESCRIPTION

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Encoding: UTF-8
1111
LazyData: true
1212
ByteCompile: true
1313
VignetteBuilder: knitr
14+
Depends:
15+
R (>= 2.10)
1416
Imports:
1517
rlang (>= 0.1.6.9003),
1618
purrr,

R/data.R

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#' Loan Data
2+
#'
3+
#' @details These data were downloaded from the Lending Club
4+
#' access site (see below) and are from the first quarter of 2016.
5+
#' A subset of the rows and variables are included here. The
6+
#' outcome is in the variable `Class` and is either "good" (meaning
7+
#' that the loan was fully paid back or currently on-time) or "bad"
8+
#' (charged off, defaulted, of 21-120 days late). A data dictionary
9+
#' can be found on the source website.
10+
#'
11+
#' @name lending_club
12+
#' @aliases lending_club
13+
#' @docType data
14+
#' @return \item{lending_club}{a data frame}
15+
#'
16+
#' @source Lending Club Statistics https://www.lendingclub.com/info/download-data.action
17+
#'
18+
#' @keywords datasets
19+
#' @examples
20+
#' data(lending_club)
21+
#' str(lending_club)
22+
NULL

_pkgdown.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ reference:
1212
contents:
1313
- rand_forest
1414
- logistic_reg
15+
- title: Data
16+
contents:
17+
- lending_club
1518

1619
navbar:
1720
left:

data/datalist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lending_club: lending_club

data/lending_club.rda

150 KB
Binary file not shown.

docs/reference/index.html

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/lending_club.html

Lines changed: 161 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/lending_club.Rd

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)