Closed cekv closed 2 years ago
proposed change:
hh$HaulID <- with(hh, paste(Year, Quarter, Ship, Country, StNo, HaulNo, sep="."))
hl$HaulID <- with(hl, paste(Year, Quarter, Ship, Country, StNo, HaulNo, sep="."))
key <- c("Year", "Quarter", "Ship", "StNo", "HaulNo", "HaulID")
This line needed "Country" added as well: key <- c("Year", "Quarter", "Ship", "Country", "StNo", "HaulNo", "HaulID")
DATRAS package published to CRAN with the fix
There is an issue with countries sharing ships in NS-IBTS and BITS (SE and DK) which means that the key is identical for some rows. I think this can be circumvented by adding country to that key?!
Jobs required: