Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Getting started with tibbles
4. Tibble structure
Creating tibbles
Subsetting
Summary

Instruction

Now let's check the structure of our new tibble. To do this, use the glimpse() function, which comes with the tibble package. It looks like this:

glimpse(name)

Good to know: glimpse() can also be used with data frames.

Exercise

Use

glimpse(orders)

Observe that text columns are actually character columns, and not factor columns. The output of glimpse() is similar to the output of str(). However, glimpse() adjusts its output to the size of the console. The output of glimpse() is a bit more readable.

Stuck? Here's a hint!

Type:

glimpse(orders)