
Fleet and Stock-Fleet Reference Tables
fleet-tables.RdFleetTable() retrieves all Operating Models via LoadOM(), extracts stock
and fleet names, and returns a tidy data frame joining fleet codes to their
full names via FleetCodesTable. StockFleetTable() summarises this by
collapsing stocks into a single comma-separated string per fleet.
Value
FleetTable(): a data frame with one row per stock-fleet combination and columns:Stock: stock name derived from the first stock slot of each OM.Code: short fleet code (e.g."cHL","rHB").Fleet: full fleet name looked up fromFleetCodesTable.
StockFleetTable(): a data frame with one row per fleet and columns:Fleet: full fleet name.Stock: comma-separated string of all stocks associated with that fleet.