R/read.R

Defines functions read_2 read_1

# read_1 -----------------------------------------------------------------------
read_1 <- function(file)
{
  utils::read.csv2(
    file, stringsAsFactors = FALSE
  )
}

# read_2 -----------------------------------------------------------------------
read_2 <- function(file, ...)
{
  utils::read.table(
    file, header = TRUE, sep = ";", dec = ".", stringsAsFactors = FALSE, ...
  )
}
KWB-R/kwb.ogre.model documentation built on Dec. 18, 2021, 2:37 a.m.