Description Usage Arguments Value Note See Also Examples
Return a data.frame with links (and anchor text) from a species' ECOS page.
1 | get_species_links(url, clean = TRUE, pause = TRUE, verbose = TRUE)
|
url |
The URL of a species' page on ECOS or path to the HTML file |
clean |
Remove useless links (e.g., www.usa.gov) [default = TRUE] |
pause |
0.5-3 second pause to be nice to the server [default = TRUE] |
verbose |
Message the species being processed [default = TRUE] |
A data.frame with variables:
The species' scientific name, as given by ECOS
The link as given on the ECOS page, if available
The link, in absolute form, if available
The anchor text of the <a> tag, if available
Either url
or page
must be specified.
remove_silly_links get_bulk_species_links
1 2 3 4 5 | ## Not run:
res <- get_species_url("Gila purpurea") %>% get_species_links()
head(res)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.