

If you click on the following link it should take you to download 4 data files into a zip folder called RClass. However, to do that you’ll need to have the same data files saved to your computer that I do.
It’s best if you practice loading in data along with the chapter. I’ll also provide the code to read in other types of data too, just for fun. As such, this chapter is going to go into the most depth on opening csv files. It’s the most flexible, it’s easy to open in excel if you want to look at it quickly, and you can open csv files in any software (not just R). When you’re given multiple options, I’d recommend choosing. Different websites you use to collect data will often give you different options, so it’s best to just sort of accept that you’re gonna have to be ready to work with it in different forms. Why does data come in different forms? I don’t know. R can read in a lot of different types of data, and it can also export data into a lot of different forms with a few different basic commands. There are a few different ways, depending on how the data is saved. The data() command is great when we’re just getting started because R has so many easy and pre-cleaned data sets available, but eventually you’ll want to work with your own data. But that command wont work if we’re loading data in that is saved to our computer. Reading data that already exists in r is quite simple, we just need the data() command. Up to this point the book has used a lot of data that is built into R.
