R/importCsvSAPMUE.R

Defines functions importCsvSAPMUE

Documented in importCsvSAPMUE

#' import csv with usually format used in SAPMUE
#'
#' The csv files usually used in SAPMUE have a special format:
#' - fields separation with ";"
#' - row header
#' - sometimes the rows have unequal length
#'
#' This function allow the import with that format.
#'
#' @param filename: name of the file to be imported.
#' @return A dataframe with the content of the csv, with column names and with
#' blank fields in rows with unequal length.
#' @export

importCsvSAPMUE <- function(filename){
  file <- read.table(file=filename, head=TRUE, sep=";", fill=TRUE)
}
Eucrow/sapmuebase documentation built on June 23, 2024, 7:21 p.m.