|
| 1 | +# This script is used to pull commercial data for the 2026 data update stocks. |
| 2 | +# It uses the 'get_commercial_data' function from the R/get_commercial_data.R script. |
| 3 | +# Need to run on network drive to source the 'connect_socioeco_oracle' script. |
| 4 | + |
| 5 | +NEesp2::get_commercial_data( |
| 6 | + ora_id = "user", |
| 7 | + oraprod_pw = "password", |
| 8 | + START.YEAR = 1996, |
| 9 | + END.YEAR = 2025, |
| 10 | + deflate_yr = 2025, |
| 11 | + spp_name = "LONGFINSQUID", |
| 12 | + nespp3_codes = "('801')" |
| 13 | +) |
| 14 | + |
| 15 | +NEesp2::get_commercial_data( |
| 16 | + ora_id = "user", |
| 17 | + oraprod_pw = "password", |
| 18 | + START.YEAR = 1996, |
| 19 | + END.YEAR = 2025, |
| 20 | + deflate_yr = 2025, |
| 21 | + spp_name = "ATLANTICHALIBUT", |
| 22 | + nespp3_codes = "('159')" |
| 23 | +) |
| 24 | + |
| 25 | +NEesp2::get_commercial_data( |
| 26 | + ora_id = "user", |
| 27 | + oraprod_pw = "password", |
| 28 | + START.YEAR = 1996, |
| 29 | + END.YEAR = 2025, |
| 30 | + deflate_yr = 2025, |
| 31 | + spp_name = "ATLANTICPOLLOCK", |
| 32 | + nespp3_codes = "('269')" |
| 33 | +) |
| 34 | + |
| 35 | +NEesp2::get_commercial_data( |
| 36 | + ora_id = "user", |
| 37 | + oraprod_pw = "password", |
| 38 | + START.YEAR = 1996, |
| 39 | + END.YEAR = 2025, |
| 40 | + deflate_yr = 2025, |
| 41 | + spp_name = "ATLANTICREDHAKE", |
| 42 | + nespp3_codes = "('152')" |
| 43 | +) |
| 44 | + |
| 45 | +NEesp2::get_commercial_data( |
| 46 | + ora_id = "user", |
| 47 | + oraprod_pw = "password", |
| 48 | + START.YEAR = 1996, |
| 49 | + END.YEAR = 2025, |
| 50 | + deflate_yr = 2025, |
| 51 | + spp_name = "SILVERHAKE", |
| 52 | + nespp3_codes = "('509')" |
| 53 | +) |
| 54 | + |
| 55 | +NEesp2::get_commercial_data( |
| 56 | + ora_id = "user", |
| 57 | + oraprod_pw = "password", |
| 58 | + START.YEAR = 1996, |
| 59 | + END.YEAR = 2025, |
| 60 | + deflate_yr = 2025, |
| 61 | + spp_name = "WITCHFLOUNDER", |
| 62 | + nespp3_codes = "('122')" |
| 63 | +) |
| 64 | + |
0 commit comments