files2df: Read text files into data.frames

View source: R/util.R

files2dfR Documentation

Read text files into data.frames

Description

Read text files into data.frames (one per file)

Usage

files2df(file.vec, header, skip, cnames)

Arguments

file.vec

A vector of character. The paths to the input files

header

A logical. Do the files have a header row?

skip

A numeric. Lines to skip from the top of the file

cnames

A vector of character. The column names of the data in the files

Value

A list of data.frames. The list names matches the file names

Author(s)

Alber Sanchez, alber.ipia@inpe.br


albhasan/cqmaTools documentation built on Dec. 12, 2023, 9:25 a.m.