Closed NancyRoberson closed 1 month ago
Hi Jim,
Please take a look at the files in this folder https://drive.google.com/drive/folders/1IOWwc_B69-rmhgs9Gy5h-2-6fs8adbkE?usp=drive_link. I have created 4 files here.
Ianelli_Feb2024_pollock_specimen.csv: This is the main data output file Ianelli_Feb2024_pollock_specimen_SQL: This is the SQL query used to generate the csv file from RACEBASE Ianelli_Feb2024_pollock_specimen.R: This is the SQL query imbedded in an R script Ianelli_Feb2024_pollock_specimen_GAP_PRODUCTS: This is the SQL query that generates a similar csv file using GAP_PRODUCTS tables
The SQL script that queries RACEBASE tables generates a csv file in exactly the format you requested. The query of the GAP_PRODUCTS tables has slightly different field names, and a few fields (e.g., audit columns) do not exist in the GAP_PRODUCTS tables, so the format of the csv will be a little different, but it will include the same data.
Please let me know if the information in the csv file matches your expectations.
Duane
On Wed, Feb 21, 2024 at 9:40 AM Nancy Roberson @.***> wrote:
Assigned #84 https://github.com/afsc-gap-products/data-requests/issues/84 to @Duane-Stevenson-NOAA https://github.com/Duane-Stevenson-NOAA.
— Reply to this email directly, view it on GitHub https://github.com/afsc-gap-products/data-requests/issues/84#event-11879936535, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANKDWAVDY3RLS7HFRFLYAKLYUYWRHAVCNFSM6AAAAABDTPKBJCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRHA3TSOJTGY2TGNI . You are receiving this because you were assigned.Message ID: @.*** com>
-- Duane Stevenson, Ph.D. Supervisory Fish Biologist Groundfish Assessment Program NMFS, Alaska Fisheries Science Center
Hi Jim, did you get the records you needed? If so, I will close this issue
Data product requested: EBS and NBS pollock specimen and haul data for all years CRUISEJOIN, HAULJOIN, REGION, VESSEL, CRUISE, HAUL, SPECIMENID, BIOSTRATUM, SPECIES_CODE, LENGTH, SEX, WEIGHT, AGE, MATURITY, MATURITY_TABLE, GONAD_WT, AUDITJOIN.x, SPECIMEN_SUBSAMPLE_METHOD, SPECIMEN_SAMPLE_TYPE, AGE_DETERMINATION_METHOD, HAUL_TYPE, PERFORMANCE, START_TIME, DURATION, DISTANCE_FISHED, NET_WIDTH, NET_MEASURED, NET_HEIGHT, STRATUM, START_LATITUDE, END_LATITUDE, START_LONGITUDE, END_LONGITUDE, STATIONID, GEAR_DEPTH, BOTTOM_DEPTH, BOTTOM_TYPE, SURFACE_TEMPERATURE, GEAR_TEMPERATURE, WIRE_LENGTH, GEAR,ACCESSORIES, SUBSAMPLE, ABUNDANCE_HAUL, AUDITJOIN.y, YEAR
Output type: csv and the script to produce it
Species: pollock 21740
Region : EBS and NBS all years
Research team making the request:jim.ianelli@noaa.gov