Skip to contents

Reads variables from multiple EV files. The columns from the first variable are completely kep. The requested columns (CompCols) from the rest of the variables are appended onto the end of the dataframe. Usually for exports from multiple EV files. Reads in multiple variables exported from each EV file. Example columns are Sv_mean and PRC_NASC.

Usage

read_EV_exports_compile(
  variables,
  CompCols,
  SurveyName,
  DirNameFile,
  database = 1,
  exportloc = 1,
  ...
)

Arguments

variables

- 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 input. 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

ComCols

- the columns to be kept from the non-primary variable and appended to the end of the data.