read.simple.csv: read.simple.csv

View source: R/ReadWriter.R

read.simple.csvR Documentation

read.simple.csv

Description

Read in a file with excel style data: rownames in col1, headers SHIFTED. The header should start with a TAB / First column name should be empty.

Usage

read.simple.csv(
  ...,
  colnames = TRUE,
  coltypes = NULL,
  wRownames = TRUE,
  NaReplace = TRUE,
  asTibble = FALSE,
  nmax = Inf
)

Arguments

...

Multiple simple variables to parse.

colnames

Are there column names?, Default: TRUE

coltypes

What type of variables are in columns? Auto-guessing can be very slow., Default: NULL

wRownames

With rownames?, Default: TRUE

NaReplace

Replace NA-values?, Default: TRUE

asTibble

Load as tibble or dataframe?, Default: FALSE (=load as df)

nmax

Max number of rows to read, Default: Inf

See Also

read_delim na.replace

Examples

## Not run: 
if (interactive()) {
  # read.simple.csv("path/to/my.file")
}

## End(Not run)

vertesy/ReadWriter documentation built on Nov. 24, 2024, 10:40 p.m.