clean_lead_sheets: Tidy lead sheet file content into a list of tibbles.

View source: R/clean_lead_sheets.R

clean_lead_sheetsR Documentation

Tidy lead sheet file content into a list of tibbles.

Description

A function to read in and tidy data from lead sheets generated with the yield test excel macro.

Usage

clean_lead_sheets(files = NULL)

Arguments

files

A vector of file paths to lead sheet excel files.

Value

A named list of tibbles, one element for each leadsheet. The list names are taken from the file names of the leadsheets. Each list element is a named list of lists. The following data is collected from each leadsheet:

  • Plot techniques: Field techniques used for planting the test.

  • Data to collect: What phenotypes to measure and how many reps for each phenotype.

  • Genotypes: Code numbers and entry names for the genotypes included in the test along with other relevant identifying information for each genotype.

In the final output these tables can be found for each test in the Individual tests element. The Merged tables merges each of these three data sources across all the tests to make three combined tables.


jhgille2/snfR documentation built on Jan. 31, 2023, 2:13 a.m.