Description Usage Arguments Details Value Functions
View source: R/field_book_table.R
Creates/checks data.frame objects for Field Book Table format.
Reads in data from a Field Book Table as a fbt
object.
1 2 3 4 5 6 |
fbt |
A Field Book Table object or an object to convert into a Field Book Table object. |
unique.id |
The column name of the Field Book data frame that corresponds to the unique identification of each entry in the data table. Defaults to 'plot_id.' |
row |
The column name of the Field Book data frame that corresponds to the row of each entry in the data table. Defaults to 'row.' |
column |
The column name of the Field Book data frame that corresponds to the column of each entry in the data table. Defaults to 'column.' |
line.name |
The column name of the Field Book data frame that corresponds to the column of each entry name in the data table. Defaults to 'line.name.' |
other.cols |
A character vector of other non-trait columns. |
check.names |
Logical whether the column names should be checked for proper formatting. |
file |
The path to the Field Book Table .csv to be read in. |
as_field_book_table
converts data to a data.frame
object with
formatting consistent with the Field Book Table.
A Field Book Table is a .csv file obtained by exporting data from the Field Book app (http://wheatgenetics.org/field-book). See the app manual for instructions for exporting data. To export a Field Book Table file, one must check the "Table" format and the "All Important Columns" boxes when exporting. Data from a Field Book Table file will have at least three required columns: a unique identifier, the row, and the column. Remaining columns can include other variables.
An object of class data.frame
with formatting consistent with Field Book Table.
read_fb
:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.