Skip to contents

Needs RDCOMclient, readxl

Usage

createlog(SurveyName, DirNameFile)

Arguments

SurveyName

- name of survey

DirNameFile

excel file - contains paths and locations of files

exportloc

is an optional argument for using the Export_Dir or the Region_Export_dir column entry in the DirNameFile spreadsheet. 1 is Export_Dir, and 0 is Region_Export_dir

Examples

SurveyName='2022_LEG1LOG'
SurveyName=c('2022_LEG1LOG', '2022_LEG2LOG')
DirNameFile='C:/rthomas/R/Rcode/EK60_EK80 conversion/EK60_EK80_conv_updated/Directory Structure EK60 EK80 conversion updated.xlsx'
createlog(SurveyName,DirNameFile)
#> Error: `path` does not exist: ‘C:/rthomas/R/Rcode/EK60_EK80 conversion/EK60_EK80_conv_updated/Directory Structure EK60 EK80 conversion updated.xlsx’