Readr
Summary

Instruction

So with spec(), we can see each column's type. That's helpful, but we need to find the source of our problems. To do this, we use the problems() function. It allows us to see any problems (warnings) that occurred when R read the file. Like spec(), this is an easy function to use. If we were using it on the students dataset, all we'd need to write is:

problems(students)

Exercise

Find out what problems we have with companies. Use the problems() function. What do you think we will find?

Stuck? Here's a hint!

Type:

problems(companies)