Used str(tidydata) to get the variables names and types.