splitRawdata: Split a raw data file.

View source: R/cqmaTools.R

splitRawdataR Documentation

Split a raw data file.

Description

Split a single raw data file. The output files are prefixed with "traj_specs_".

Usage

splitRawdata(file.in, path.out, colname, keepFlags, cnames, keepCols,
  cnamesTest)

Arguments

file.in

A character.Path to a raw data file

path.out

A character. Path to the folder for storing the resulting files

colname

A character. The name of a column where the flags are located

keepFlags

A character vector. Flags to keep in the raw data. i.e. c("...", "..>")

cnames

A character vector. The name of the columns of the raw data file

keepCols

A character vector. The column names of the raw data file to keep after filtering

cnamesTest

A character vector. The column names used for testing duplicated rows in the filtered data

Value

A list iof three. A character with the name of the new file, a data.frame of duplicated or inconsistent rows, and a data.frame of coordinates which were changed because they have the wrong sign

Author(s)

Alber Sanchez, alber.ipia@inpe.br


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