Description Usage Arguments Details Note
Note the trailing underscore, to separate from get_species_page_summary
1 | get_species_page_summary_(url, species, pause = TRUE)
|
url |
The url of the species page |
species |
The scientific name of the species |
pause |
Pause for 0.5-3s during scraping [default = TRUE] |
By default, get_species_page_summary
will fetch the species' ECOS page
given the URL, but there may be times when the page has already been fetched.
In those cases, the page can be specified to save time.
Apparently, FWS does not serve the same version of a species' page up
twice in a row. Instead, the same information will be presented in different
orders. We have to use strsplit
along with str_trim to
get clean lines, then sort before doing the MD5 hash.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.