The datatypes of the columns are determined using the function readr::guess_parser().

get_pedigree_datatypes(
  ps_pedig_path,
  ps_delim = "|",
  pcol_types = NULL,
  ptbl_pedigree = NULL
)

Arguments

ps_pedig_path

path to pedigree input file

ps_delim

column delimiter in pedigree input file

pcol_types

column types in the format of cols() used by read_prp_pedigree

ptbl_pedigree

a tibble containing a pedigree

Value

list with datatypes

Details

The result is returned as a list that can be used as input for the function check_pedigree_datatypes

Examples

if (FALSE) { get_pedigree_datatypes(ps_pedig_path = system.file('extdata', 'PopReport_SN_ohne_20210115.csv_adaptfin2.csv', package = 'qprppedigree')) }