Skip to content

Instantly share code, notes, and snippets.

@jasonsippie
jasonsippie / gist:7f7c8917e8aa8269bfc32eac4621be48
Created October 20, 2016 14:12
Processing Lending Club Data
# This script reads files whose layouts have been standardized and performs:
# 1. Basic data cleanup
# 2. Calculation of some derived values (e.g., percentile ranks, defines outlier loans,
# create a hypothetical loan grade for outliers)
# The results are then read by an RMD file for integration into a presentation
wd = '~/R files/lendingClub'
allFiles = c("Loans2012-2013.csv","loans40k.csv")