From 1fe30e1094d29e3260500bc0be9c2029a5896f40 Mon Sep 17 00:00:00 2001 From: rebeccathomas-NOAA <79660143+rebeccathomas-NOAA@users.noreply.github.com> Date: Mon, 24 Oct 2022 11:47:07 -0700 Subject: [PATCH] fixed error in database loop --- R/read_EV_exports.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/read_EV_exports.R b/R/read_EV_exports.R index 09c9204..dce2529 100644 --- a/R/read_EV_exports.R +++ b/R/read_EV_exports.R @@ -36,7 +36,7 @@ else {print("export location needs to be 0 or 1")} setwd(CONV_exportbase) # for spreadsheet format -if (!database==0){ #if database does not equal 1; that is, spreadsheet +if (!database==1){ #if database does not equal 1; that is, spreadsheet NASC.list.to.combine <-list.files(file.path(CONV_exportbase), pattern = "*.csv") #be sure to verify correct number of files loaded CONV_10m_combine <- NASC.list.to.combine %>% purrr::map_df(~read_csv_addflnm(.)) }