Skip to content

Commit

Permalink
adding WM data pull script to run on demand in trigger analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
heather-foley-noaa committed Jan 22, 2024
1 parent b07203b commit 07b3876
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion scripts/global_libraries.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ library(stringi)
library(DBI)
library(sqldf)
library(shinymanager)
library(kableExtra)
#library(ssh)
#library(kableExtra)
require(ROracle)
#library(ROracle)
# require(shiny)
Expand Down
4 changes: 2 additions & 2 deletions scripts/trigger_server.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ if (file.exists('./scripts/oracleaccess.R') == TRUE) {


## VISUAL SIGHTINGS ----


if (input$sig_acou == 'Visual Sightings') {
#source('./scripts/Whalemap_datapull.R', local = TRUE)$value

datesql <-
paste0(
"select mammals.saswmjoin2.ID, SIGHTDATE,GROUPSIZE,LAT,LON,SPECIES_CERT,MOMCALF,FEEDING,DEAD,SAG,ENTANGLED,CATEGORY,mammals.action.action,OBSERVER_PEOPLE,OBSERVER_PLATFORM,OBSERVER_ORG,REPORTER_PEOPLE,REPORTER_PLATFORM,REPORTER_ORG,WHALEALERT,OBSERVER_COMMENTS
Expand Down

0 comments on commit 07b3876

Please sign in to comment.