import_tricoder: Import tricoder data

Description Usage Arguments Value Examples

View source: R/import_tricoder.R

Description

import_tricoder imports a directory of csv Tricoder files. Choose whether bodysize or offspring + death data is to be imported and the column headings will be set correctly.

Usage

1
import_tricoder(dataset_dir, data_type, ext = "txt", ...)

Arguments

dataset_dir

A string indicating the location of the directory of csv files to import.

data_type

A string indicating the type of data to import. Can be either "size" or "offspring" at the moment.

ext

A string indicating the extension of files to be imported. Defaults to txt.

Value

A single tibble.

Examples

1
2
3
test_data <- import_tricoder(dataset_dir = "./Bodysize/",
                  data_type = "size",
                  ext = "txt")

daflealab/genlabfunc documentation built on May 27, 2019, 7:25 a.m.