Part 1 – General Data Cleaning – 25points
Use the provided faux_data.csv dataset. This file contains first name, last name, employee ID, gender, address, dollar, data, and comment data that needs to be cleaned. Follow the steps below to clean the dataset:
R code:
rm(list = ls(all = T))
#step 1
library(readxl)
df = read.csv(choose.files(),stringsAsFactors = FALSE)
head(df)
Get Free Quote!
272 Experts Online