fastReadfwf: fastReadfwf: A package for fast-reading fixed-width files.

Description Details

Description

The fastReadfwf package provides a standardised wrapper for functions fread and read_fwf from packages data.table and readr.

Details

The premise is the construction of a standardised schema to read each file. This schema is essentially a data matrix with columns:

This standardised schema is implemented as an S4 class called StfwfSchema with constructors based on different input file formats (xlsx, csv, ...) specified by the user.

The package provides different getters and setters for objects of this class.

The core functions of the package, apart from the class management functions, are:


david-salgado/fastReadfwf documentation built on Dec. 25, 2021, 12:43 p.m.