Tidy Data Table

  1. Created new function to encapsulate the tidy step of the data
     transformation.

  2. Transformed the data table into a narrow/tall data set.

  3. Split apart all the data values that were encoded in the variable
     names for the data.

  4. Transformed some of the character columns that contain enumerated
     values into factors.