If the function is used without arguments returns the list of habitats used in TAXREF.
rt_habitats(habitat_id = NULL)1 = Marine
2 = Freshwater
3 = Terrestrial
4 = Marine and freshwater
5 = Marine and Terrestrial
6 = Brackish water
7 = Continental (terrestrial and/or freshwater)
8 = Continental (terrestrial and freshwater)
if (FALSE) rt_habitats(habitat_id = 8) # \dontrun{}