rfna

knitr::opts_chunk$set(
  comment = "#>",
  collapse = TRUE
)

Build Status Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.

This set of functions scrapes web content, and allows searches of the content, on the eFloras website, including Flora of North America, etc.

The website: http://www.efloras.org

Installation

Install rfna

remotes::install_github("sckott/rfna")
library('rfna')

Usage

Get families

res <- get_families("fna")
res$names[1:10]

Get genera

res <- get_genera(from='fna', family='Asteraceae')
res$names[1:10]

Parse a page

pg1<-'http://www.efloras.org/browse.aspx?flora_id=1&start_taxon_id=10074&page=1'
head(parse_page(pg1))

Get state (paleate or epaleate) of receptacle.

url <- 'http://www.efloras.org/florataxon.aspx?flora_id=1&taxon_id=102552'
receptacle(url)

Meta



ropensci/floras documentation built on Sept. 22, 2020, 3:43 p.m.