This function creates a status table for the short-form summary report.

create_indicator_table(
  data,
  dir,
  type,
  img_w = 4.5,
  img_h = 2.5,
  colnames = c("Indicator", "2024 Status", "Trend")
)

Arguments

data

The template .csv

dir

The directory where images referenced in the .csv are saved

type

The type of template. One of c("Ecosystem", "Socioeconomic")

img_w

The width of the time series plot (inches)

img_h

The height of the time series plot (inches)

colnames

The column names for the table. Defaults to c("Indicator", "2024 Status", "Trend").