get_groups: Collection of similar functions which get specific
columns from the Atlantis functionalGroups.csv
Description
This collection of functions uses the dataframe of functional
groups created with load_fgs and creates various
character strings of group names or acronym names.
Usage
get_groups(fgs)
get_age_groups(fgs)
get_acronyms(fgs)
get_age_acronyms(fgs)
get_nonage_acronyms(fgs)
get_fish_acronyms(fgs)
Arguments
fgs
Character string giving the connection to the functional groups file.
The filename usually contains Groups and does end in .csv.
Value
Character string.
Details
Currently, the following character strings can be created
- get_groups: Extract column "Name"
- get_age_groups: Extract column "Name". Selects groups with 10 ageclasses.
- get_acronym: Extract column "Code"
- get_age_acronym: Extract column "Code". Selects groups with 10 ageclasses.
- get_nonage_acronym: Extracts columns "Code". Only groups with ageclasses different from 10 are selected.
- get_fish_acronyms: Extract column "Code". Only groups with InvertType equal to "FISH" or "SHARK" are selected.