Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AmountByGroup function #10

Open
erosquesada opened this issue Oct 18, 2023 · 0 comments
Open

AmountByGroup function #10

erosquesada opened this issue Oct 18, 2023 · 0 comments

Comments

@erosquesada
Copy link

erosquesada commented Oct 18, 2023

output from WGRDBES-EST 2023.

This functions requires the user to specify a variable of interest and produce a barplot.
The function allows to treat landing, effort and sampling data.
The user can addionally add one or more grouping variable.
Parameters of the functions:

RDBESobj = RDBESobject to be explored.
var = Variable of interest (to be plotted).
by = One (or more) factor(s) to split the data.
year = year(s) to filter the data.
output_type: one of (table | plot).

The output of the function depends on the user selection. We see three main group of outputs depending on the nature of the data to be visualized.

  • Effort: if the user chooses effort related columns, the function can represent hours, days at sea, power (kW), number of trips, etc… . Possible splitting variables are in this case: area, metier, vessel length, quarter.

  • Landing: if the user chooses landing related columns, the function can represent weight and value.
    Possible splitting variables are in this case: area, metier, vessel length, species (group of species?), catch category (LAN, REGDIS, BMS), landing country.

  • Sampling: if the user chooses sampling data, the function can represent

    i. n trips
    ii. n samples
    iii. n auction days
    iv. n species sampled
    v. n individuals sampled

Possible splitting variables are in this case: Species, Area[ICES Division, ICES Sd., ICES Rect], Time [Year, Semester, Quarter, Month].

@erosquesada erosquesada changed the title AmountByGroup function 01_AmountByGroup function Oct 18, 2023
@erosquesada erosquesada changed the title 01_AmountByGroup function AmountByGroup function Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant