dataInputPrep: dataInputPrep

Description Usage Arguments

View source: R/dataInputPrep.R

Description

Imports data1.csv and dataDictionary.csv files, checks for duplicate sparrowNames, replaces data1UserNames with sparrowNames in the data1 object, checksreach navigation variables for large integers and/or all missing values, creates and/or verifies navigation variables and demtarea, saves data1 and data_names (dataDictionary.csv import object) objects as binary file in top level of results (input_data_fileName)_priorImport, and saves data_names and data1 to .GlobalEnv

Executed By:


Executes Routines:


Usage

1
2
3
dataInputPrep(file.output.list, input_data_fileName, if_reverse_hydseq,
  if_verify_demtarea, calculate_reach_attribute_list, mapping.input.list,
  batch_mode)

Arguments

input_data_fileName

name of users data1 file

if_reverse_hydseq

yes/no indicating whether hydseq in the DATA1 file needs to be reversed from sparrow_control

if_verify_demtarea

specify whether or not to verify demtarea

calculate_reach_attribute_list

list of attributes to calculate

batch_mode

yes/no character string indicating whether RSPARROW is being run in batch mode


tbep-tech/tbepRSparrow documentation built on Oct. 9, 2020, 6:24 a.m.