read a gsi_sim formatted input file into a tibble that rubias can use
read a gsi_sim formatted input file into a tibble that rubias can use
Note that this relies on a system call to awk. It probably won't work on Windows.
read_gsi_sim(path, sample_type, repunits =NULL)
Arguments
path: path to the gsi_sim file
sample_type: should be "reference" or "mixture" depending on what kind of file it is
repunits: the gsi_sim reporting units file. Has no effect if sample_type is "mixture". If sample_type is "reference" and this is left as NULL, then all collections will be put in the the "default_repu".