October 2017
Beginner to intermediate
236 pages
7h 38m
English
At the beginning, the setwd() function sets the data location for the R session. After that, using dir(), it extracts the name of the CSV files. This way you do not need to give the filename manually. Once you have the CSV filename stored in an object, you will be able to use that object later.
Make sure that you load the RevoScaleR library before calling the rxImport() function. Since you are working with 12 CSV files, you need a loop to call each CSV file through rxImport(). The first CSV file will then have converted into an XDF file and been stored in the USAirline2016.xdf file. The subsequent CSV file is then imported and appended into that same file.
When you run the rxImport() function, you will be able to see the following ...