Skip to content

Commit

Permalink
modified where species_codes are pulled for production
Browse files Browse the repository at this point in the history
  • Loading branch information
zoyafuso-NOAA committed Mar 8, 2024
1 parent 9f0d1f6 commit 49c8142
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/get_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@ get_data <- function(year_set = c(1996, 1999),
yes = paste("(SELECT DISTINCT SPECIES_CODE
FROM RACEBASE.CATCH",
"WHERE CRUISEJOIN IN",
cruisejoin_vec, ")"),
cruisejoin_vec,
"AND SPECIES_CODE IN (SELECT SPECIES_CODE FROM GAP_PRODUCTS.TAXON_GROUPS WHERE GROUP_CODE IS NOT NULL)",")"),
no = spp_codes_vec)))

## Merge the taxonomic classification from RACEBASE.SPECIES_CLASSIFICATION
Expand Down

0 comments on commit 49c8142

Please sign in to comment.