Return the ECOS page for a given species as an xml2 objects

get_species_page(url, verbose = FALSE)

Arguments

url
The url for a species' ECOS profile
verbose
Whether message that the page is being fetched [default = FALSE]

Value

A page returned by rvest::read_html

Details

There are several try statements because of the persnickettiness of #' ECOS. Most errors should caught by get_species_url.

Note

Unlike most other functions in ecosscraper, verbose is FALSE by default. This function is mostly a helper and other "primary" functions are verbose by default.

Examples

## Not run: ------------------------------------ # page <- get_species_url("Abies guatemalensis") %>% get_species_page() ## ---------------------------------------------