README.md

reflora R package

Download specimen images from the Reflora program.

Description

This R package contains tools to download images from Brazil's Reflora Program (http://inct.florabrasil.net/reflora/ and http://www.splink.org.br).

Installation

install.packages(devtools)
devtools::install_github("gustavobio/reflora")

Usage

The main function is get_images, which will download all available images for a given combination of three arguments:

reflora

Example queries:

get_images("Miconia albicans")
get_images("Miconia albicans", institution_code = "UNICAMP")
get_images(family = "Melastomataceae", institution_code = "UNICAMP")
get_images("UEC175546")
get_images(family = "Rubiaceae")

screenshot1

Institution codes can be found at http://www.splink.org.br. Each call above will create a folder in the current working directory named as the combination of search queries. All images will be downloaded and stored in these folders. Use setwd() to change the root path where the folders will be created.

screenshot2



gustavobio/reflora documentation built on May 8, 2019, 11:01 p.m.