Replies: 1 comment 1 reply
-
Having said all of this. When we ran |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
aggregate_area
function gets passed auserAreas
data frame which is used to proportion species landings and values attributed to statistical areas that straddle EPU definitions. This proportioning was based on the mskeyrun project.The bundled
comlandr::mskeyAreas
data frame is the list of statistical AREAS and which EPUs they map to. This also contains the NESPP3 code and the proportion of the landings that should be attributed to each EPU. This object does ONLY contains statistical AREAS that straddle EPUs. Therefore when this is joined to the data all other Statistical Areas get assigned the EPU: "Other"We should not use this object until we have fixed this.
Alternatively another data object (
epuAreas
) used to define EPUs by statistical AREAs is:This also seems to have a flaw (when applyPropLand = T) in that the join by AREA and NESPP3 only assigns EPU to species with NESPP3 code = 1. The total landings will be correct for all of the species but they'll be assigned to EPU: "Other"
Looking into this
Beta Was this translation helpful? Give feedback.
All reactions