Produces summary tables for NAFO stock summary sheets

nafo_summary_table(comments = rep(NA, 5), status = rep(NA, 5), parse = FALSE)

Arguments

comments

A vector of length 5 elaborating on the status the status of each 'Convention General Principle'

status

A vector of length 5 decribing the status of each 'Convention General Principle'. Must be one of: 'OK', 'Intermediate','Not accomplished', 'Unknown'

parse

Parse comments with markdown like syntax (experimental!)

Examples


nafo_summary_table(status = c("Not accomplished", "OK", "OK", "Intermediate", "Unknown"),
                   comments = c("Probability of *B~2019~* < *B~MSY~* = 97%",
                                "*F* < *F~MSY~*",
                                "Reference points defined",
                                "VME closures in effect, no specific measures",
                                "Cannot be evaluated"),
                   parse = TRUE)
#> Warning: Use `colformat_*()` instead.
#> Error in rbindlist(dat, use.names = TRUE, idcol = ".part"): Item 2 has 22 columns, inconsistent with item 1 which has 21 columns. To fill missing columns use fill=TRUE.