R: Lookup in the APGIII taxonomy and replace family names

apg_lookup {taxize} | R Documentation

## Lookup in the APGIII taxonomy and replace family names

### Description

Lookup in the APGIII taxonomy and replace family names

### Usage

    apg_lookup(taxa, rank = "family")

### Arguments

`taxa` | (character) Taxonomic name to lookup a synonym for in APGIII taxonomy.
`rank` | (character) Taxonomic rank to lookup a synonym for. One of family or order.

### Details

Internally in this function, we use the datasets `apg_families` and `apg_orders` - see their descriptions for the data in them. The functions `apgOrders` `apgFamilies` are for scraping current content from the http://www.mobot.org/MOBOT/research/APweb/ website.

BEWARE: The datasets used in this function are (I think) from Version 12 of the data on http://www.mobot.org/MOBOT/research/APweb/ - I'll update data asap.

### Value

A APGIII family or order name, or the original name if no match.

### Examples

    # New name found
    apg_lookup(taxa = "Hyacinthaceae", rank = "family")
    apg_lookup(taxa = "Poaceae", rank = "family")

    # Name not found
    apg_lookup(taxa = "Asteraceae", rank = "family")

[Package taxize version 0.9.0 Index]