Skip to contents

Reads in fixed with ICD file, keeping all columns as character variables, trimming white space off ends of each column

Usage

icd_read_fwf(path, width, colNames, fileEncoding = "")

Arguments

path

The file path to the file to be loaded.

width

A numeric vector specifying widths for each of the columns.

colNames

A character vector specifying names of the columns.

fileEncoding

A character string specifying the file encoding of the fixed width file.

Value

A dataframe of the ICD file.