get_file_type: Get the specified file type

Description Usage Arguments Value File types

View source: R/file_structure_methods.R

Description

Get the specified file type

Usage

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

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

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

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

## S3 method for class 'file_structure_sas'
get_file_type(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 string holding the file type defined in obj

File types

The function read_data() can read read four different types of data


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