Tables can be automatically created from the table_spreadsheet.csv and the .csv files in the tables folder. Additionally, the AKesp package can also create some tables that require data analysis.

Traffic light scores

A traffic light table can be automatically created from a spreadsheet that has a column for year and a column for each indicator.

dat <- AKesp::get_esp_data("Alaska Sablefish")

AKesp::esp_traffic_tab(
  data = dat,
  year = 2020
)

Multiple years can be shown.

AKesp::esp_traffic_tab(
  data = dat,
  year = 2016:2020
)