Skip to contents

Useful for assigning a 'threatened' status to a binomial where different statuses apply at trinomial level. The resulting 'status' is simply the concatenated values from lower levels of the taxonomic hierarchy.

Usage

make_con_status(
  df,
  taxa_col = "taxa",
  status_col = "epbc",
  statuses = c("ssp", "VU", "EN", "sp", "CR", "EX", "CD", "V", "E", "SP")
)

Arguments

df

Dataframe with taxa_col and status_col.

taxa_col

Character. Name of column with taxa.

status_col

Character. Name of column with conservation status.

statuses

Character. Possible status codes to concatenate.

Value

Dataframe with unique taxa and their conservation status.