Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The dataset that consists of the inspections of restaurants and other food estab

ID: 3305368 • Letter: T

Question

The dataset that consists of the inspections of restaurants and other food establishments in Chicago is given at the following link. The name of some of the variables has space, and this will create a problem for the data analysis.

http:/594442.youcanlearnit.net/inspections.csv

Import the data set from the above link

Rename all the variables as follows

ID, DBAName AKAname, License, FacilityType, Risk, Address, City, State, ZIP, InspectionDate, InspectionType, Results, Violations, Latitude, Longitude and Location

PLEASE PROVIDE R CODE

Explanation / Answer

The file is 167MB . we cant load this much data in R due to in memory constraints.if you have 8gb or higher ram then you should not face problem. However in order to change the column names for the variables

you can use the following R code

if the dataframe is df

then the R snippet is

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote