Question: Please us the csv file and answer the question by R studio https://github.com/wampeh1/Ecog314_Spring2017/blob/master/Lecture5/lending_club_loans.csv # ----------# # load the dplyr library #--------------# # Exercise 1 #

Please us the csv file and answer the question by R studio

https://github.com/wampeh1/Ecog314_Spring2017/blob/master/Lecture5/lending_club_loans.csv

# ----------#
# load the dplyr library
#--------------#
# Exercise 1
# -------------#
########
# Part a
# Read in the raw data and assign it to lending_club.
# HINT: Be sure to read characters in as characters and not as factors
# What are the dimensions of the lending club data frame?
##########
# Part b
# Take a look at your loans data frame by calling it in the console,
# does the formatting look good, are the types correct?
# What is the type of the following variables (use the typeof() function):
# id, term ,int_rate, loan_amnt, issue_d, and installment?
###########
# Part c
# Create a new data frame called lending_club_small and keep the following columns:
# id, loan_amnt, funded_amnt, term, int_rate, installment, grade, emp_length,
# home_ownership, annual_inc, issue_d, loan_status, total_acc, addr_state.
lending_club_small <-
###########
# Part e
# What does the substr function do?
# what arguments does it use?
## ANSWER HERE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!