lr_parse_csv {lightr}R Documentation

Parse csv files

Description

Parse csv files

Usage

lr_parse_csv(filename, decimal = ".", sep = ",", ...)

Arguments

filename

Path of the file to parse

decimal

Character to be used to identify decimal plates (defaults to .).

sep

Column delimiting characters to be considered in addition to the default (which are: tab, space, and ";")

...

ignored

Details

'processed' column computed by official software and provided as is.

Value

A named list of two elements:

Examples

res_csv <- lr_parse_csv(
  system.file("testdata", "spec.csv", package = "lightr"),
)
head(res_csv$data)
# No metadata is extracted with this parser
res_csv$metadata


[Package lightr version 1.9.0 Index]