cols_get_attribute: Extract column definitions from 'cols' argument

Description Usage Arguments Value

View source: R/cols.R

Description

Extract column definitions from cols argument

Usage

1

Arguments

cols

A list object, where each entry represents a column definition. Each element of the list, is a list itself with possible entries:

  • name: Column name (optional)

  • type: Colunn type (required)

  • start: Column start postition (optional and only for FWF)

  • end: Column end postition (optional and only for FWF)

  • width: Column width (optional and only for FWF)

attr

A character string, holding the name of the Definition-Attribute, which should be pulled out.

Value

A character or integer vector


a-maldet/readall documentation built on Dec. 18, 2021, 9:23 p.m.