Filter TECP_table to return only domestic ESA-listed species

filter_domestic(df)

Arguments

df
A data.frame derived from get_TECP_links
patterns
A list of additional patterns to be filtered out

Value

A data.frame containing only domestic species

Details

Expects a data.frame from get_TECP_table. The df may have already passed through another filter (e.g., filter_listed), but must contain the variable U_S__or_ForeignListed.