extract_table: Download MalAvi Tables

Description Usage Arguments Details Value Author(s) References Examples

View source: R/extract_table2.r

Description

This function downloads the nine available MalAvi data tables.

Usage

1
extract_table(table = "Hosts and Sites Table")

Arguments

table

One of nine table names in quotes or "all" (see details). Defaults to "Hosts and Sites Table".

Details

The nine MalAvi tables are:

Alternatively, "all" will download all of the tables into a single list.

Value

Each table will be in the form of an object of class data.frame; however "all" will result in a list with each table as an element.

Author(s)

Vincenzo A. Ellis vincenzoaellis@gmail.com

References

Bensch S, Hellgren O, and Perez-Tris J. 2009. MalAvi: a public database of malaria parasites and related haemosporidians in avian hosts based on mitochondrial cytochrome b lineages. Molecular Ecology Resources 9: 1353-1358. http://mbio-serv2.mbioekol.lu.se/Malavi/

Examples

1
2
3
## download the "Table of References"
refs <- extract_table("Table of References")
head(refs) # take a look

vincenzoaellis/malaviR documentation built on Oct. 10, 2019, 10:55 p.m.