Learn R Programming

bold (version 0.1.0)

bold-package: bold: A programmatic interface to the Barcode of Life data.

Description

bold: A programmatic interface to the Barcode of Life data.

Arguments

About

This package gives you access to data from BOLD System http://www.boldsystems.org/ via their API.

Functions

There are currently four functions.

  • bold_specimens - Search for specimen data.
  • bold_seq - Search for and retrieve sequences.
  • bold_seqspec - Get sequence and specimen data together.
  • bold_trace - Get trace files.

Interestingly, they provide xml and tsv format data for the specimen data, while they provide fasta data format for the sequence data. So for the specimen data you can get back raw XML, or a data frame parsed from the tsv data, while for sequence data you get back a list (b/c sequences are quite long and would make a data frame unwieldy).