Skip to content

Download specimen images from the Reflora program.

Notifications You must be signed in to change notification settings

gustavobio/reflora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • any, which searches for the provided query in all fields
  • family, which searches for images of a given family
  • institution_code, which searches for images from a given institution.

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

About

Download specimen images from the Reflora program.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages