download_epbc: Downloads the EPBC Lists of Species

View source: R/get_epbc_birds.R

download_epbcR Documentation

Downloads the EPBC Lists of Species

Description

Converts the lists shown at https://www.environment.gov.au/cgi-bin/sprat/public/publicthreatenedlist.pl to a table.

Usage

download_epbc()

Arguments

destfile

The file to save the epbc lists to.

Details

Requires the packages rvest and xml2. Worked on March 23, 2021.

Value

A data frame of the listed species with columns for Scientific Name, Common Name, Fauna Type, Conservation Status, and a few others columns present on the website. The cell values have been processed as little as possible. So, for example, a 'Common Name' for Pseudocheirus occidentalis is Western Ringtail Possum, Ngwayir, Womp, Woder, Ngoor, Ngoolangit.

Examples

constatuses <- download_epbc()
destfile = paste0("./private/data/raw/EPBClist_", Sys.Date(), ".tsv")
write.table(constatuses, destfile, sep = "\t")

sustainablefarms/sflddata documentation built on April 19, 2022, 11:19 a.m.