built the data frame to extract tidy data from