A great way to explore your data is by using the str() function. Let's apply it to our data frame.

See that? We can now look at the number of observations and variable types. Notice that crop is of type factor instead of character.