The RR 4 Data Science book has a nice section on load data into R, https://r4ds.had.co.nz/data-import.html
Honestly, R4DS is a great place to start learning R. I'd suggest starting there from chapter 1.
Due note our homework policy here too: FAQ: Homework Policy