get_col_types: Helper function for 'read_data()': Generate 'col_types'...

Description Usage Arguments Value

View source: R/file_structure_methods.R

Description

Helper function for read_data(): Generate col_types object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
get_col_types(obj, ...)

## S3 method for class 'file_structure_fwf'
get_col_types(obj, ...)

## S3 method for class 'file_structure_dsv'
get_col_types(obj, ...)

## S3 method for class 'file_structure_excel'
get_col_types(obj, ...)

Arguments

obj

A file_structure class or a file_definition class object, that holds all informations needed for reading a specific data set.

...

Optional error handler

Value

A character vector holding the type names of each column needed for the file type specific reading function.


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