Skip to contents

Read in a directory of .csv files (can be of several variables) exported from Echoview. The function preserves the cells by depth. Uses packages readxl, readr, purrr, and dplyr.

Usage

read_EV_exports(var, SurveyName, DirNameFile, database = 1, exportloc = 1, ...)

Arguments

var

- variables to read in (subdirectories need to be named as variables)

SurveyName

- name of survey

DirNameFile

excel file - contains paths and locations of files

database

is an optional argument for format of the .csv files to. Default is database (1). Spreadsheet =0

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

temp<-read_EV_exports(variables[1], SurveyName, DirNameFile,database=1,exportloc=1)
#> Error in eval(expr, envir, enclos): object 'DirNameFile' not found