View source: R/dataInputPrep.R
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:
batchRun.R
executeRSPARROW.R
Executes Routines:
checkData1NavigationVars.R
checkDupVarnames.R
checkMissingData1Vars.R
createVerifyReachAttr.R
read_dataDictionary.R
readData.R
replaceData1Names.R
unPackList.R
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)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.