Explore Financial Data in R
Now that we have the data file in our working directory, we can load it in our R session and start exploring it.
Use the following command to load the data into R.
1> loandata = read.csv("loan_data_2017.csv",stringsAsFactors=FALSE)
2The âstringsAsFactors = FALSEâ parameter turns off the automatic conversion of character strings to factors.
Let's set the seed to 0 so that we can replicate the results.
set.seed(0)
Before we proceed with our analysis, we need to understand whatâs contained in the dataset. We may also possibly want to remove unwanted data and transform some data to make it usable for analysis.

