read_args: Define data import arguments

Description Usage Arguments Value

View source: R/read_nm_tables.R

Description

Define data import arguments

Usage

1
2
read_args(x, quiet, col_types = readr::cols(.default = "d"), na = "NA",
  comment = "TABLE", skip = 1, ...)

Arguments

x

A list containing a the 3 first records of a dataset under '[[1]]'.

quiet

Should messages be displayed to the console.

col_types

Defines the type of each to be passed to the 'readr' import function.

na

Character string defining the values to be treated as 'NA'.

comment

Character string defining the value to mark comments.

skip

Number of rows to be skipped before reading the data.

...

Additional arguments to be passed to the 'readr' function

Value

A list of 2 levels fun (the import function) and params (a list of arguments to be used when calling fun).


guiastrennec/xpose documentation built on Feb. 14, 2018, 4:31 a.m.