metacoder (version 0.1.3)

bryophytes_ex_data: Example dataset of bryophytes

Description

A dataset containing information from 171 bryophytes family names scraped from http://www.theplantlist.org/1.1/browse/B/:

Usage

bryophytes_ex_data

Arguments

Format

An object of type taxmap

Examples

Run this code
# NOT RUN {
library(XML)
taxon_names <- XML::htmlTreeParse("http://www.theplantlist.org/1.1/browse/B/") %>% 
xmlRoot() %>%
  getNodeSet("//ul[@id='nametree']/li/a/i") %>%
  sapply(xmlValue)
  
bryophytes_ex_data <- extract_taxonomy(taxon_names, key = "name", database = "itis")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab