Return a species' TSN from its ECOS page
get_species_tsn(url)
FWS uses at least four different keys for species, including the TSN that is defined by ITIS (http://itis.gov). The TSN is used for some JSON data queries; this function simplifies extraction.
## Not run: ------------------------------------ # url <- "https://ecos.fws.gov/ecp0/profile/speciesProfile?spcode=A001" # get_species_tsn(url) ## ---------------------------------------------