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.
make_con_status(
df,
taxa_col = "taxa",
status_col = "epbc",
statuses = c("ssp", "VU", "EN", "sp", "CR", "EX", "CD", "V", "E", "SP")
)
Dataframe with taxa_col
and status_col
.
Character. Name of column with taxa.
Character. Name of column with conservation status.
Character. Possible status codes to concatenate.
Dataframe with unique taxa and their conservation status.