get_skip_rows: Helper function for 'read_data()': Calculate the skipped rows

Description Usage Arguments

View source: R/file_structure_methods.R

Description

Currently there is nothing to calculate since skip is returned as it is, no matter what values are in header and col_names.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
get_skip_rows(obj, ...)

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

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

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

## S3 method for class 'file_structure_sas'
get_skip_rows(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


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