Session Ready
Exercise

Wide and Long Data 1

In this exercise, you will explore the long format of the hdi_cpi_2015 dataframe and convert it to a wide format using the spread() function from the tidyr package.

Note that:

  • rbokeh is pre-loaded
  • hdi_cpi_data_long dataframe is available in this session
Instructions 1/2
undefined XP
  • 1
  • 2
  • Explore hdi_cpi_data_long using str().