ridigbio is an R package to access iDigBio (Integrated Digitized Biocollections).
Installation
ridigbio is avaliable via CRAN.
install.packages("ridigbio")
Error Messages
If R says the package is unavailable, you may not have set a CRAN mirror. You can do so with:
If R says that a binary package is not available, your version of R may be too old. Please review the versions of R that CRAN has built packages for on the CRAN ridigbio package page.
You can download the source package and install manually if there is no package built for your version of R. You may also need to install any dependencies.
install.packages("ridigbio", type="source")
On Linux, you may encounter an error during the installation process if you do not have libcurl
installed. The method for installing libcurl will vary between distributions, but on Ubuntu you can install the latest version via:
sudo apt install libcurl4
Getting Started
There are several articles that can help get you started:
- Introduction to ridigbio
- Record API Demo
- Media API Demo
- Fields in ridigibio
- Tissue Samples Locator Demo
- Identification of Modified Data
- Identification of Suspicious Coordinates
- Identification of Data Flags
Most iDigBio users are interested in downloading occurrence records:
library("ridigbio")
idig_search_records(rq=list(genus="galax"))
idig_search_records(rq=list(family="diapensiaceae"), limit=1000)
Meta
- Please report any bugs or issues.
- License: MIT