Skip to content

Commit

Permalink
added or WM_PLATFORM is null to intgrated NEFSC sightings for trigger…
Browse files Browse the repository at this point in the history
… analysis
  • Loading branch information
heather-foley-noaa committed Mar 18, 2024
1 parent 7a48632 commit c681ff1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/trigger_server.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if (file.exists('./scripts/oracleaccess.R') == TRUE) {

dmaevaldate <- input$sasdate
print(dmaevaldate)
#for testing dmaevaldate <- '2024-01-23'
#for testing dmaevaldate <- '2024-03-13'


## VISUAL SIGHTINGS ----
Expand All @@ -52,11 +52,11 @@ if (file.exists('./scripts/oracleaccess.R') == TRUE) {
dmaevaldate,
"','YYYY-MM-DD')
and mammals.saswmjoin.action = mammals.action.ID
and WM_PLATFORM <> 'buoy' and WM_PLATFORM <> 'slocum'
and (WM_PLATFORM not like 'buoy' and WM_PLATFORM not like 'slocum' or WM_PLATFORM is null)
and SPECIES_CERT = 3
order by ID" , sep =""
)
#test to remove this to help get NEFSC sightings back in query 'and WM_PLATFORM <> 'buoy' and WM_PLATFORM <> 'slocum''
#dailyeg <- sqlQuery(cnxn, datesql)
dailyeg_q <- dbSendQuery(cnxn, datesql)
dailyeg<-fetch(dailyeg_q) #HJF sqlQuery replace 13/14 20230626
Expand Down

0 comments on commit c681ff1

Please sign in to comment.